You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
How does the sitemap deal with visibility settings?
I want to have a page visible to certain customers (like a bonus page or a confirmation page). How do I set the visibility settings so that the page doesn't show up in the sitemap?
Thanks
Offline
If you set the visibility at all on the page so that only certain groups can access it, the page will not show in the sitemap - which produces the map based on what a guest user would see.
Offline
being able to set page visibility is a great feature since it essentially eliminates the need for a non-public dev site. However, when I set a product to be visible only to a certain group because its not ready for prime time, the product list (store->products) does not have any visual hints on what pages have visibility settings that are set. It would be a great improvement for CCP8 to add a bright red asterisk or someother visual cue to each product line item that alerts the user that visibility is not the norm... otherwise I am left having to keep a log in my notebook or just store it in my head (neither of which are reliable once i get past 1 or 2 invisible pages :-) - I hope you can add this feature someday...
thanks!
James
Offline
you can choose which columns appear in the the product management interface.
System > Database > Raw Database Admin
Then browse "core_columndefs" and look for "ecom_prod.prodview", then change "cbackendlist" to 1
Nigel
Offline
I have a landing page called "Discontinued" where I redirect discontinued products. I blocked this from Google in my robots.txt file but Google does not like that. How can I remove this from appearing in my sitemap without restricting the visibility of the page?
Offline
Edit the file {private}/core/CORE_SiteMap/CORE_SiteMap.php. In there you will see an SQL statement that pulls page info from the cms_html table. Modify that SQL to exclude the id of the page in question.
Offline
Here is the page in question:
https://snakeclamp.com/discontinued
I see this SQL:
$sql = 'SELECT id, dispname, seourl FROM ' . $table . ' WHERE ';
How do I exclude a page?
Thanks
Offline
Thanks NIck. You rock!
Offline