Forum Moderators: rogerd & travelin cat
# BEGIN WordPress
# The directives (lines) between `BEGIN WordPress` and `END WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
just itching to delete the linesIndeed. Years ago (many) I did just that - edited the WP snippet to clean up ( I thought) unnecessary lines of code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase / and found out I shouldn't have done that, had to put it back. It may make perfect sense, but WP works in its own environment, one that apparently can't function without its peculiarities.