Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+4 votes
6.7k views
in Plugins by

Althogh my site has approx 300 questions, but my URLs indexed in search engines are more than 1000. This is because of indexing of tags, categories, question pages, activity pages etc. So, Any Q2A user want to block those pages being indexed by search engines. Many similar question to this suggests to use "disallow: /example-page/" in robots.txt.

But, be clear guys, Robots.txt tells search engines to crawl or not and Meta Tags tells search engines to index or not.

If you add disallow to any pages in robots.txt, it won't make your pages being de-indexed by search engines. You should add <meta noindex,nofollow>

I saw many q2a websites but none of them are performing very well in search engines, this is because they index all pages and search engines hate it! I saw many duplicate title and description issues in Google webmaster tools. If this thing resolved (adding meta tags via admin panel or custom function codes) then believe me, there will be more users coming to q2a sites as well as more users to question2answer script.

I hope developers will take this as serious issue sad

Below is the glance of an article of SEOMOZ regarding robots.txt and meta tags:

 

Blocking page

There are a few ways to block search engines from accessing a given domain:

Block with Robots.txt

This tells the engines to not crawl the given URL but tells them that they may keep the page in the index and display it in in results.

Block with Meta NoIndex
This tells engines they can visit but they are not allowed to display the URL in results. (This is the recommended method)

 

Q2A version: 1.5.4

1 Answer

+6 votes
by
selected by
 
Best answer

I've created a plugin for this, you can download and read more about it here : http://qcybb.com/question2answer-seo-meta-tags/

by
This is what I was looking for!
by
Think of using your plugin. You say "Webmaster tools will show you any duplicate title and description issues you have thus removing".

Looking into WMTools I see duplicates caused by question marks within the URL. Google seems to index those as different pages, e.g. question:

/18839/this-is-a-test
/18839/this-is-a-test?show=18843

are marked as duplicate title tags + duplicate meta... How do you stop indexing those?
by
Htaccess tweak would solve this issue.
by
Your plugin works, nice share mate, exactly what I was looking for to save my crawl budget.
...