Product tag pages

4 months ago
Since I don't have a visible feature for removing product tag pages from indexing, is there another way to do this? Url slugs for product tag pages are the same as category pages. There is no difference.

https://www.alles.hr/led-rasvjeta-2 -> category page

https://www.alles.hr/led-rasvjeta -> product tag page

I can't edit this product tag page. I can't add a meta title, meta description, or body text so this page is useless in terms of SEO. Furthermore, this page is diluting my SEO efforts.

Do you have any suggestions for no index product tag pages on google?
4 months ago
inottoni wrote:

I can't edit this product tag page. I can't add a meta title, meta description, or body text so this page is useless in terms of SEO. Furthermore, this page is diluting my SEO efforts.

You can modify this page
Your theme/Views/Catelog/ProductsByTag.cshtml
Or
Views/Catelog/ProductsByTag.cshtml

https://github.com/nopSolutions/nopCommerce/blob/develop/src/Presentation/Nop.Web/Views/Catalog/ProductsByTag.cshtml
And put your meta tags based on Model.TagName
//Rashed
4 months ago
Thank you for your reply!

So I can exclude those pages from indexing as well?
4 months ago
Also, I want to remove product-tag pages as canonical. Do you have any suggestions?
4 months ago
inottoni wrote:

So I can exclude those pages from indexing as well?

try after using
 NopHtml.AppendHeadCustomParts("<meta name=\"robots\" content=\"noindex, follow\">");
at ProductsByTag.cshtml page
related thread how can i add meta tags no-index follow

or you add all page link at robots.custom.txt as disallow paths
for more check this link Noindex and Nofollow
//Rashed
4 months ago
{
    Layout = "~/Views/Shared/_ColumnsTwo.cshtml";

    //title
    Html.AddTitleParts(string.Format(T("PageTitle.ProductsByTag").Text, Model.TagName));

    //canonical URL
    var canonicalUrlsDisabled = EngineContext.Current.Resolve<SeoSettings>().CanonicalUrlsDisabled;
    if (canonicalUrlsDisabled)
    }

Is this how the code should look like in order to disable canonical urls?
3 months ago
could anyone help with these? thank you!