I am trying to create a url that is an alias of another url so that when the alias url is typed in it will render the original page without a redirect.
My htaccess looks like this
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
RewriteRule ^/random /c/Just_The_Randoms
RewriteRule ^/adifferent/address /a/somewhereDifferent
I built this using laravel and what happens is the alias is created dynamicly and the htaccess file is just rewritten when a new url is entered.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2iQma9r
via IFTTT
Aucun commentaire:
Enregistrer un commentaire