types of url ?
- Get link
- X
- Other Apps
types of url
Absolute URL
-
Full URL hota hai, jisme protocol, domain, aur path sab included hote hain.
-
Use: Jab specific page ko directly access karna ho.
-
Example:
https://www.example.com/products/blue-widget
2. Relative URL
-
Sirf resource ka location hota hai, domain ke bina.
-
Use: Mostly website ke internal links me use hota hai.
-
Browser automatically current domain add karta hai.
-
Example:
/products/blue-widget
3. Static URL
-
Fixed URL hota hai, jo change nahi hota.
-
SEO friendly aur easy to remember.
-
Example:
https://www.example.com/about-us
4. Dynamic URL
-
URL me parameters hote hain (
?,&), jo database se content fetch karte hain. -
Usually long aur complex hote hain.
-
Example:
https://www.example.com/products?id=123&ref=abc
5. SEO-Friendly URL
-
Short, readable, keyword-rich URL jo search engines aur users dono ke liye friendly ho.
-
Mostly static URL ke jaise dikhte hain.
-
Example:
https://www.example.com/seo-tips
6. URL with Fragment
-
Page ke specific section ko point karta hai, hash
#ke saath. -
Example:
https://www.example.com/products#reviews
7. Protocol-based URL Types
-
HTTP URL
-
Non-secure, older protocol.
-
Example:
http://www.example.com
-
-
HTTPS URL
-
Secure, encrypted, SEO ke liye preferred.
-
Example:
https://www.example.com
-
-
FTP URL
-
File transfer ke liye use hota hai.
-
Example:
ftp://ftp.example.com/file.zip
-
8. Subdomain vs Main Domain URL
-
Main Domain URL
-
Example:
https://www.example.com
-
-
Subdomain URL
-
Alag section ya service ke liye.
-
Example:
https://blog.example.com
-
9. Shortened URL
-
URL ko short aur shareable banane ke liye URL shorteners use hote hain.
-
Example:
https://bit.ly/3AbcXyz
10. Internationalized URL (IDN)
-
Non-English characters (jaise Hindi, Chinese) support karta hai.
-
Example:
https://www.उदाहरण.भारत
Quick Summary Table: URL Types
| Type | Description | Example |
|---|---|---|
| Absolute | Full address | https://example.com/page |
| Relative | Domain ke bina | /page |
| Static | Fixed URL | /about-us |
| Dynamic | Parameters included | ?id=123 |
| SEO-Friendly | Short & keyword-rich | /seo-tips |
| Fragment | Section of page | #reviews |
| Protocol-based | HTTP/HTTPS/FTP | https:// / ftp:// |
| Subdomain | Separate section | blog.example.com |
| Shortened | Short URL | bit.ly/xyz |
| Internationalized | Non-English chars | उदाहरण.भारत |
11. IP Address URL
-
Domain ke bajaye direct server IP use karke access karte hain.
-
Example:
http://192.168.1.1/index.html
-
Mostly testing aur internal networks me use hota hai.
12. Data URL
-
Directly small files ya resources ko URL me embed karta hai, browser me render karne ke liye.
-
Example:
data:text/plain;base64,SGVsbG8gd29ybGQ=
-
Mostly images ya text small data embed karne ke liye use hota hai.
13. Mailto URL
-
Email clients open karne ke liye use hota hai.
-
Example:
mailto:info@example.com
14. Tel URL
-
Mobile devices me phone call initiate karne ke liye.
-
Example:
tel:+919876543210
15. File URL
-
Local system ke file ko access karne ke liye.
-
Example:
file:///C:/Users/User/Documents/file.txt
16. Custom Protocol URLs
-
Apps ya services ke liye custom protocol use hote hain.
-
Example:
spotify:track:6rqhFgbbKwnb9MLmUQDhG6
-
Ye directly app me open hota hai.
Advanced URL Types Summary Table
| Type | Description | Example |
|---|---|---|
| IP Address | Direct server IP | http://192.168.1.1 |
| Data | Embed small resource | data:text/plain;base64,... |
| Mailto | Email client | mailto:info@example.com |
| Tel | Phone call | tel:+919876543210 |
| File | Local system file | file:///C:/file.txt |
| Custom Protocol | App-specific URL | spotify:track:... |
- Get link
- X
- Other Apps
Comments
Post a Comment