Hi, Say I have a dynamic php page like page.php and i'm passing it a _Get parameter to display specific information ie; page.php?id=100 Now it's been like that for over a month & ~1000 permitations crawled by google etc. Problem is, it's not very good for SEO (obviously). I'd like to stuff some keywords in there, by way of the page title. ie. /this-is-a-page-title-1000.html rewritten to page.php?id=$1 etc etc. Now to my question. I can get all the links on my page & sitemap etc to show as the new rewritten format, however Google has already indexed the page.php?id=100 pages. If it then comes along and finds /this-is-a-page-title-1000.html won't that be seen as duplicate content (seeing as the rewritten and non-rewritten URL's are both valid)? Is there any advanced mod_rewrite tricks I could use to somehow redirect page.php?id=100 to the rewritten URL? (I have no idea how this would be even possible but thought i'd ask) or can suggest some other 'outside of the box' technique I havent thought about yet. TIA.
Ok - I've been thinking about this problem... I think it will be possible to use a PHP page to redirect to the required re-written URL. Here's the idea. - .htaccess redirect page.php?id=100 to rewrite.php?id=1$ - rewrite.php select title from DB where id = 100 - rewrite.php redirect to rewritten url /this-is-a-page-title-1000.html From a technical perspective, I think this will work. How should I handle the redirects though? Should .htaccess be using a permament 301 redirect to rewrite.php then rewrite.php doing another 301 permament redirect to the rewritten URL? Will google be able to follow that ok? Thoughts?