![]() |
301 redirect on Wordpress Hi, I've had a Wordpress blog in subdirectory /blog/ for some time but now want to move it into the root directory. I've worked out how to use 301 if I were moving it to an entirely different domain, but simply moving back a level on the same domain is defeating me. Can anyone suggest how? I should say that there are around 100 posts so I don't want to have to set up individual redirects for each one. Thanks, - David - |
Re: 301 redirect on Wordpress Not entirely sure, but I think an .htaccess rule would take care of this problem just fine. |
Re: 301 redirect on Wordpress Just remember in your .htaccess file that you need to include the FULL url in your redirect, even if it is the same domain. As I don't have enough posts to be able to submit links here I'm not allowed to post anything that looks like a link, but basically it is: Redirect 301 /blog <your full domain url> |
Re: 301 redirect on Wordpress Hey David, I did this exact thing with one of my blogs. You can use this plugin to redirect your visitors: WordPress › Dean's Permalinks Migration « WordPress Plugins You just input your old permalinks structure in the settings. For me it was: Code: /blog/%year%/%monthnum%/%postname%/good luck :) -jason |
Re: 301 redirect on Wordpress Quote:
Cheers! |
Re: 301 redirect on Wordpress Many thanks for the help on this. I've been away for a fewa days but will now try the solution suggested. Thanks again. |
Re: 301 redirect on Wordpress there is plugin in wordpress called Simple 301 Redirects you can use it and redirect your all post wherever you want |
| All times are GMT -6. The time now is 03:15 PM. |