Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /wordpress/
- RewriteRule ^index.php$ - [L]
- RewriteRule ^(.*)/$ /$1 [L,R=301]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /wordpress/index.php [L]
- </IfModule>
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /wordpress/
- RewriteRule ^index.php$ - [L]
- RewriteCond %{REQUEST_URI} !^/wp-admin/
- RewriteCond %{REQUEST_URI} ^/wp-login.php(.*)$
- RewriteCond %{REQUEST_URI} ^/wp-admin$
- RewriteRule ^(.*)/$ /$1 [L,R=301]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /wordpress/index.php [L]
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement