Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Gizmo, SteveS), 38 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/07/07
Posts: 4
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#238624 - 08/12/10 12:56 AM Redirecting from old board
Snarf Offline
stranger
Registered: 06/05/06
Posts: 18
Hey -- upgrading from 6.5 to 7.5.

Clearly all the URLs have changed.

My problem is that I'm trying to put in place 301 directs to the new canonical names to preserve the thousands of links in Google that I have to my forums.

The redirect scripts that come with the importer are unfortunately NOT canonical. They tack "/site_id/1" to the end of every post URL, which is different than the URLs produced within ubbthreads itself.

I've already dealt with enough nightmares and accidental penalties as a result of duplicate content and Google before in years past -- I don't want to start off showing Google thousands of URLs that aren't canonical and will quickly become duplicated by the non "/site_id/1" versions.

Does anyone know of a method outside of including 40,000 redirects in an .htaccess file that will allow me to redirect all my old showflat/showthreaded posts to the new CANONICAL URLs of format
"/newforum/ubbthreads.php/topics/545732"

Thanks


Edited by Snarf (08/12/10 01:00 AM)
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#238629 - 08/12/10 03:56 PM Re: Redirecting from old board [Re: Snarf]
Snarf Offline
stranger
Registered: 06/05/06
Posts: 18
Just a follow up.. I think I've solved this problem.

I've modified the original template to query the new import table, look up the new post number, and then redirect 301 directly to the new URL, bypassing the site_id=1 thing.
Top
#238630 - 08/12/10 04:08 PM Re: Redirecting from old board [Re: Snarf]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
You were quicker than me. By the time I figured out what you were trying to do, you got it figured out. Sounds like a nice solution for what you were looking for.
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image