AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Closed] Want to disable sitemaps

2 Posts
2 Users
0 Reactions
1,991 Views
Posts: 10
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@chs2019)
Active Member
Joined: 7 years ago
[#13535]

My site is private, and I do not want search engines to access it or bots to know the file structure.  I followed the instructions in post-41787 (harveysamui) - I disabled the User Profile Page indexing options in Dashboard > Forums > Settings > Features admin page, and I added the text below to functions.php, then deleted the cache:

function custom_wpforo_seo_options($options){
   $options['topics_sitemap'] = 0;
        return $options;
   }
add_filter('wpforo_seo_options', 'custom_wpforo_seo_options');

Neither of these worked; I still have complete access to the sitemaps.  I am running wpForo 1.7.0.  Any other options?

Thank you.


1 Reply
Alvina
Posts: 1857
Moderator
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@alvina)
Member
Joined: 7 years ago

Hi @chs2019,

Please follow this support topic:  https://wpforo.com/community/how-to-and-troubleshooting-2/uploads-get-indexed-by-search-engines/#post-35509


Share: