Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
305 views
in Q2A Core by
by
+2
There is a link on the word "htaccess" that leads to the documentation (https://docs.question2answer.org/install/htaccess/), which should provide all information you need. Please do not ask people to read the documentation to you.
by
I don't understand can you learn me over about this
by
–1
No, I can't teach you how to read. Sorry.

1 Answer

0 votes
by

in project folder add this to ".htaccess"

# In order for the web server to process this file it must be renamed to ".htaccess"

Options -Indexes
DirectoryIndex index.php

<IfModule mod_rewrite.c>
    RewriteEngine On
    #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>

...