Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to enable pretty url in yii2

RewriteEngine on
# If a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Otherwise forward it to index.php
RewriteRule . index.php
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #enable #pretty #url
ADD COMMENT
Topic
Name
7+8 =