Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

How to config nginx on ubuntu for q2a in index.php URL structure

+1 vote
208 views
asked Apr 26, 2017 in Q2A Core by smohamadi

Hi there 

I created q2a project in subfolder in nginx server

everything works fine for " /?qa=123/why-do-birds-sing URL structure, however it gives 404 for " /index.php/123/why-do-birds-sing 

how fix it in nginx config?

Q2A version: 1.7.4
related to an answer for: how to config nginx on ubuntu for q2a?
commented Apr 26, 2017 by smohamadi
Whene using this code :
location /bimeh {
index index.php index.html index.htm;
try_files $uri $uri/ /bimeh/index.php?$args;
}
page is ok but css & js get 404 error because get similar link : http://rr.bidbarg.ir/bimeh/index.php/4234/qa-theme/SnowFlat/qa-styles.css?1.7.4

Please log in or register to answer this question.

...