zencart / zencart

Zen Cart® is a full-function e-commerce application for your website.
https://github.com/zencart/zencart/releases
Other
375 stars 233 forks source link

ROBOTS_PAGES_TO_SKIP not recognised #5973

Closed simon1066 closed 1 year ago

simon1066 commented 1 year ago

Not sure how I didn't notice this earlier. <meta name="robots" content="noindex, nofollow"> is not being added to the pages as defined in robots_pages_to_skip.php, due to the way in which the file has been formatted. This is since ZC v1.5.8 and was raised in this bug report, https://www.zen-cart.com/showthread.php?229206-Robots_pages_to_skip

Google has been indexing everything at will so I have temporarily re-formatted my defines to a single line entry.

scottcwilson commented 1 year ago

Thanks Simon. Will you PR?

simon1066 commented 1 year ago

I can. Are we to reformat robots_pages_to_skip.php or make edits to html_header.php and html_output.php as in that forum post?

scottcwilson commented 1 year ago

Use your best judgement.

simon1066 commented 1 year ago

okey dokey.