Easily configure a performant, secure, and stable NGINX server.Learn More
WordPress site breaks when rewrite rules written in ngnix.conf file
I have setup a wordpress site on my nginx server running on ubuntu 20.04. Recently I installed a plugin called WP hide Pro (https://www.wp-hide.com/wp-hide-pro-now-available/) to hide the directories from listening and being visible on the page source code as well as circumvent CMS detection sites, for security purposes.
however upon setting up the rewrite rules and including them in the nginx.conf file, my site breaks completely, CSS customization on the site aren’t visible and it pretty much looks like a basic HTML static webpage.
I’m completely new to nginx to I would appreciate anyone helping me out.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×