• Resolved feuerkogel1

    (@feuerkogel1)


    Hello,

    Your plugin always resets the permalink-rules in .htaccess to wordpress-DEFAULT. But i have a special: “RewriteRule ./ /index.php [L]”. This extra Slash is needed to be able to open password-protected subfolders in a browser-window instead of getting an 404-error.

    With: “RewriteRule ./ /index.php [L]” i can reach my subfolders, but NOT “sitemapindex.xml” (getting 404 error)

    With: “RewriteRule . /index.php [L]” i can reach “sitemapindex.xml”, but NOT my subfolders (getting 404 error)

    You have any suggestions how to solve this, so i can get both to work?
    Thanks in advance…

    https://wordpress.org/plugins/bwp-google-xml-sitemaps/

Viewing 1 replies (of 1 total)
  • Plugin Author Khang Minh

    (@oddoneout)

    I suggest you add your rewrite rules above this line:

    # BEGIN WordPress
    

    instead of modifying WordPress’s default rules. Not just my plugin, any plugin that flushes the rewrite rules might cause this issue.

    Note that you might have to duplicate the whole rewrite rule block to overwrite WordPress’s.

Viewing 1 replies (of 1 total)

The topic ‘this plugin is manipulating .htaccess’ is closed to new replies.