• Hello,

    I have been using your plugin for 2 years now. About a year ago, I noticed that when a customer checks out using Stripe or when I update the order in Woocommerce, the htaccess file gets rewritten, but only partially and produces a 500 Internal Server Error.

    I first thought it was an issue with a caching plugin I was using, but after some digging, I realized it was your plugin.

    I noticed that the allocated memory was set low, so I raised it to 128Mb based on the plugin’s recommendations. Now the error doesn’t happen again.

    However, I only saw one instance in the plugin files that calls for some sort of rewrite (in /includes/class-wcpdf-main.php), but that is only for the tmp folder.

    My question is: Is it necessary to rewrite the root htaccess file when someone places an order or when the order is updated or is this not the intended behavior of the plugin?

    Thank you,
    Bart

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hello Bart,
    This plugin does not write to the root htaccess file (I wouldn’t dare to ;), only the .htaccess file in the temporary folders, which are all located under wp-content/uploads/wpo_wcpdf.

    Even so, this plugin certainly does not perform that action everytime an order is placed, which means there must be another plugin/process doing that (unless I am overlooking something, then please let me know).

Viewing 1 replies (of 1 total)
  • The topic ‘500 Internal Server Error – htaccess rewrite failed’ is closed to new replies.