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.

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

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器