Hi Team, I have installed a new ispconfig install on debian and restored 2 wordpress websites and their db. Unfortunately only the main page work and it you click on any of the other pages, it throws up 404 error. I am unsure where to look at this point. its ispconfig with nginx
Most likely, you missed configuring Nginx for WordPress. Unlike Apache, Nginx requires a special config for most CMS systems incl. WordPress as Nginx does not understand the rewrite rules that most CMS have in .htaccess files. E.g for WordPress, you must add this into the Nginx directives field of the website in ISPconfig (its on the options tab of the site) to enable permalink URL's: Code: location / { try_files $uri $uri/ /index.php?$args; } # Add trailing slash to */wp-admin requests. rewrite /wp-admin$ $scheme://$host$uri/ permanent; location ~* \.(jpg|jpeg|png|gif|css|js|ico)$ { expires max; log_not_found off; }