Forum Moderators: phranque
so i don't wont 301 redirect and i want the url not to change.
here is my code ( i put it in the .htaccess under the subdomain):
rewriteengine on
rewritebase /
rewriterule (.*)$ http://www.example.biz/new_online_games.php?current=$1 [NC,l]
the problem is that the url is changing
<snip>
thanks
[edited by: jdMorgan at 1:26 pm (utc) on April 8, 2007]
[edit reason] No URLs, please. See TOS. [/edit]
For an internal rewrite, you need something like:
RewriteEngine on
RewriteBase /
#
RewriteCond $1 !^new_online_games\.php$
RewriteRule (.*) /new_online_games.php?current=$1 [L]
For more information, see the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].
Jim