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

Before 1-2 days ago , my website was perfect . Today when I load my website then the home page is loaded but when I click any link (such as admin,question etc) then it shows me 404 not found error for every page . I think something happen with url pattern . Since I can't access admin panel so I can't check url pattern from admin panel. And the browser console error is :

The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol. admin
Error: Promised response from onMessage listener went out of scope

Home page url:  https://www.muslimpoint.org/
question page url: https://www.muslimpoint.org/questions

See the attached image for better understanding.

Q2A version: 1.8.5
by
Type your url here
by

2 Answers

0 votes
by
edited by

Replace all the old files of Q2A site folder, by new one

After adding new files-- change the name of these file in root folder..

Do not chage the extension

and edit qa-config.php file.

RememberDo not install again by softaculas or other soft, cause the replace your database.)

by
edited by
Edit qa-config.php file

define('QA_MYSQL_HOSTNAME', 'localhost');
define('QA_MYSQL_USERNAME', 'root');
define('QA_MYSQL_PASSWORD', 'password');
define('QA_MYSQL_DATABASE', 'qa1');

///and this----------

define('QA_MYSQL_TABLE_PREFIX', 'qa_');
by
Do you specify what do you mean by softaculas or other soft ? Is that plugin ?
by
I actually remove all the old q2a file and upload from backup file . After that , now the website is loaded perfectly . I didn't change anything on qa-config or database . Really I don't understand what was the wrong . I didn't change any single code . By the way , Thanks a lot for your valuable response.
0 votes
by
Add File .htaccess

Regads!
...