vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

what to do with old urls?

This is a discussion on what to do with old urls? within the General Discussion forums, part of the vBSEO SEO Plugin category; vBSEO is up and running on my forums. Now I'm just waiting for spiders to grab my urls. I'm going ...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > General Discussion

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-02-2005, 10:13 PM
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Join Date: Jul 2005
Location: Colorado
Posts: 212
what to do with old urls?

vBSEO is up and running on my forums. Now I'm just waiting for spiders to grab my urls. I'm going to grep out googlebot hits from my log files so I can see how effective the spidering is.

Now, what do I do with my old urls? I had set up some poorly written mod_rewritten urls that aren't nearly as clean as vBSEO. Basically, my forum urls looked like this: http://www.hotrodders.com/f21 . And, my thread urls looked like this: http://www.hotrodders.com/t12345.html .

I had gotten a lot of those pages indexed in SE's (thousands). I don't want to lose that traffic, and I don't want to get hit with a duplicate content penalty.

I know that I can do 301 redirects via mod_rewrite so that forum urls like this: http://www.hotrodders.com/f21 get 301'd to urls like this: http://www.hotrodders.com/forum/title-of-forum . But, it doesn't seem feasible to do 301's for thread urls like this: http://www.hotrodders.com/t12345.html to urls like this: http://www.hotrodders.com/forum/titl...ead-12345.html .

Should I keep both url schemes in place, and risk a duplicate content penalty? Or should I abandon the old scheme, and deal with 404's for all my old thread urls?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 08-03-2005, 03:25 AM
Juan Muriente's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Juan Carlos Muriente
Join Date: Jun 2005
Location: Puerto Rico
Posts: 12,721
Re: what to do with old urls?

Hi Jonathan,

Here is a .htaccess directive that you can add to 301 redirect your old static URLs to the new vBSEO CRUs:

Code:
RewriteRule ^t([0-9]+)\.html$ showthread.php?t=$1 [R=301]
This will ensure that your currently indexed (static) threads are redirected & 404s or duplicate content will not become an issue.

Juan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 08-03-2005, 04:10 AM
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Join Date: Jul 2005
Location: Colorado
Posts: 212
Re: what to do with old urls?

Thanks Juan -- I didn't even consider that. I can just 301 the static thread links back to showthread.php, and the vbseo system will pick them up from there. Extremely cool.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 08-03-2005, 04:40 AM
Juan Muriente's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Juan Carlos Muriente
Join Date: Jun 2005
Location: Puerto Rico
Posts: 12,721
Re: what to do with old urls?

Quote:
Originally Posted by Jonathan
Thanks Juan -- I didn't even consider that. I can just 301 the static thread links back to showthread.php, and the vbseo system will pick them up from there. Extremely cool.
Absolutely right! Forwarding any of your past statics to their equivalent dynamic URLs will allow vBSEO to take over and do the 301 redirecting to the new static formats.

FYI I forgot to list a .htaccess directive for your old forum statics. Here it is:

Code:
RewriteRule ^f([0-9]+)$ forumdisplay.php?f=$1 [R=301]
NOTE: Actually we are working on a new feature that will allow users to enter old static URL formats in the vBSEO Control Panel, and then have vBSEO do the redirecting automatically. Kind of a "hystoric url rewrite" feature

Juan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 08-03-2005, 07:25 PM
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Join Date: Jul 2005
Location: Colorado
Posts: 212
Re: what to do with old urls?

Historic url rewrites should be very useful to people.

Any idea how to handle multi-page forum or thread urls that I've previously rewritten?

For example, here's a url for page 726 of my "Engine" forum: http://hotrodders.com/f21-726.html . It's now pointing to page 1 of the Engine forum, rather than page 726. Here's the mod_rewrite line I'm using:

RewriteRule ^f([0-9]+)-([0-9]+)\.html$ /forum/forumdisplay.php?forumid=$1&pagenumber=$2 [R=301,L]

It's going through vbseo, and resolving to this url: http://hotrodders.com/forum/engine/?pagenumber=726


Is there a cleaner way to pass that $pagenumber variable?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #6  
Old 08-04-2005, 12:53 AM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,597
Re: what to do with old urls?

Hi Jonathan,

just use "page" instead of "pagenumber" to get it working correctly

RewriteRule ^f([0-9]+)-([0-9]+)\.html$ /forum/forumdisplay.php?forumid=$1&page=$2 [R=301,L]
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #7  
Old 08-04-2005, 04:57 PM
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Join Date: Jul 2005
Location: Colorado
Posts: 212
Re: what to do with old urls?

Perfect -- thanks Oleg. I think I was accustomed to using $pagenumber from vb2, and vb3 allows either $page or $pagenumber.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Sitemap generating a lot more urls poprulz Troubleshooting 13 02-28-2007 05:15 PM
Google Sitemaps: Abgelehnte URLs da falsche Position der generierten Sitemap-Dateien Hexemer Deutsch 12 08-16-2006 06:22 AM
Google Sitemap-Listing of old url's option-from 1.7 T2DMan Member Articles 0 04-02-2006 09:46 AM
Bug with Showpost URL Counts Keith Cohen Bug Reporting 10 12-13-2005 10:04 AM


All times are GMT -4. The time now is 11:10 PM.


Powered by vBulletin Version 3.8.0 Beta 4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.