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

This is a personal request: I am bookmarking some interesting pages of this q2a forum and found duplicates now. How comes:

You can use www.questions2answer.org/qa/... or questions2answer.org/qa/... for a page!

Both are taken into consideration, which is not only problematic for my bookmark tool but also for search bots as "www" is a subdomain as well, so we should actually have duplicate content indexed here.

@gidgreen: Bad or good idea to htaccess rewrite all pages to www.question2answer.org/qa/...?

htaccess:
# Rewrite all domains to one domain
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.question2answer\.org [NC]
RewriteRule (.*) http://www.question2answer.org/$1 [R=301,L]
 

1 Answer

0 votes
by
I tried this yesterday but I don't know why the site got messed up.
...