Hi guys, I installed on my machine arch + nginx and I’m trying to run a wordpress site . It is installed in /srv/http/wordpress/ . I’m getting crazy with the nginx configuration. In order to work properly with wordpress and permalinks , you should change some config on nginX , so i did. I’ve created one specific wordpress.conf on sites-available/enabled and I’m including them on ngin.conf. Well the closest i got is the following: http://82.196.9.187/wordpress/
Now, the permlinks are working , but i have no freaking idea why every other link (css,js) are pointing to the index.php also)
Someone to help me out a bit? any lights? I tried every configuration possible found on the net…
Cheers,
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!
How did you do it? It sounds like you just redirected everything to the index.php instead of only non-existing directories and files. When I googled, I found http://nginxlibrary.com/wordpress-permalinks/ which should do the job.
Presuming the rest of your setup is correct then <a href=“http://wordpress.org/plugins/nginx-helper/”>nginx helper</a> will make nginx play nicely with permalinks. Just turn off its nginx-cache-purge stuff if you aren’t using it.
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.