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

I want to make my links like this forum. qa/questions

My links are like this index.php?qa=questions

 

Q2A version: latest version

1 Answer

+1 vote
by
 
Best answer

edit the file .htaccess that you find in the root of q2a, this must be inside:

<IfModule mod_rewrite.c>
RewriteEngine On
# Rewrite for neat URLs
RewriteBase /
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]
</IfModule>
 

...