Length of a URL

Busy's picture

He has: 6,151 posts

Joined: May 2001

Is there a length to how long a URL can be?

Is the length different for different browsers?

Cheers
Busy

- one of those, why is sky blue questions -

They have: 71 posts

Joined: Aug 2001

ARGH!

I read the answer to this question about a month back.

I *think* its different for different browsers.

I'm not sure how long but its pretty long I think that it goes into the 1000's.

I can't find that damn post lol Smiling

McPhilly's picture

They have: 62 posts

Joined: Aug 2001

A top level domain can only be something like 26 charactes long. But after that, my guess it could go on forever.

He has: 176 posts

Joined: Oct 1999

Actually a top level domain name can be up to 63 characters now, but as far as a URL is concerned, i'm not sure.

detox's picture

They have: 571 posts

Joined: Feb 2001

I think it was in an ASP book of mine saying something about 2000, but they made sure that the reader knew this was not the smartest of things to do...

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Internet Explorer has a maximum uniform resource locator (URL) length of 2,083 characters, with a maximum path length of 2,048 characters. This limit applies to both POST and GET request URLs.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

McPhilly's picture

They have: 62 posts

Joined: Aug 2001

Hi Keith, thanks for that Smiling

Anyway :

Domain Names have a variety of basic rules:

- Use only letters, numbers, or hyphen ("-")
- Cannot begin or end with a hyphen
- .com, .net and .org domain names cannot exceed 67 characters total
- Other domain names cannot exceed 22 characters, not including the extension
- Domain names are not case sensitive
- Domain names cannot include spaces

I was wrong, but close on the other domains though. Laughing out loud

---
Before anyone says it, I know 63 + .com,.net or .org = 67
---

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.