![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Dec 2004
Posts: 757
|
![]() 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. ![]() My question is: Is there any code to put in the htaccess file that redirect all extensions. shtml to. html? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
|
RewriteEngine on
RewriteBase / RewriteRule (.*).shtml$ /$1.html |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
|
someone double check what i wrote above i havent gotten any sleep lolol
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Dec 2004
Posts: 757
|
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... |
![]() |
![]() ![]() ![]() ![]() ![]() |