Hi guys,
I am trying to redirect html pages from an old section into my new wordpress page.
I have tried using the "redirections" plugin and that doesn't seem to work.
Also checked out a youtube tutorial about 301 redirections inside the htaccess file which I can't get working either.
Just wanted to ask, if my old URL is say
http://www.example.com/test/1.html
and I want to redirect it to
http://www.example.com/test
Would the correct redirection command in htaccess file be as follows:
Redirect 301 /test/1.html http://www.example.com/test
? I tried the above and it doesn't work. On top of that, because the new URL shares the same name as the old folder, the new wordpress URL is throwing up a 403 foribidden access error.
Finally, once I have set up a redirect in the htaccess file, can I delete the old pages? These pages have already been indexed in google so hoping the redirection can produce as little disruption as possible and would like to retain the linkjuice already present in the old html pages.
I am trying to redirect html pages from an old section into my new wordpress page.
I have tried using the "redirections" plugin and that doesn't seem to work.
Also checked out a youtube tutorial about 301 redirections inside the htaccess file which I can't get working either.
Just wanted to ask, if my old URL is say
http://www.example.com/test/1.html
and I want to redirect it to
http://www.example.com/test
Would the correct redirection command in htaccess file be as follows:
Redirect 301 /test/1.html http://www.example.com/test
? I tried the above and it doesn't work. On top of that, because the new URL shares the same name as the old folder, the new wordpress URL is throwing up a 403 foribidden access error.
Finally, once I have set up a redirect in the htaccess file, can I delete the old pages? These pages have already been indexed in google so hoping the redirection can produce as little disruption as possible and would like to retain the linkjuice already present in the old html pages.