Forum Moderators: phranque

Message Too Old, No Replies

Proper 301 redirect method Dynamic to static URLS

Dynamic to Static URLs

         

hooter

12:05 am on Feb 11, 2005 (gmt 0)

10+ Year Member



Hello,

I have searched but have been unable to find a comprehensible answer - my apologies beforehand if this has been answered elsewhere.

I have a site that had been using Dynamic URLs in a format such as this:
product.php?productid=77&cat=0&page=1
home.php?cat=10

I am now using mod_rewrite and altered my application code to end up with static URLs which works.

My question is this: the above mentioned dynamic URLs currently exist in the SERPS and I want a proper 301 redirect for the engine bots as well as visitors coming from the SERPS to just land on something like home.php - the bots will be able to read all the static URLs from there henceforth. What would be the most acceptable/prudent redirect rule to accomplish this? I am still struggling with regex so a clear, literal example would be most welcome and appreciated.

Many thanks in advance.

jdMorgan

2:00 am on Feb 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hooter,

Welcome to WebmasterWorld!

Yes, we discussed this just a few weeks ago: [webmasterworld.com...]

I believe that's what you're trying to do as well.

Jim

hooter

2:28 am on Feb 11, 2005 (gmt 0)

10+ Year Member



Thanks Jim for the welcome and response.

Please excuse my cluelessnes, I did have a go at reading the referenced thread, but in the end I still am just as clueless on exactly what I would use as a redirect rule to accomplish what I need. (or think I need).

I don't usually ask for hand-holding in forums but if at all possible could you provide a specific example pertaining to the scenario I have outlined above? Much appreciated any insights you might have. Thanks.