Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I want to know what the maximum number of tags allowed in a SO url is. I try a longish url (like /tagged/a+OR+b+OR+...) to select only the questions I am interested in, and I get a "Bad Request" response...

I suppose the question could be rephrased as:

What is the maximum url length allowed by the web server of stack overflow?

share|improve this question
up vote 2 down vote accepted

It depends. If you use the querystring method, it can be much longer.

http://stackoverflow.com/questions/tagged?tagnames=c%23%20java

versus

http://stackoverflow.com/questions/tagged/c%23%20java

share|improve this answer
2  
Then what is the answer in each case? – Jon Seigel May 24 '10 at 1:04
    
Thanks. I supposed that's the querystring method I was looking for. By the way, it's a pity that I have to compute this url manually. It would be cool if there was a simple link to that url on my profile page. – Olivier May 24 '10 at 7:00
    
@olivier your user page tags are linked to a per-user tag search for you -- try clicking them – Jeff Atwood May 24 '10 at 8:50
    
where is that? If one of my tags is "Python", there is a link to all questions tagged "Python". But I have about 20 tags. I want an url of the form: "/questions/tagged?tagnames=tag1+OR+tag2+OR+tag3+...". For now, I have to construct it manually, right? I'd love SO to construct that URL for me. – Olivier May 24 '10 at 9:11
1  
assuming that the parameter name, "tagnames", was not known: is there a way to discover it? Or does a list or doument exist with this information? – Peter Mortensen May 24 '10 at 11:06

For the path method (http://stackoverflow.com/questions/tagged/tags)

With a query of ≥261 chars, the server returns "400 Bad Request".

With a query of ≥242 chars, the server returns a blank page.

With a query of ≥223 chars, the "workin on ur problemz" page appears.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .