Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
7 registered (Yarpâ„¢, Ruben, driv, Mike L, Bert, gliderdad, mig), 26 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 14904
Top Posters (30 Days)
Ruben 69
SD 57
Gizmo 48
gliderdad 33
Dunny 21
driv 18
Iann128 16
dbremer 16
Stan 15
Mark S 13
Latest Photos
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Gizzo Marx
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
Edit Post
by Bert
Today at 01:19 PM
A positive note
by SteveS
Yesterday at 09:36 PM
How to locate links to particular site if they are only used in images?
by Conrad
02/10/12 09:41 PM
Pictures not displaying
by Marker23
02/09/12 10:04 PM
Issue with logging out constantly
by Flanuva
02/09/12 07:05 PM
Forum Stats
10213 Members
36 Forums
33667 Topics
180916 Posts

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