WordPress/Nginx Config
Re: WordPress/Nginx Config
You're a legend, thanks skid. I'm about to try the entire process again on a clean build.skid wrote:Cool :)
"a2enmod rewrite" fix has been added to installer
Re: WordPress/Nginx Config
Interesting. Where does it exactly hang? nginx or apache2?Graham wrote:thanks for that skid. I'd already tried both and no change, WP url rewrite still result in a 404 error.skid wrote:I found the reason. Apache rewrite module is disabled by default.
Here is how you can enable itCode: Select all
a2enmod rewrite service apache2 restart
I just tried it again to be sure and same problem. Is there something else I'm missing?
Re: WordPress/Nginx Config
It was on apache side.
Re: WordPress/Nginx Config
Ah, thought as much. On a clean install, it was a relatively simple matter of enabling apache2's rewrite rules, as nginx seemed to not be interfering with WordPress.skid wrote:It was on apache side.
Good to know, regardless, though.
Again, as mentioned, keep the awesome work up.
Re: WordPress/Nginx Config
Same here, just did a completely clean install (5th in a row) following exactly the same steps as last time and the URL rewriting works out of the box. :-)KeiroD wrote:Ah, thought as much. On a clean install, it was a relatively simple matter of enabling apache2's rewrite rules, as nginx seemed to not be interfering with WordPress.skid wrote:It was on apache side.
Good to know, regardless, though.
Again, as mentioned, keep the awesome work up.