Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
2.0k views
in Q2A Core by
I am using the latest version of questions to answers. I installed it successfully after much hard luck but now when I access the admin section or any other page apart from the homepage http://deluxejournal.com/qa it saws "Page not found" Please help me!!!
Q2A version: latest version

2 Answers

+2 votes
by
This permalink need .htaccess. If you are using Apache web server make sure mod_rewrite is enabled. thats all you need to do.
+1 vote
by

I had the same issue when i was setting up Q2A as in sub directory.

This is mod rewrite rule issue and can be done very easily in a second.

Go to your QA site root and find .htaccess file

Open in to notepade or any text editor ( DO NOT USE WORD OR SIMILAR )

If your q2a site directory name is qa than copy and pase same code as below

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

If your q2a site directory name is different than change /qa/ with your directory name. Make sure this is the same code I have used for my own SSO site and it works perfect and I share this to other and works perfect too. So I believe this should work for you as well :)

by
Hello, thanks for the reply. I was kinda running out of patience yesterday so I did alot of crazy things, I accidentally deleted qa_post qa_categories and all the qa_ from the mysql database and right now whenever I try installing questions2answers afresh I will get this error

"Could not establish database connection. Please check the username, password and hostname in the config file, and if necessary set up the appropriate MySQL user and privileges."

Please can you fix this for me or what should I do?
by
Never mind. I finally got it working, though was hard! and gave me tough times
by
Glad to know,

Just to remind you that if answer works than select as a working answer so other user can consider if they have same issue in future and can prevent to asking the same question
by
My qa site is working well, but just a little problem since I did that people can't comment on my wordpress blog anymore which is on the root domain. It will show Log in to comment, and login to reply to this comment. Please how do i remove this. I want readers of my wordpress blog to be able to comment without login in.

Thanks (deluxejournal.com)
by
Thanks Jatin. I have resolved my issue with help of your Tip!
...