Redirect 301 not working with dynamic URL

Etusivu
Liitteet:
Viesti alkuperäisessä muodossaan
+ (text/plain)
Poista viesti
Vastaa
Lähettäjä: keith smith
Päiväys:  
Vastaanottaja: Main PLUG discussion list
Aihe: Redirect 301 not working with dynamic URL

Hi All,

I'm working on an .htaccess file.

The problem I have is :

If I set up

Redirect 301 /index.php?display=contact http://www.domain.tld/contact-us.php

It does not redirect nor do I see an error in the logs.

If I configure it this way it will redirect :

Redirect 301 /index.php http://www.domain.tld/contact-us.php

By removing the "?display=contact" I get the index.php to redirect to the contact-us.php page.

We have moved from internal dynamic pages to external static pages for several reasons. The main being SEO.

Any idea why the first example causes no error and does not work either?

Thanks for your help

Keith



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss