Every time I change quantity or a matrix option on...
# suitecommerce
f
Every time I change quantity or a matrix option on a SCS product page, it adds an annoying query string parameter to the page, which will cause search engine indexing problems. How do I turn this off?
It adds the query string to the page URL, in case that wasn't clear
s
How exactly is it causing indexing problems?
f
by creating duplicate content... search engines see every unique URL as different and will try to index it by default. https://www.hallaminternet.com/avoiding-the-seo-pitfalls-of-url-parameters/ here's google's article on parameterized duplicate content: https://support.google.com/webmasters/answer/6080548?hl=en I'm also surprised to not see a canonical URL tag in the item detail page... why isn't that there by default?
s
I'm also surprised to not see a canonical URL tag in the item detail page... why isn't that there by default?
That was my question (in disguise). We include canonical tags by default
If you share a URL of a problematic PDP I can take a look
f
here is a SCS PDP page on one our customer's sites - there's no canonical https://www.newoconnect.com/T-Post?quantity=1&color=Black although that item is part of an item collection that requires a login (no visibility for anon users), and the publically viewable items have the canonical tag. It's kind of weird that nothing loads at all on the PDPs that require a login to see, it would be nice to have a more graceful way of handling that situation (like a reminder to login)
s
OK so when I visit that page I should expect to see nothing?
What's actually happening here?
Also, if the problematic page is not discoverable anonymously, why are you doing SEO on it?
f
at first I didn't realize that it only applied to PDPs in that PCV... I guess the SEO doesn't matter if search engines can't see the pages anyway. So my question has morphed into wondering if there's a better way to handle a user who opens a bookmark after being logged out and sees a blank page with no message letting them know that they need to be logged in so they can see the content
s
Ah, that's interesting.
So you're saying the default functionality of a PCV for a product on your site for a logged-out user is a blank screen?
f
correct
s
OK, let me see if I can find more information. I am surprised if that's the case
@Fourth Wave Consulting Did you submit a case for this? Or have you resolved it?
f
I'll submit a case, do you know what the functionality SHOULD be when trying to access a PDP page that doesn't include not logged in users?
s
Honestly, my guess is that this isn't a bug per se but rather not something included in the feature. If you have a suggestion for what should happen, include it in the ticket. And let me know the ticket number so I can highlight it to the PM who owns this
f
I think the best case scenario would be to show the rest of the page template - header/footer/etc, and display a customizable message where the PDP content should be. There should be different messages for each situation - logged in but not in the right group, not logged in, etc. The case # is 4038667 Thanks for your help!