joined:May 1, 2005
I had a wordpress blog in a separate folder on my site. I decided to remove the blog - so the folder and everything in it is gone.
So I went to cpanel file manager and set up a .htacess file (yes I put the dot in)
I couldn't redirect the whole folder so tried to redirect a single page using this code
Redirect 301 /Foldername/WPPostName http://www.example.com/index.htm
Foldername is the name of the folder and WPPostname is the name of the individual post. It's on the first line of code and consists of just one line.
According to my even less than rudimentary understanding this should work. Can anyone suggest why it doesn't?
Oh just to add - the .htaccess is in the root folder (public_html) and the code editor says it's in utf-8