XenForo Robots.txt and NoIndex Rule

AynaZ

Supervisor
  • Thread starter
  • Admin
  • #1
Step 1 :

One misconception that we see often is the use of robots.txt for noindexing of content

یک تصور غلط که ما اغلب می‌بینیم ، استفاده از robots.txt برای noindexing محتوا است

Step 2 :

Disallowing search engines to crawl a specific directory on your site does not mean search engines will not index it. The best practice for this case is to use the meta robot tags

موتورهای جستجوی Disallowing برای خزیدن یک دایرکتوری خاص در سایت شما به این معنی نیست که موتورهای جستجو آن را شاخص نخواهند کرد . بهترین روش برای این مورد استفاده از برچسب‌های meta ربات است

Step 3 :

For example, a forum owner would like Google not to index any of their XenForo member’s pages. This can be achieved by placing the following meta tag right before the closing </head> tag inside of the member_view template

لطفا در داخل فایل ارائه شده کد فوق رو قبل از بسته شدن تگ قرار دهید

Step 4 :

Code:
<xf:head option="metaNoindex"><meta name="robots" content="noindex" /></xf:head>

https://server.xnforo.ir/uploads/7e2f756e97552.png
 
  • Tags
    robots.txt robots.txt and noindex rule
  • Back
    Top Bottom