You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Does nginxconfig.io support subpath configuration for Wordpress? #421
I want Nginx configuration for Wordpress on a subpath, but didn't found any.
What I have tried
I tried to serve my blog located on /var/www/blog with this configuration but I couldn't succeed, (BTW my / is reverse peroxided and serve another application).
Clear the browser cache and cookies.
Set your permalinks.
Make a default .htaccess file.
Set up a 301 redirect.
Disable plugins and themes.
Change and update the WordPress URL in the database.
Fix the error on local servers.
Clear the browser cache and cookies. Set your permalinks. Make a default .htaccess file. Set up a 301 redirect. Disable plugins and themes. Change and update the WordPress URL in the database. Fix the error on local servers.
Nginx doesn't support .htaccess, I use curl on my terminal so there is no browser or caching. BTW I already fix my path and address on wp database.
Thanks for your comment but this doesn't resolve the issue.
Activity
mehdiMj-ir commentedon Feb 18, 2023
If anyone find how to solve this problem, help this poor soul too:
https://www.digitalocean.com/community/questions/getting-404-not-found-nginx-while-trying-to-visit-wordpress-post
TauqueerAhmad commentedon Feb 22, 2023
Clear the browser cache and cookies.
Set your permalinks.
Make a default .htaccess file.
Set up a 301 redirect.
Disable plugins and themes.
Change and update the WordPress URL in the database.
Fix the error on local servers.
TauqueerAhmad commentedon Feb 22, 2023
I think this can help you out
mehdiMj-ir commentedon Feb 23, 2023
Nginx doesn't support
.htaccess, I usecurlon my terminal so there is no browser or caching. BTW I already fix my path and address on wp database.Thanks for your comment but this doesn't resolve the issue.