types of url ?

 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

  1. HTTP URL

    • Non-secure, older protocol.

    • Example:

      http://www.example.com
  2. HTTPS URL

    • Secure, encrypted, SEO ke liye preferred.

    • Example:

      https://www.example.com
  3. FTP URL

    • File transfer ke liye use hota hai.

    • Example:

      ftp://ftp.example.com/file.zip

8. Subdomain vs Main Domain URL

  1. Main Domain URL

    • Example:

      https://www.example.com
  2. 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

TypeDescriptionExample
AbsoluteFull addresshttps://example.com/page
RelativeDomain ke bina/page
StaticFixed URL/about-us
DynamicParameters included?id=123
SEO-FriendlyShort & keyword-rich/seo-tips
FragmentSection of page#reviews
Protocol-basedHTTP/HTTPS/FTPhttps:// / ftp://
SubdomainSeparate sectionblog.example.com
ShortenedShort URLbit.ly/xyz
InternationalizedNon-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

TypeDescriptionExample
IP AddressDirect server IPhttp://192.168.1.1
DataEmbed small resourcedata:text/plain;base64,...
MailtoEmail clientmailto:info@example.com
TelPhone calltel:+919876543210
FileLocal system filefile:///C:/file.txt
Custom ProtocolApp-specific URLspotify:track:...

Comments

Popular posts from this blog

Business ko listing websites par submit karna kya hota hai?"

Excel Basic Short Keys ?

Robots.txt SEO me kis purpose se use ki jaati hai?"