在客戶的網站上有一系列位於不同頁面上的導師彈出窗口。如何在沒有頭標籤的情況下編輯載入AJAX的頁面?
的事情是,他們並不需要被noindexed,他們只是彈出式菜單在主頁上。如果直接加載鏈接,它們的樣式不正確。它們沒有正確的html或head標籤,因爲它們只是通過AJAX加載。
因爲它們沒有標籤頭,所以我不能添加元標籤。我是SEO n00b,我只知道基礎知識。但我當然不認爲我可以添加元標籤沒有頭標籤。所以我將它們添加到了robots.txt中。
我認爲這將是它的結束,但我的客戶正在使用SEOmoz工具欄,它說,他們仍然被跟蹤。我不認爲它是一個問題,我認爲它只是工具欄不檢查robots.txt,但他不斷地提出它。
我不知道該怎麼做,所以我想澄清一下,如果把這些鏈接放在robots.txt中將會起作用。這裏是我的robots.txt:
User-agent: *
Disallow: /wp-admin/
Disallow: /wp-content/
Disallow: /wp-includes/
Disallow: /wp-content/themes/launcheducation/tutor-ajax/*?
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=90&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=90
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=359&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=359
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=362&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=362
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=365&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=365
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=367&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=367
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=369&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=369
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=371&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=371
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=373&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=373
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=897&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=897
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=900&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=900
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=902&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=902
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1003&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1003
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1017&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1017
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1020&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1020
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1023&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1023
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1031&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1031
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1123&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1123
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1297&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1297
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1300&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1300
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1305&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1305
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1669&linker=home
Disallow: /wp-content/themes/launcheducation/tutor-ajax/?id=1669
是的,我也開始了與只是 「不允許:/可溼性粉劑內容/主題/ launcheducation /導師的Ajax/*?」當插件仍然不承認更改時,我將它們全部添加。對robots.txt也清楚地可加載在根目錄下:
http://launcheducation.com/robots.txt
任何幫助,將不勝感激,哪怕它唯一的肯定,我的說法是正確的,它只是不檢查機器人插件。文本。如果我錯了,當然,我想知道我該如何解決這個問題。
在此先感謝。
我忘了所有關於使用標題。我應該可以在wordpress中做到這一點,所以我會稍後再嘗試。如果我至少可以讓它停止在SEOMoz中出現,那將會很好,並且會讓他閉嘴。如果robots.txt或標題阻止了它,只要其中一個阻塞它就可以了。 ^^ – JaidynReiman