Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
484 views
in Q2A Core by
Hi dear q2a community,

I installed q2a and came across a weird problem, probably because I have q2a in a subfolder and not root of domain.

I get "not found" errors in my log caused by relative paths, such as the javascript embeds or the theme, which are using "./"

To resolve this problem, is there any way to enable full path URLs for all paths on the site? Thank you!
Q2A version: 1.5

1 Answer

0 votes
by
edited by

got it working. It was the htaccess:

not:

RewriteBase /
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]

but:

RewriteBase /myfolder
RewriteRule ^.*$ /myfolder/index.php?qa-rewrite=$0&%{QUERY_STRING} [L]

don't forget the slash!

...