Hi
the 301 is used to permanently redirect pages as well as to change the displayed url.
Regardless of the purpose, your home page will have a file name such as homepage.xxx. All you need do is save the page as homepage.php and enter the required php code inside the html code. If your hosts accepts php then its php server will interpret the php code and replace it with the html required after consulting with your database.
The redirect command will have the current filename for your homepage. Change this file as you like, save it as php and then change the 301 redirect.
Thanks. Now I just have to get to work.
Best
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Offline 76 posts
since Dec 2007