Strange 301 redirect problem
Posted
by user261231
on Stack Overflow
See other posts from Stack Overflow
or by user261231
Published on 2010-04-26T08:26:46Z
Indexed on
2010/06/06
14:02 UTC
Read the original article
Hit count: 372
apache
|http-status-code-301
Hi all,
I'm trying to redirect all URLs that start with "/?page=" to "/stuff/?page="
I have this in my .htaccess file:
RewriteEngine on
RedirectMatch 301 ^/?page=/(.*)$ http://www.mysite.com/stuff/$1
But it's not working.. What am I doing wrong?
© Stack Overflow or respective owner