Jump to content

question about url with end character "/"


UnknownPlayer

Recommended Posts

Hi,

i have this code at .htaccess file:

RewriteEngine on
RewriteRule ^(login|registracija|kategorije|posmatram|admin)$ ./$1.php [L,QSA]

Now when i go to www.example.com/login it works fine, but when i go to www.example.com/login/ with "/" on end, it doesnt work, what should i change at code to work on both ?

Link to comment
https://forums.phpfreaks.com/topic/247154-question-about-url-with-end-character/
Share on other sites

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.