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

Welcome

I have a problem that has exhausted me and affected my site greatly, especially in the archiving aspect, and it is almost in the .htaccess file. This problem appeared when I updated the q2a script to version v 1.8.8.

In the previous version, it worked perfectly

Now when I modify the URL structure to the first option, the following occurs:

First: the OK sign does not appear

Second: When clicking on some links, such as members and sections, an error 403 Status code: 403 - Forbidden appears. Only when clicking on some links in particular that are in Arabic, such as the names of users in Arabic, as for users in English, this error does not appear, but the click works normally.

Attached are screenshots of the problem before and after and the page that shows the 403 error

I also attached the .htaccess file that I use on my site

# 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>

I apologize for not being familiar with the problem and its solution. I am not a programmer and I hope you can help me. I have tried to search for the same problem or the same question, but I have not been able to solve the problem yet.

Q2A version: 1.8.8

Please log in or register to answer this question.

...