Home Forums WordPress Plugins Hide My WP Duplicate configs in htaccess – Error 500

This topic is: not resolved
Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #5549
    wbfz
    Active
    Post count: 23

    Hello,

    I recently started experiencing Internal Server Errors on my site. I noticed HMWP creates duplicate configs in the htaccess and omits some commands leading to the Server Error e.g The writeCond %{REQUEST_FILENAME} !-f (Missing the “Re”)

    My server error log showed the below error in multiple instances:
    Ifmodule without matching ifmodule section

    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    riteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Is there a solution to fix the issue?

    #5553
    Suman M.
    Post count: 12480

    Hi, have you tried deleting the htaccess file or replacing it with WP default htaccess (https://codex.wordpress.org/htaccess)? Please try it with HMWP activated, and if still doesn’t work then try it with HMWP deactivated. Let us know the result.

    #5554
    wbfz
    Active
    Post count: 23

    I deleted it multiple times with HMWP enabled but it duplicates it again after few minutes.
    Your plugin is a major on my site so i don’t want to disable it.

    I had to set the htaccess to read only for the issue to stop but i still need a fix for the issue.

    Regards

    #5558
    Suman M.
    Post count: 12480

    Please let us know your website’s wp-admin login details and FTP details as Private Reply so that we can look into the issue further.

    #5561
    wbfz
    Active
    Post count: 23
    This reply has been marked as private.
    #5570
    wbfz
    Active
    Post count: 23

    Any Update on my issue?

    #5575
    Suman M.
    Post count: 12480

    Hi, we couldn’t find FTP host and your site’s URL?

    #5576
    wbfz
    Active
    Post count: 23
    This reply has been marked as private.
    #5586
    Suman M.
    Post count: 12480

    I logged in with above details but then I’m not able to access WP backend (wp-admin). Please provide with admin login details.

    #5589
    wbfz
    Active
    Post count: 23
    This reply has been marked as private.
    #5591
    Suman M.
    Post count: 12480

    I gave write permission to htaccess file, hit save settings buttton in HMWP, cleared cache, and I don’t see any issue?

    #5592
    wbfz
    Active
    Post count: 23
    This reply has been marked as private.
    #5594
    Suman M.
    Post count: 12480

    Yes, I checked the htaccess backups. It’s already 30mins and I don’t see any issue in htaccess yet. Let’s wait and check then.

    #5595
    wbfz
    Active
    Post count: 23

    Ok…i am monitoring it also. From your experience, do you have any idea what causes it?

    Thanks

    #5602
    Suman M.
    Post count: 12480

    Any issue with htaccess yet? As of now I can’t tell what could be the issue as we haven’t come across such issue previously.

Viewing 15 posts - 1 through 15 (of 20 total)

You must be logged in to reply to this topic.