13, May 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 787 times)
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6236
38242 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 : Database Management with phpMyAdmin
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6236
38242 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 : Database Management with phpMyAdmin
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7824
39879 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
Promote your blog for free.... Visit through proxy

Last blog : Keep it Legal - Tims guide to legal notices
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6236
38242 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 : Database Management with phpMyAdmin
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7824
39879 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
Promote your blog for free.... Visit through proxy

Last blog : Keep it Legal - Tims guide to legal notices
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6236
38242 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 : Database Management with phpMyAdmin
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7824
39879 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
Promote your blog for free.... Visit through proxy

Last blog : Keep it Legal - Tims guide to legal notices
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?
May 13, 2008, 05:41:18 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: 34.931
Total Topics: 7.262
Total Members: 3.482
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: ondho

17 Guests, 2 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.