Forum Moderators: phranque

Message Too Old, No Replies

Redirect & RedirectMatch both in .htaccess

any issues with using both?

         

dbar

4:47 pm on Jun 17, 2005 (gmt 0)

10+ Year Member



Will having "Redirect permanent ..." and "RedirectMatch permanent ...." statements in .htaccess cause any problems?

The control panel of my host has an easy interface for redirects, but writes the statements as "RedirectMatch permanent ...." whereas I already had "Redirect permanent ..." statements. It appears to work fine, just wondering if there are any issues with mixing these?

Span

10:06 pm on Jun 17, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The difference between Redirect en RedirectMatch is that you can use regular expressions in the latter. You can use both without issues.

dbar

11:12 pm on Jun 17, 2005 (gmt 0)

10+ Year Member



thanks!