Is the rewrite module activated for nginx in the Wordpress juju? When I change the permalink to anything other than default I get bad gateway.
rewrite is mandatory for buddypress to function properly. Can anyone help me solve this issue?
Is the rewrite module activated for nginx in the Wordpress juju? When I change the permalink to anything other than default I get bad gateway.
rewrite is mandatory for buddypress to function properly. Can anyone help me solve this issue?
I added the following to the /etc/nginx/sites-available/wordpress which seems to have fixed the issue.
# Wordpress permalinks
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?q=$1 last;
break;
}
Is this a good way to do it or does the charm have to be modified to include this?