Forum Moderators: phranque

Message Too Old, No Replies

Need Advice On Mod Rewrite - .htaccess

         

bekyed

8:32 pm on Apr 11, 2004 (gmt 0)

10+ Year Member



Hi,

Can someone help us on this.

We have a catalogue of 500 products that are being replaced with new files, they reside in a directory called www.domain.co.uk/p/

We want to replace the old /p pages but redirect everyone that hits the /p pages to our main page homepage www.domain.co.uk/index.html

How do we do this please without upsetting google?

Wayne.

jdMorgan

12:28 am on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> redirect everyone that hits the /p pages to our main page homepage

I would not recommend doing this, as these old pages might then appear to be 'doorway pages.'

If possible, redirect each of the old pages to a new page that replaces it most closely. Alternatively, put up a page that says the old pages have been replaced, and provide a guide to get your visitor to the pages that most closely match the one they were looking for.

Part of this is avoiding the appearance of doorway pages, and part is a usability issue - It is always better to inform than confuse, and redirecting a bunch of product-specific pages to your home page without explanation is confusing.

As far as how you do the redirects, you can use mod_alias or mod_rewrite - Whichever makes the most sense to you. Also, some hosts don't support mod_rewrite, while almost all support mod_alias.

Jim