Home Forums WordPress Plugins Hide My WP Error 500 when each time saving/updating content

This topic is: resolved

This topic contains 7 replies, has 2 voices, and was last updated by  lhoucine 2 weeks ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #22035
    lhoucine
    Post count: 4

    Hi
    With latest update of WPML, there is an issue caused by “Hide My WP”, every time I save a post or when something is updated; I got a 500 error : request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’)
    Caused by the .htaccess , every time the plugin rewrite urls in the this file it add the language prefix to the real path … so it brook the whole website until I re-save settings from the Hide My WP!! every time it happens I should save setting to fix it temporarly!!!

    It rewrite now all the renamed plugins like this :
    ….
    RewriteRule ^modules/e4697735/(.*) /fr/wp-content/plugins/akismet/$1?Ajd_hide_my_wp=1234 [QSA,L]
    ….
    so you can figure that the language prefix “fr” is added to all the plugin paths, please make an update that fix WPML issues!

    Thanks

    #22041
    Suman Maharjan
    Post count: 8644

    Hi, can you please generate debug report from HMWP start tab and post it here as private reply?

    One way to fix this is by allowing only manual update to .htaccess file.
    – Enable “Customized htaccess” option in HMWP General Settings tab
    – Click on “manual configuration” button, copy HMWP rules and remove “/fr” form it
    – Add the rules to .htaccess file manually

    #22047
    lhoucine
    Post count: 4
    This reply has been marked as private.
    #22048
    lhoucine
    Post count: 4

    Hi
    and thank you for your reply,
    if I allow only manual update to .htaccess file. how can I sync htaccess with HMWP when I add a new pluging? Can I revert this changes without brooking the site
    Thanks

    #22059
    Suman Maharjan
    Post count: 8644

    If you enable only manual update to htaccess, then you’ll need to update HMWP rules in the htaccess file each time you change any setting in HMWP or add new plugin/theme. You can see instructions to add rules manually after you click on ““manual configuration” button in General Settings tab.

    #22063
    lhoucine
    Post count: 4

    Is the rules shownon this page are the updated ones (generated from HMWP latest config)? I’ll just copy and past them to the HMWP htaccess section, and everything will be okey?

    #22067
    Suman Maharjan
    Post count: 8644

    Yes, it should be fine. Do clear the cache and check your website. Let us know if any issue.

    #22079
    lhoucine
    Post count: 4

    Awesome man 🙂 , good support, great plugin, the issue is fixed. Thank you

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.