⚡ WordPress · Client-side · No data sent to server

Multisite URL Converter

Enter a base domain and a sub-site slug to see both the subdomain form and the subdirectory form side by side. Paste a full URL to convert it between the two layouts. Everything runs in your browser.

Subdomain form
Subdirectory form
Paste either layout. The tool detects which one it is and shows the other.
Converted
Enter a domain and slug to begin. Copied
Runs in your browser. URLs are parsed and rewritten on your device with plain JavaScript. Nothing is uploaded or stored.

About the Multisite URL Converter

The Multisite URL Converter shows how a single sub-site reads in both WordPress multisite layouts. Enter a base domain and a sub-site slug, and you get the subdomain form (slug.example.com) and the subdirectory form (example.com/slug) side by side, each ready to copy. You can also paste a full URL in either layout and get the other one back. This is useful when you plan a network, write search-replace rules, or check links before a migration. Everything runs in your browser, so nothing you type is uploaded.

How it works

  1. Type your base domain and the sub-site slug. The www prefix and a trailing slash are handled for you.
  2. Read both layouts side by side: the subdomain form and the subdirectory form. Pick the protocol and toggle the www prefix if you need it.
  3. To go the other way, paste a full URL into the convert field. The tool detects the layout and returns the opposite one.
  4. Click Copy on any result to grab it.

Features

  • Subdomain and subdirectory forms shown together, each with its own Copy button.
  • Two-way conversion from a pasted full URL, with automatic detection of the layout.
  • Sensible handling of trailing slashes and the www prefix, plus an http or https switch.
  • Query strings and hash fragments on a pasted URL are kept on the converted result.
  • Client-side only, with no accounts, no uploads, and no tracking.

Frequently asked questions

What is the difference between the two multisite layouts?

A subdomain network puts each sub-site on its own host, like shop.example.com. A subdirectory network puts each sub-site under a path on the main domain, like example.com/shop/. You choose one when you set up the network, and this tool shows both so you can compare them.

Can I convert a URL that already includes a deeper path?

Yes. Paste a URL such as https://shop.example.com/cart/checkout/ and the tool keeps the path after the slug, returning https://example.com/shop/cart/checkout/. Query strings and hash fragments are kept as well.

How does it decide which layout a pasted URL uses?

If the host has a label in front of the base domain, such as shop.example.com, it is read as a subdomain and converted to a subdirectory. Otherwise the first path segment is treated as the slug and converted to a subdomain.

Does it change my WordPress database?

No. This tool only builds and rewrites URLs as text. To update a live site you still run a search-replace, for example with WP-CLI, after you set the network type in wp-config.php.

Is anything sent to a server?

No. The domain, slug, and any URL you paste stay in your browser. The conversion is done with local JavaScript, so nothing is uploaded or logged.