Jump to content

Archived

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

tiki

mod_rewrite base file not showing?

Recommended Posts

When I used mod_rewrite the users.php?page=$1 works but not users.php

 

Any ideas?

 

RewriteRule ^users/$ users.php

RewriteRule ^users/([a-z]+)/$ users.php?page=$1

Share this post


Link to post
Share on other sites

Have you checked you're visiting example.com/users/ including the trailing slash? If you visit example.com/users without the trailing slash, your code won't work.

 

HTH

Share this post


Link to post
Share on other sites

×

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.