Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

How to delete tags

+2 votes
asked Feb 6 in Q2A Core by onesharedearth
I've recently launched the Q2A website https://onesharedearth.com and in the last couple of days been bombarded with spam. So in the "Spam" tab, I enabled "Use moderation for users with less than" 150 points and deleted all spam posts.

However, the spamming users had also added lots of irrelevant tags. Now my "Tags" page is showing links for 3 pages even though only 1 tag is present. How do I delete the other tags which seem to be hidden but still are interfering with the "Tags" page? See https://www.onesharedearth.com/tags/

On the same note, are the posts that I deleted (after hiding) actually deleted from the database or still using up space in my database?
Q2A version: 1.8.0-beta2

1 Answer

+3 votes
answered Feb 6 by pupi1985
selected Feb 7 by onesharedearth
Best answer
That's a bug in Q2A. Download the 1.8.0 release (not the beta-2) from here: https://github.com/q2a/question2answer/releases/tag/v1.8.0

Then apply this change: https://github.com/q2a/question2answer/pull/602/files#diff-1515ecbbdf77ae4289e107fb021ef000

Alternatively, don't download any of the previous files and just download this non-official Q2A version that has the fix inside: https://github.com/pupi1985/question2answer/archive/patch-101.zip
commented Feb 7 by onesharedearth
I'm not sure that worked for me. The tags page still gives the impression that there are more tags (saying 1, 2, 3, next>>).

Just to be sure that my changes did apply, I also made a change in the theme and that reflected on the website.
commented Feb 7 by pupi1985
Once you apply the change you just need to wait for a new question to be posted or a question to be deleted but the issue should be fixed.
commented Feb 7 by onesharedearth
That works, thanks.