WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] htaccess repeated code (6 posts)

  1. martcol
    Member
    Posted 1 year ago #

    I have an SEO plugin that has an editor for .htaccess. I had a look at this and noticed that the following code is repeated over 30 times. I think it was put there by a security plugin. Should I delete the repeats?

    Thanks

    Martin

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
  2. IshaanRawat
    Member
    Posted 1 year ago #

    Hello Hotmale,

    If they are EXACTLY the same then you can delete.

    Thank You

  3. martcol
    Member
    Posted 1 year ago #

    Many thanks,

    I deleted them, they were all EXACTLY the same and nothing bad has happened. That's always a good sign.

    Thanks again

    martin

  4. IshaanRawat
    Member
    Posted 1 year ago #

    Is your issue solved ??

  5. martcol
    Member
    Posted 1 year ago #

    Yes,

    Thanks

  6. IshaanRawat
    Member
    Posted 1 year ago #

    happy to solve your problem.

    Stay connected with me
    Ishaan Rawat

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags