Jump to content

can't get the simplest of redirects right


galvin

Recommended Posts

I have a "clean" url of mysite.com/admin and I simply want that to bring up the "actual" page mysite.com/admin.php.  I tried the code below and several variations, but it's not working.  Anyone tell me what I'm doing wrong?...

 

<IfModule mod_rewrite.c>	
RewriteEngine On		
RewriteRule ^([^/\.]+)/admin$ admin.php [L]
</IfModule>

 

Anyone?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.