Hello guys, I deployed a Lempfrom Marketplace and upload my wordpress
For wordpress I have that line on my nginx
location /faq/ { try_files $uri $uri/ /index.php?$args; index index.php; }
But the permlink is not working, do you guys have any idea what could it be?
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!
Hi @sandro2567,
Can you post your whole Nginx configuration file? The bit you have provided looks alright but there might be something else that’s missing from the whole config.
Otherwise, what’s the error you see when you try to load the /faq/ page?
Regards, KFSys
Hi @sandro2567,
Hmm, that’s really weird!
Having said that, It shouldn’t be related to your PHP extensions.
Okay so, I saw a couple of things to change in your Nginx configuration file. First, you don’t server anything in your location / block. Can you try and configure it like so :
location / {
try_files $uri $uri/ =404;
}
location /faq {
index index.php index.html index.htm;
try_files $uri $uri/ /faq/index.php?q=$uri&$args;
}
Notice I’ve updated the location /faq server block a bit. It should help out and work as expected.
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.