Unable to edit questions / sort by different criteria

5.55K viewsCoreAnspress
0

I was able to edit questions and use the various sort methods on my localhost however when I tried implementing on the server , it doesn’t work . I am using exactly the same version of wordpress and anspress with exactly same settings .

1

Is there any error in log ? Share your link.

no errors in the logs . Is it because it is on an nginx server ? I have set the permalink to type “postname” .
The link is forum.ungineering.com

There is some PHP error, cause it return noting while sorting. Enable PHP error log and check the log.

I checked , there are no PHP errors . However I think it is due to the permalinks . I noticed that after changing the permalinks to default I was able to at least edit the questions / answers . Nginx doesn’t support .htaccess and WordPress can’t write nginx configurations for us . I think it has to do with that . I tried to get a configuration but most are for single site ones and mine is multi site server 🙁

I was using nginx for this site, but recently migrated back to apache. But AnsPress was working fine. There is an nginx rules somewhere in codex site.

It would be great if you could help with that , you may still have it . By the way could you please tell why you shifted back to apache ? Nginx would be better for a site of this kind right ?

Main reason is .htaccess. No doubt that nginx is better because of event driven. But nginx have totally different rewrite thing and I am familiar with htaccess, so at this point I choose Apache. But still I am using nginx but as reverse proxy, and I can use htaccess with it. Together both apache and nginx work great.

Thanks for all the help . Finally things worked out . Though I had to wipe the db once . It all came down to just one line that had to be added
try_files $uri $uri/ /index.php?q=$uri&$args;
this thing solved the permalink problem .

You are viewing 1 out of 1 answers, click here to view all answers.