Placing 301 redirect code
On my website I have an index.html page ('Home' on the side menu) and then, following the 'Products" button on the side menu, I have my sales.html page.
Now I want to remove the present index.html page altogether
and redirect the sales.html to act as the index.html.
I also need the sales.html page to remain as sales.html because of the menu link.
(So my present sales page will be both Home=index and Products=sales according to the side menu bar.)
How do I do this?
If I do the 301 redirect through .htaccess will that suffice to disable the present index.html page or is there some other step I need to take, like create a blank index.html page first?
I also have the code for doing the redirect alternatively with php but again don't know where to insert it.
It's the step by step process of putting the code in the right place that has me baffled.
Looking forward to expert advice....
-
SamirSM -
Thanks - 1 reply
SignatureTechnology and Blogging Tips{{ DiscussionBoard.errors[3179944].message }}-
marbar33 -
Thanks
{{ DiscussionBoard.errors[3190640].message }} -
-
-
imediazone Banned-
Thanks
{{ DiscussionBoard.errors[3190653].message }} -