Hi guys,
I've searched through this forum and been to many sites from google regarding htaccess this morning and can't seem to get this right.
Am trying to setup a 301 .htaccess redirect from the standard index.html file to my /acatalog/index.html file.
So far I have created a file entitled ".htaccess", placed this in my "web" directory on my hosting server (names.co).
In the file I have:
"Redirect 301 index.html http://www.bathsource.co.uk/acatalog/index.html"
and nothing else.
I have also removed all content from my index.html page to see if this was the issue (I have no idea why but have got it backed up).
It is not redirecting still and I can't seem to work out what I am doing wrong - is the path I have provided for my index.html file incorrect somehow???
Sorry to bring up a topic that seems to be extensively covered on this forum already but I can't seem to get it to work still and don't want to go down the whole meta redirect route really!
Would appreciate any pointers in the right direction!
Greg.
I've searched through this forum and been to many sites from google regarding htaccess this morning and can't seem to get this right.
Am trying to setup a 301 .htaccess redirect from the standard index.html file to my /acatalog/index.html file.
So far I have created a file entitled ".htaccess", placed this in my "web" directory on my hosting server (names.co).
In the file I have:
"Redirect 301 index.html http://www.bathsource.co.uk/acatalog/index.html"
and nothing else.
I have also removed all content from my index.html page to see if this was the issue (I have no idea why but have got it backed up).
It is not redirecting still and I can't seem to work out what I am doing wrong - is the path I have provided for my index.html file incorrect somehow???
Sorry to bring up a topic that seems to be extensively covered on this forum already but I can't seem to get it to work still and don't want to go down the whole meta redirect route really!
Would appreciate any pointers in the right direction!
Greg.
Comment