What criteria should we be applying when deciding whether questions are off-topic? Is there any sort of rough consensus on this?
- Why are SEO questions shut down as not programming related?
- Is SEO a sysadmin or developer issue?
Well, there is SEO, and there is SEO.
One type of SEO is about good engineering practices to make the page more accessible and discoverable, which includes proper use of meta tags, good URL rewriting and stuff like that - these are fine.
And then there is the type of SEO that basically asks "How can I cheat Google's Page Rank?".
Of course, there is also a grey area of "How can I make my site display direct links to the Download or About section on Google?".
Really, I think the common-sense approach should apply here: If the question is about genuinely improving the site (which in almost all cases has Accessibility and Functionality improvements as a side effect), then I'm all for it, but if it's just for "ranking higher" (legitimate or not), then I'd vote against it.
The SEO tag is a bloody travesty. It should probably be condemned, cordoned off and demolitioned. It's rare that you'll find a question with one or more upvotes, and common to find them closed or downvoted.
Unfortunately, I don't see that happening without employee intervention.
Stack Overflow is a Q&A site about programming questions. Questions about what constitutes good SEO, how to use SEO tools to improve rankings, etc aren't on topic.
The following are a few examples of nonprogramming questions that relate to SEO found in the first six questions on the tag:
The following are programming questions that relate to SEO found within the first two pages of SEO tagged questions (ugh):
If you're ever in doubt about your SEO question being on or off-topic, understand that you can generally ask SEO questions on Webmasters Stack Exchange. Their FAQ has it listed first as a valid topic, but you should take a moment and familiarize yourself with what that community expects. As on Stack Overflow, they do not allow software/tool recommendations or site reviews/advice
Only could apply to your site -- If the answers to your question could only apply to your site and not others, it's probably not a good fit for Webmasters. For example, questions such as "What am I doing wrong here?" or "Please review my site" are typically considered off-topic since they're unlikely to help future visitors to this site.
If you're still reading this, you probably still want to ask your question on Stack Overflow. Let's go over why we still have the SEO tag. SEO is still a topic here because people came to know url-rewriting as "SEO friendly URLs". For example
https://www.example.com/my-seo-friendly-url
Most web servers won't naturally serve that up because we're using under-the-hood tricks to make the web server work. We know it as url-rewriting, url-routing (many frameworks do that), htaccess (Apache was the first web server to do this), etc. As this is a type of programming, it is on-topic. We also use it as a semi-meta tag (where the tag doesn't describe the problem, but the usage, etc).
To put it another way, as long as your question is about programming, it's on-topic, even with the SEO tag.
The catch, of course, is what comprises "about programming"? Let's contrast two questions to help clarify what we mean
I have this code here. Google didn't handle it correctly, which hurt my SEO, but I started digging around and found this problem in my code.
Some code here
How can I fix it?
In this case, the question involves some code that has a direct problem. That SEO lead you to find the problem is irrelevant. But many off-topic code questions are more like this
I have this code here. Google didn't handle it correctly, which hurt my SEO.
Some code here
How can I make Google like this?
Notice the shift from fixing code to fixing SEO. If the code is broken, post a Minimal, Complete and Verifiable Example and it's not often you'll be off-topic. But if the code is working, then you no longer have a coding problem, you have an SEO one. SEO is generally defined as the marketing of your website to search engines. They have tools and rules you need to abide by to rank well. Stack Overflow is not a site to ask questions about things like that. So if you need help with things like
then your question is off-topic on Stack Overflow. If you're thinking "I didn't see my question in that list", understand that it's not exhaustive. You can still take a crack at asking here, but understand there are many people who watch the tag to catch off-topic questions. If someone has directed you to this question, it's a good sign it's off-topic, and possibly about to be closed as such. Again, if you're in doubt, try asking on Webmasters.SE.