24, July 2008

just to be sure about the 301 thing - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server  >  Apache web server
Topic: just to be sure about the 301 thing
« previous next »
Pages: [1] Print

Author Topic: just to be sure about the 301 thing  (Read 838 times)
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« on: Aug 18, 2006, 06:04:19 PM »

Hello,

just created a rule rewrite some URL's.

the old one (indexed in Google) was:
http://www.finalwebsites.com/links.php?cat_id=201 Visit through proxy

then I use this rule
RewriteRule ^link-partner[/]?$ links.php?cat_id=201 [L]

makes it possible that this URL Is working:
http://www.finalwebsites.com/link-partner/ Visit through proxy

is this OK for Google? because the old one is still active...(content duplication)


Last blog : 4th of July Lottery from TemplateMonster.com
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Aug 18, 2006, 06:28:14 PM »

just checked some examples and i think it must be something like this:

rewriteCond %{REQUEST_URI} ^/link-partner[/]?$
RewriteRule .* /links.php?cat_id=201 [R=301,L]


but this rule is redirecting to the old url Sad


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #2 on: Aug 21, 2006, 12:16:01 PM »

Chenge this :

RewriteRule ^link-partner[/]?$ links.php?cat_id=201 [L]

to this :

RewriteRule ^link-partner[/]?$ links.php?cat_id=201 [R=301,L]

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Aug 21, 2006, 01:38:13 PM »

I tried this already (and a lot of other comninations) I'm not sure what there is problem...


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #4 on: Aug 21, 2006, 01:43:04 PM »

You don't have to worrie, google will continue to index the old page for some time.

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #5 on: Aug 21, 2006, 01:47:16 PM »

You don't have to worrie, google will continue to index the old page for some time.
hehe I added this line too:
RedirectPermanent /links.php?cat_id=201 http://www.finalwebsites.com/links-partners Visit through proxy


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #6 on: Aug 21, 2006, 01:49:55 PM »

I think it's fine

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3729
Tags : google Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server  >  Apache web server
Topic: just to be sure about the 301 thing
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Jul 24, 2008, 11:27:21 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 35.717
Total Topics: 7.379
Total Members: 3.710
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: prolist

49 Guests, 3 Users online :

11 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.