Question on URL format for SC/SCA... site builder ...
# suitecommerce
f
Question on URL format for SC/SCA... site builder category URLs end in a /, but by default SCA categories don't. Is it possible to change this, so we can reuse category URLs when migrating to SCA?
s
Unfortunately I think the answer is no. Commerce category URLs can only us alphanumeric plus _ and -. You may be able to set up redirects for that
I am rather puzzled that we don't handle the routing consistently. Trailing slashes are allowed for other parts of the SPA but don't seem to work for commerce categories 🤔
f
Thanks for the reply. That's fairly frustrating, as 301 redirects will hurt SEO a bit. I just did a test and found that adding the / to the end of a commerce category page works fine (loads the page like normal, although the canonical url doesn't have the slash), it doesn't auto redirect as I expected. Luckily a manually created redirect does. At least there's a solution. Sure would be nice to not have to take a SEO hit to migrate from SB to SC/SCA. Are there plans to allow us to change that url format?
s
I have asked.
Ultimately I think it comes down to how the routes for the commerce categories are generated. Commerce categories are quite special things, so it's entirely possible this was not captured as a use case at the time
And I don't think you should get hit too bad if you set up the 301s correctly. https://www.searchenginejournal.com/301-redirect-pagerank/275503/
f
Thanks for that... it doesn't sound too bad. I have seen some rankings drop when using a bunch of 301s during a migration, but maybe things have changed since then. It would be great if we didn't have to manually create a bunch of 301s and could just reuse the URLs from SB, hopefully that will be an option someday.