Overriding Page Routes

Router Type

By default, the router type used will be "Browser" and this works with most CMS systems. For systems that are not compatible with Commerce7's default URL type (such as Squarespace), you can now change the router type to Hash.

  1. Log into Commerce7
  2. Go to Developer > Frontend V2
  3. Under Router Type, select Hash.

One thing to note, is that when using Hash URLs and linking to Collection page URLs, they will now have a "#" after "collection". For example: /collection#/wines. Remember to add the hash when linking to any collection page. All other URLs will adjust automatically.

Changing Routes

If you need or want to change Commerce7's base URLs, you can now edit them through Admin. This might be required if you're using a CMS system that has reserved URLs like Squarespace (ie. Commerce7 can't use the URL because it's already in use by the other system).

  1. Log into Commerce7
  2. Go to Developer > Frontend V2
  3. Under Base Routes, you can update the base URLs for all of Commerce7's default URLs.

๐Ÿ“˜

If you're working with Squarespace, you can find step-by-step instructions on changing routes in this doc.