Welcome, guest! Login
Close

Login to Your Account


  |  » Forgot your password?
Join

Notices

Thread: Mod Rewrite Question

 
Tools Search
  #1  
Old January 13th, 2004, 02:43 AM
ABW Ambassador
Join Date: January 17th, 2005
Location: West Virginia
Posts: 698
Just looking for opinions and this seems like the best place to post it. If not, let me know.

I have a site that has been up for awhile. Some of it has already been indexed but not all. Are there any concerns about duplicate content penalties or anything if I apply mod rewrite to it now to remove variables from my urls?

This may be a dumb question but, believe me, I am qualified to ask one of those

You can't depend on your eyes when your imagination is out of focus.
--Mark Twain
  #2  
Old January 13th, 2004, 11:00 AM
Full Member
Join Date: January 18th, 2005
Posts: 379
That's a good question since both versions of the page are visible.

You should probably do a 301 redirect.

You can do a 301 right in the htaccess like:
RewriteEngine on
RewriteRule ^page1\.html$ page2.html [R=301,L]

The "R=301" tells the server to return a 301 status code with the page. The "L" is optional but it tells the server that this is the last rule.

When your finished you can check the results by using a "HTTP Header Viewer" tool. Just search for one on Google.

<hr>
Leave the gun, take the cannolis.
  #3  
Old January 13th, 2004, 03:39 PM
ABW Ambassador
Join Date: January 17th, 2005
Location: West Virginia
Posts: 698
Thanks MrSpeed.

I was thinking of something similar anyway I just wanted to confirm my concerns. Thanks again!

I owe ya one for the tip. My approach was gonna be a little more complicated! Dolt!

You can't depend on your eyes when your imagination is out of focus.
--Mark Twain
Join ABW to remove this sponsored message.
Reply
 

Tools Search
Search:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

X

Welcome to ABestWeb.com

Create your username to jump into the discussion!

ABestWeb.com is the largest affiliate marketing community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?



Content Relevant URLs by vBSEO ©2011, Crawlability, Inc.