LinkPreve

URL Anatomy: How to Read a Link, Part by Part

Almost every phishing trick is a reading trick. The scammer is not hiding the destination — they are counting on you reading the link quickly, seeing a familiar word, and stopping there. If you learn to read a URL the slow way, part by part, most of those tricks stop working. This guide walks through a real-shaped example and names every part.

Take this link: https://secure-login.paypal-verification.example.com:8443/account/confirm?session=abc123#top

The scheme: how your browser will talk

The part before :// — here https — is the scheme. https means the connection is encrypted; http means it is not. Encryption matters, but it says nothing about who is on the other end — a phishing site can have a perfectly valid certificate. Treat the scheme as a minimum requirement, never as proof of honesty.

The host: the only part that identifies the site

Everything between :// and the next /, ?, # or : is the host — the address of the server you are actually talking to. In our example the host is secure-login.paypal-verification.example.com. This is the single most important part of any link, and it is read from right to left.

The real (registrable) domain

The registrable domain is the last two labels of the host — example.com — sometimes three when the suffix is a two-part public suffix like co.uk (so shop.example.co.uk has the registrable domain example.co.uk). This is the part someone had to register and pay for, and it is the only part that tells you whose site it is. In the example, the site belongs to whoever owns example.com — not to PayPal, no matter how many times the word "paypal" appears elsewhere.

Subdomains: free, unlimited, meaningless

Everything to the left of the registrable domain is subdomains. The owner of a domain can create as many as they like, with any names they like, at no cost: paypal.com.secure-login.example.com is still just example.com. Scammers stack reassuring words here — secure, login, account, a bank's name — because most people read left to right and relax before they reach the part that matters. Read the host right to left instead: find the registrable domain first, then decide.

The port

A number after a colon in the host — :8443 — is a port. Browsers normally use 443 for HTTPS and 80 for HTTP and hide those defaults. An unusual port in a link from a message is a small warning sign: legitimate login pages almost never need one.

The "@" trick

If a link contains an @ before the host, everything before the @ is treated as login information and ignored for routing: https://paypal.com@evil-example.net/ goes to evil-example.net, not PayPal. Browsers may warn about this, but the safest habit is simple: a link to a login page should never contain an @.

The path: where on the site

The path — /account/confirm — is just a folder-like address inside the site. It costs nothing to create a path called /paypal/login/secure, so words in the path prove nothing. Paths matter for a different reason: a link that ends in a file name like .apk, .exe, .scr or .zip is a download, not a page, and downloads from unexpected messages are a classic malware route.

The query string: instructions and tracking

After ? come parameters like session=abc123 or redirect=…. Two deserve attention. Parameters named redirect, url, next or return can carry a second destination hidden inside the first — sometimes encoded so it is hard to read. And long random-looking values are often session or tracking identifiers; forwarding such a link can forward access or identity information with it.

The fragment: the part after #

The fragment (#top) is handled entirely by your browser and is never sent to the server. It is mostly harmless — but it is also invisible in effect, so a link can look longer and more official than it is by padding the fragment.

A 10-second reading routine

  1. Find the host: everything between :// and the next /.
  2. Read it right to left and name the registrable domain. Is it exactly the domain you expect — paypal.com, not paypal-verification.com?
  3. Check for an @, an unusual port, or an IP address instead of a name.
  4. Glance at the end of the path: are you being sent a file download?
  5. If anything feels off, do not negotiate with the link — open the service yourself from your own bookmark or app.
Try it: paste any link into the LinkPreve scanner and compare your reading with the "Link breakdown" panel — it separates the protocol, real domain, subdomains, port, path and query exactly as described here.

References and further reading