By azlyjnor
Hello,
This is my stack:
Everything works fine except for the permalinks. I understand that Wordpress 4.1 update should have fixed the rewrite rules for Nginx, however, I am getting the white-screen of death everytime I changed the permalink setting. Even when I switched back to default permalink, the pages does not show.
I am however still able to see the homepage (index.php).
I’ve added the following to /etc/nginx/sites-enabled/domain.com:
location / {
try_files $uri $uri/ /index.php?$args;
}
However, when I reload Nginx, and changed the permalink in WP admin panel, Wordpress is still automatically creating a .htaccess file. As I would understand .htaccess is not recognised in Nginx.
Can anyone point me to where I should be looking at in the configs?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
hey oscommerce not working Warning: require_once(/usr/share/nginx/html/wp-content/plugins/osCommerce/classes/osc_db.class.php): failed to open stream: No such file or directory in /usr/share/nginx/html/wp-content/plugins/oscommerce/osCommerce.php on line 37 Fatal error: require_once(): Failed opening required ‘/usr/share/nginx/html/wp-content/plugins/osCommerce/classes/osc_db.class.php’ (include_path=‘.:/usr/share/pear:/usr/share/php’) in /usr/share/nginx/html/wp-content/plugins/oscommerce/osCommerce.php on
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.