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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-04-2011, 06:40 AM   #1
roganoli
Confirmed User
 
roganoli's Avatar
 
Join Date: Dec 2004
Posts: 757
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.

My question is:

Is there any code to put in the htaccess file that redirect all extensions. shtml to. html?
roganoli is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2011, 06:48 AM   #2
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
RewriteEngine on
RewriteBase /
RewriteRule (.*).shtml$ /$1.html
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2011, 06:49 AM   #3
Juicy D. Links
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
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2011, 07:02 AM   #4
roganoli
Confirmed User
 
roganoli's Avatar
 
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...
roganoli is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.