Creating a URL shortcut


You can rename URLs within your site using the URL Rewrite setting to give long URLs a shorter, simpler location for visitors accessing your pages.  You can also choose to create an on-domain 301 or 302 redirect or an external redirect to point to an external site page. See this guide to better understand 301 and 302 redirects.

Step 1 - Access Shortcuts

From Website Management > Structure, navigate to the URL Shortcuts tab.

Add URLs

Enter the site-relative URL you want to create in the "Shortcut URL" field. For example, to create a new shortcut location here:

You would enter welcome/ in the "Shortcut URL" field, leaving off from the URL.

Add the existing site-relative URL you want to shorten in the "Existing URL" field. For example, to shorten this URL:

You would enter:

journal/2008/7/17/welcome.html leaving off from the URL.

After adding this, choose the Navigation Method you want to use for this from the drop-down menu.  Not sure which method to choose?  See this FAQ entry for clarification.

After entering the records click the Update Information button to save your changes.

Redirect to an External URL (optional)

You can also create URL redirects so that the Shortcut URL points to an external URL if you wish. To do this, simply enter the Full URL for the external redirect within the Target URL field and then enter the new Shortcut URL, which will redirect to the external page, within the Shortcut URL field. You will need to select either the 301 or 302 redirect options in order to redirect to an external URL.

Note: If you change your podcast host from Squarespace to a podcasting service and need to redirect your podcast feed URL to this new external feed URL, you can use this external 301 redirect. This will prevent subscribers from having to re-subscribe to the podcast. We have more information on redirecting your Podcast here.

Access Page

If you choose the URL rewrite method, you will now be able to access your page at the original URL, as well as your new, shorter URL.  If you choose the 301 or 302 redirect options, visitors accessing the old URL will be automatically redirected to your page at the new location.

Note: You can modify or shorten URLs for files in your file storage as well.
Note: In order for a shortcut to accept a URL that may or may not have a trailing slash, the shortcut must be specified to do so:

"shortcut/" will match a url for "" and ""

The trailing slash in the shortcut tells the site server to check for both possibilities.
Note: Shortcut URLs must use unique url identifer names and are case sensitive. If a url name (e.g.: /home/ ) is already in use on another page in your site, it will not successfully redirect. You cannot use the same url name for multiple pages in your site.
Note: You cannot use wildcards to redirect a URL and any subsets of that URL, like blog/*. The URL Shortcuts do not support wildcard redirects at this time.
Was this article helpful?
1 out of 1 found this helpful