![]() |
htaccess gurus... please help me
Hi guys,
Today I changed my pages with the extension. shtm to. html Old page - http://www.rogerlinks.com/Hot-and-ve...ce-34408.shtml New page - http://www.rogerlinks.com/Hot-and-ve...ace-34408.html This certainly affects my SERP ranking in the short term. :Oh crap My question is: Is there any code to put in the htaccess file that redirect all extensions. shtml to. html? |
RewriteEngine on
RewriteBase / RewriteRule (.*).shtml$ /$1.html |
someone double check what i wrote above i havent gotten any sleep lolol
|
Thanks a lot... your answer helped me find on google with some modifications.
RewriteEngine On RewriteBase / RewriteRule ^(.*)\.shtml$ /$1.html [R=301,L] Without this final part of the content is duplicated... |
All times are GMT -7. The time now is 01:23 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123