sam75m
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Permalink is not working,I spent 6 hours on it, and no result, instead I installed WordPress on LEMP stack (linux, nginx, mysql and php) in less than 10 minutes, now everything works well! by nginx you just need to add couple lines in nginx config file to activate permalink:
location /blog/ {
try_files $uri $uri/ /blog/index.php$is_args$args;
}I don’t waste my time on apache anymore 😉 thanks for your time and nice replies.
- This reply was modified 5 years, 7 months ago by sam75m.
Forum: Fixing WordPress
In reply to: Permalink is not working,Plain is working, that’s frustrating, I gave up and started installing nginx in my VPS, I’ll install WP on nginx cause I know it better than apache,
Forum: Fixing WordPress
In reply to: Permalink is not working,Thanks for your reply.
I reset custom permalinks and faced same error,
I even download and install wp again, still have same problem, I googled and tried lots of troubleshooting but couldn’t find out what’s wrong.
Facts are:
1- I installed wp on mydomain.com/blog/ folder
2- In apache config I have AllowOverride All and I tested .htaccess in blog directory and other directories and seems apache can executing it,
3- When I set pemalink, it’s making .htaccess
4- WP will change the links to something pretty like: http://mydomain.com/blog/archives/22
5- When I click on it I face to Not found page: The requested URL was not found on this server.
6- It can not be bad WP installation, cause I downloaded the latest one from WP website again,