![]() |
Multiple page 301 redirect via htaccess?
Here's the deal: I've renamed all the pages on my site a total of three times now. First they were .html pages, then .php, now they are .shtml. I've put 301's in my htaccess file to redirect all the php versions to the new .shtml versions, BUT I'm still getting backlinks to the old .html versions of the pages.
I was wondering if there are any problems with having both the .html versions and .php versions redirecting to the .shtml versions. In other words, do I risk penalty by having my htaccess tell the SE's that 2 previous pages have been permanently moved to one new page? Anyone ever had to do this? Thanks, c-lo |
if they are all named "index" delete the others and leave the new one in the directory and you'll have no problem. Otherwise....
RedirectMatch 301 (.*)\.php$ http://www.example.com$1.shtml |
Awesome! I've been doing it the old way, page by page...this saves me a lot of time. Thanks a lot, man.
Also, I guess I won't get penalized for having 2 versions of the same page (ex. amateur.html and amateur.php) redirecting to amateur.shtml? Thanks again. |
how can you do this on a windows server?
|
Are you getting 2000 hits a day to the page from google?
If not... don't worry. |
All times are GMT -7. The time now is 03:29 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123