douren6874 2014-09-25 14:31
浏览 48
已采纳

搜索引擎未编入索引的子文件夹

Early this year I registered a domain and installed Joomla and Wordpress to try out difference themes and features. Less than days later the main domain and a sub-folder got indexed by google as following:

  • www.example.com (Wordpress installed in the public_html folder)
  • www.emample.com/portal (Joomla installation files)

About two weeks ago I cleaned up everything and did the following:

  • Created a simple HTML5 document (index.html) and placed in the public_html folder
  • Created a sob folder called "wiki" (Dokuwiki installation files) www.emample.com/wiki
  • Created a sob folder called "blog" (Wordpress installation files) www.emample.com/blog

Since than, only main page index.html has been indexed by google even though its has links to "wiki" and "blog". Both Wordpress and Dokuwiki have friendly URL (thanks to .httacess)

How could a get my sub-folders indexed by Google? Note: I do not have sub-domains.

Update 1:

The website: http://goo.gl/vVvyr9

  • 写回答

1条回答 默认 最新

  • dongzhizhai4070 2014-09-26 10:35
    关注

    I've listed some topics relevant to your question:

    robots.txt

    This file instructs the search engine crawler what folders or files it should not index. So make sure your subfolders are not listed here. More information on: http://www.robotstxt.org/

    User-agent: *
    Disallow: /cgi-bin/
    Disallow: /tmp/
    Disallow: /~joe/
    

    nofollow & noindex

    NoFollow attributes can be listed in the page header or on the links themselves. It tells the search engine crawler that certain links or whole pages should not be indexes.

    <html>
    <head>
    <title>...</title>
    <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
    </head>
    

    More info: http://www.robotstxt.org/meta.html

    <a href="signin.php" rel="nofollow">sign in</a>
    

    More info: https://support.google.com/webmasters/answer/96569?hl=en

    Sitemaps

    Sitemaps are files containing location links to all your pages, making it easier for the search engines to index them. Consider submitting a sitemap in Google Webmaster Tools.

    Content:

    Google has some great guidelines for content and webmasters, make sure you are as compliant as you can be to maximise your search visibility.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥30 类鸟群Boids——仿真鸟群避障的相关问题
  • ¥15 CFEDEM自带算例错误,如何解决?
  • ¥15 有没有会使用flac3d软件的家人
  • ¥20 360摄像头无法解绑使用,请教解绑当前账号绑定问题,
  • ¥15 docker实践项目
  • ¥15 数电几道习题,写出作答过程,ai一律不采用
  • ¥15 利用pthon计算薄膜结构的光导纳
  • ¥15 海康hlss视频流怎么播放
  • ¥15 Paddleocr:out of memory error on GPU
  • ¥30 51单片机C语言数码管驱动单片机为AT89C52