WebDevJL / vps-manager

How is installed my VPSes
0 stars 0 forks source link

Removing index.php and allow permalinks without http/404 #26

Closed WebDevJL closed 6 years ago

WebDevJL commented 6 years ago

Source: https://codex.wordpress.org/Using_Permalinks#Creating_and_editing_.28.htaccess.29

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress