Laravel URL Rewrite !HELP!
-
Apache webserver ekakata dapu laravel inventry management web application ekak tiyenwa.
ex -
abc.com/client1/
abc.com/client2/Danata app eka use karanna "abc.com/client1/public/index.php/{route}" me widiyata yanna ona.
meka "abc.com/client1/public/{route}" hari "abc.com/client1/{route}" me widiyata use karanna puluwan wenna pawichchi karanna puluwan htaccess rewrite rule eka mokkda?abc.com/client1/public/index.php/{route} >>>> abc.com/client1/public/{route} or abc.com/client1/{route}
abc.com/client2/public/index.php/{route} >>>> abc.com/client2/public/{route} or abc.com/client2/{route}
-
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.html [NC,L]RewriteEngine On
RewriteRule ^index.html$ / [R=301,L]
RewriteRule ^(.*)/index/.html$ /$1/ [R=301,L]oka try karala balapn
-
Url rewtite karanna. Meka laravel wala deyak neme php url rewrite
-
@Malith Thanks bro. Man try karala update ekak dennam
-
@root Rewrite rule eka thama galapa ganna bariwa inne
-
@Oditha-Wanasingh
oya denata gahala thiyena eka rewrtie code eka dannako
-
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]mechchara thamai samanayen enne
-
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]
-
Wade hari. Thanks for the everyone.
-
@Oditha-Wanasinghe ela ela mchan