Basic .htaccess?
-
Hi – I was taking a look at .htaccess and found this:
# 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 # 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 # BEGIN wtwp_cache # END wtwp_cache # BEGIN wtwp_security # END wtwp_security
I thought the duplicate code did not look right. I also checked out codex’s page on this: https://codex.www.ads-software.com/htaccess, as well as a couple of posts.
It is unclear whether or not I can just delete one block of the duplicated code from this file and just save. Should I delete one block and save and not screw up anything? Please advise…TIA.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Basic .htaccess?’ is closed to new replies.