Reputation: 29
I've searched a lot through .htaccess
technologies, but I can't seem to find any good solutions for this issue.
I want to redirect a url like this:
to this one.
Preferably, I want to mask the second url to be like the first url, such that when you visit the first url, it will display the contents of the second url.
Thanks
Upvotes: 2
Views: 35
Reputation: 3300
This rule should work:
RewriteEngine on
RewriteRule ^login/?$ /app/views/login.php [L]
Upvotes: 1