最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

cron - Use wp_remote_get() with a private or password protected page?

programmeradmin1浏览0评论

Is there any way to use the wp_remote_get() function to access a WordPress page that is either set to Private -OR- password protected (using the native password option in the post visibility settings)? The page I need to access is on the same site.

I am using this function in a cron event to access this page, but I don't want this page to be accessible by the public or search bots. Googlebot is ignoring my "noindex" on the page.

Thank you!

发布评论

评论列表(0)

  1. 暂无评论