1. Home
  2. Docs
  3. Understanding HighWayPro
  4. URL Structure

URL Structure

HighWayPro short URLs are composed of the following components:

A single-segment, unique path:

example.com/mypath

A two-segment path, where the first segment is a base that can be shared across different short urls and a second, unique segment:

example.com/base/mypath

No more than two segments are supported.

HighWay has support for WordPress sites pointed at the root of the domain (example.com), at a base directory (example.com/blog) or pointed at a subdomain (mysite.example.com)

Path Rules

Path segments may only be composed of lower and/or uppercase letters, numbers and hyphens (-). Only letters from the latin alphabet (A to Z) are accepted. Spaces are not allowed.

The following are examples of valid paths:

  • example.com/mypath
  • example.com/my-path
  • example.com/5572
  • example.com/my-very-long-path
  • example.com/5572/my-path
  • example.com/9867/9867
  • example.com/this-is-IMPORTANT

The following are examples of invalid paths:

  • example.com/my path
  • example.com/my+path
  • example.com/my_path
  • example.com/ßüąé
  • example.com/()_ç,?%[email protected]
  • example.com/first/second/third

Compatibility with existing WordPress endpoints

HighWayPro short URLs will take precedence over WordPress URIs. For example, if you created a page with the name “mypage”, WordPress would serve that page under the URL: example.com/mypage. If you created a short URL with the path /mypage, HighWayPro would take control of the request and the page “mypage” would not be served. The same applies for two-segment paths.

Was this article helpful to you? Yes No

How can we help?