The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION Excluding public pages from sitemap
#1
I know this has been asked before (I searched for this and went over the answers) but I could find the solution I was looking for. Maybe I missed something, in which case I apologize in advance.

I have some pages on my site that I don't want search engines to list, so I want to exclude them from the XML sitemap. I know I can set a page to private to exclude it, but that would also make it unavailable to the public. I need these pages public, but not listed.

For example, one of these pages is a "Thank you" message that the user gets when he/she confirms the subscription to my email newsletter. It would be weird to have this listed on my sitemap and/or that it appears on the search engine results.

I'm already using the MetaRobots plugin to set these pages to noindex & nofollow. Now I just need to exclude them from the sitemap.

Is there a way to exclude specific pages from the sitemap, without setting them private? Thanks in advance.
Profesor de guitarra en Angel's Guitar
Reply


Messages In This Thread
Excluding public pages from sitemap - by angelsguitar - 2015-02-24, 21:11:44



Users browsing this thread: 3 Guest(s)