How To Force WordPress To Use Apache Virtual Host File Rather Than .htaccess
-
Hello everyone,
According to several guides I’ve read, it’s best to insert your rewrite rules in the apache config/virtual hosts file rather than the .htaccess file. Doing so will allow apache to perform better and make it more secure.
Question: How can I automate or tell WordPress to write the rewrite rules in my virtual hosts file? I am trying to avoid the laborious task of having to copy the .htaccess file’s contents and paste them into the virtual hosts file every time a new plugin or theme is installed/modified.
Please let me know if there’s a more efficient workaround!
Thank you for all your contribution, courteous help, and relentless support! You guys are magical and sensational!
God bless the team in perpetuity!
All my best,
Joe
- The topic ‘How To Force WordPress To Use Apache Virtual Host File Rather Than .htaccess’ is closed to new replies.