vBulletin Search Engine Optimization
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 ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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? |
|
#2
| ||||
| ||||
| 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] Juan |
|
#3
| |||
| |||
| 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.
|
|
#4
| ||||
| ||||
| Re: what to do with old urls? Quote:
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] Juan |
|
#5
| |||
| |||
| 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? |
|
#6
| ||||
| ||||
| 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. |
|
#7
| |||
| |||
| 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.
|
| Thread Tools | |
| |
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 |