Web Hosting Reviews for Affiliate Marketers

Unlimited Shared hosting & Unlimited Disk Space from $5.95 - Dreamhost
Solid Managed VPS with 4 IP's from $60 - Liquid Web
Lightning Fast Dedicated Servers & 1GB RAM from $149 - Liquid Web
#1 Domain Registration with WHOIS Privacy - Just $9.95

This Dreamhost support thread was started by kuplo on 2009-12-03 18:37:39:

Post Reply? Hi, I’ve been told to use this php script (below) to do a simple redirect from my main directory on the server to a subdirectory so that people can get to my main site which is setup in a sub directory, however it doesn’t do anything in firefox or internet exploder any clues what’s wrong with it? I’ve put the code in a file named index.php in my main directory, and even chmod it to 775 just in case but no go. It’s rather like the server is serving this up as a simple text file because I can see the code in the browser’s “view page source” which I shouldn’t be able to. Any help appreciated. <?php // Change to the URL you want to redirect to $URL=”http://www.mydomain.com/main/”; header (”Location: $URL”); ?>

Join in on the original post at the Dreamhost Forum, Get a Dreamhost Plan or view our Review of Dreamhost.

Related Web Host Reviews


Close
E-mail It