Tell us what you are trying to do?
We're running SEO checks now that the site is up, and we're finding "unfriendly URLs" on the home shop page, such as anything with the add-to-cart button. For example, outputting "?add-to-cart=29081" for a product to auto-add to the cart.
Our template code is:
<div style="container">
<div class="onlinesystems-template-view">
<div class="view-templatecenter">
[wpv-post-featured-image size="shop-products"]</div>
<div class="row">
<div style="link-price">
<h4>[wpv-post-link]</h4>
<h5>[wpv-woo-product-price]</h5>
</div>
</div>
<div class="btn-group onlinesystems-template-buttonblock">
<span>[wpv-woo-buy-or-select]</span><span>View</span>
</div>
</div>
</div>
So I'm wondering if it has to do with the wpv-post-url? Since I'm still learning your system, this is a bit of a curve right now.
Is there any documentation that you are following?
I searched in the help forums and attempted to look at the docs, but there's so much info it's like trying to herd cats.
Is there a similar example that we can see?
I attached a screenshot of what we'd like to clean up with the add-to-cart buttons.
What is the link to your site?
hidden link
Hello,
I assume we are talking about the shortcode [wpv-woo-buy-or-select], see our document:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-woo-buy-or-select
There isn't such an option can output the "friendly URLs", if you agree, we can take it as a feature request, our developers will evaluate it.
Is there any way to alter this output via functions.php perhaps? I'm not one of your developers, so I'm not sure if this is possible, but could you find out from one of your developers on the team?
And yes, please do forward this feedback, because I feel this is needed. When it comes to SEO, these little things do matter. It would be nice for your plugin to allow PHP/Apache rewrites... something... to clean this output/URL up.
Also, we're having this same issue:
https://toolset.com/forums/topic/views-extra-css-ie7-and-extra-css-added-for-maps/
Again, no attention is being paid to SEO, and this is disappointing. The forum mentions something about being able to dequeue these in an upcoming release... has that happened? Can we remove them somehow?
Q)Is there any way to alter this output via functions.php perhaps?
No, there isn't any existed "alter this output via functions.php", as I mentioned above, if you agree, we can take it as a feature request.
For other new question, please check the new thread:
https://toolset.com/forums/topic/split-add-to-cart-button-clean-url-output/
Yes, please add this to the development request, it needs to be part of your product. For me personally, I will hesitate on using this product again due to this, because non-clean plugins kill SEO scores.