Welcome Guest, Not a member yet? Register   Sign In
Properly moving links
#1

[eluser]Neovive[/eluser]
I've searched around the web and found some differing strategies on the most search-engine-friendly way to move url's. Here is a summary of the situation:

Background
A client has an old PHP site that has been around for about six years and I am in the process of migrating the site to CodeIgniter. The website is essentially a large directory of listings. The owner previously assigned listing id's as varchars and we are migrating to an automated system in CI that utilizes a MySQL bigint with autoincrement. The new website will also utilize custom CI routes to allow site users to access listings using the actual company name (similar to WordPress slugs). The old listing id's will be maintained in the database as a field in the main listing table.

URI format
The old URI format to view listings was: domain.com/view/old_id

The new Rerouted CI URI format will be: domain.com/listing/unique-long-name which will actually reference domain.com/listing/view/id.

Links throughout the site will reference the new URI structure with the long name for SEO and readability purposes and will lookup the new autonum_id automatically.

How do I inform the search engines of the move?
I contemplated creating a custom CI route to catch the old URI's, lookup the new ID and redirect, but am concerned that this might lead to a duplicate content issue since there would be mutliple url's with the same content. Many of the old listing id's are indexed in Google and other search engines.

Is there a way to use mod_rewrite to redirect to a script that looks up the new id and does a 301 Permanent Redirect? Would I need to create mod_rewrite entires with 301 redirects for every old listing (approx. 350 entries)?

Any suggestions would be greatly appreciated.


Messages In This Thread
Properly moving links - by El Forum - 09-26-2007, 01:47 PM
Properly moving links - by El Forum - 09-26-2007, 02:00 PM
Properly moving links - by El Forum - 09-26-2007, 02:12 PM
Properly moving links - by El Forum - 09-26-2007, 03:57 PM
Properly moving links - by El Forum - 09-26-2007, 05:37 PM
Properly moving links - by El Forum - 09-26-2007, 11:06 PM
Properly moving links - by El Forum - 09-27-2007, 08:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB