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.
- Log into Commerce7
- Go to Developer > Frontend V2
- 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).
- Log into Commerce7
- Go to Developer > Frontend V2
- 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.
Updated over 2 years ago