21309 Posts in 5738 Topics by 2603 members
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|Go to End|
19 February 2010 at 7:23am Last edited: 19 February 2010 8:47am
Has anyone ever fixed the issue of the "Not indexed" option in the Google Sitmap tab?
I removed a few lines of code and was able to make it stay, but now it is not doing the work of "Not indexing" the page in the sitemap.xml file.
Only pages where I turn off the menu and search in the behavior tab, shuts them off, but I need the pages in the menu for permission based pages.
What is Show in Search anyway? What does it do? I'm guessing it is for search results using the search box option.
Any help please!
19 February 2010 at 8:46am Last edited: 19 February 2010 8:46am
This is what I did and it seems to work...
Changed this on line 167 from:
'' => _t('SiteTree.PRIORITYAUTOSET','Auto-set based on page depth'),
'-1' => _t('SiteTree.PRIORITYAUTOSET','Auto-set based on page depth'),
Then on line 227, I changed
When you make a new page, it will default to the right level, when you save on "Not indexed" it saves and remove the page from the sitemap.xml file. However, the auto level does not work - good for me!
|Go to Top|