• Resolved feita

    (@feita)


    So in my htaccess it like this

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    <IfModule mime_module>
    AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
    </IfModule>

    But when i open the Permalink option in wp-admin the htaccess get changed to this

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

    Can someone tell me to how keep the htacess without been replaced when i open the Permalink menu? thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    In your .htaccess file, you’ll see two lines:

    # BEGIN WordPress

    and

    # END WordPress

    Do not manually place anything yourself between these two lines.

Viewing 1 replies (of 1 total)
  • The topic ‘Opening Permalink menu change my htacess’ is closed to new replies.