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

[Free ] Sitemap enhance

As we know the sitemap plugin provide by qa, write all url in to one file when user request sitemap.xml, this will produce a problem when we site has more question over 50000(the max urls in sitemap for most search engine)。

So, I changed the stratory not dirctly write the simemap.xml ,but write to other files, in order to avoid over limit .

The plugin has push to github , you can download it for free.

example site:http://www.ostack.cn/sitemap.html


Question2Answer XML site map plugin v2.1.1


This is a plugin for Question2Answer that generates sitemap file for submission to search engines.


  1. Install Question2Answer
  2. Get the source code for this plugin from github, either using git, or downloading directly:
    • To download using git, install git and then type git clone https://github.com/ostack/qa-xml-sitemap.git xml-site-map at the command prompt (on Linux, Windows is a bit different)
    • To download directly, go to the project page and click Download
    • Upload all files to you q2A server dirctory 'qa-plugin'
    • Login as admin and enter plugin opertion, config parameters for this plugin
  3. navigate to your site, go to Admin -> page on your q2a, install and select "add link" beside the XML sitemap entry, then follow instructions.




This is beta code. It is probably okay for production environments, but may not work exactly as expected. Refunds will not be given. If it breaks, you get to keep both parts.


All code herein is Copylefted.

About q2A

Question2Answer is a free and open source platform for Q&A sites. For more information, visit:


The Github link gives a 404. Did you make the repository public?
Now I have open it
Hello Zhao
Thanks for implementing this great plugin.
Does this make a sitemap index file too? or we have to add each generated site map file to google search console one by one?

Please log in or register to answer this question.