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 全部备份安卓app数据包括密码,可以复制到另一手机上运行
  • ¥15 Python3.5 相关代码写作
  • ¥20 测距传感器数据手册i2c
  • ¥15 RPA正常跑,cmd输入cookies跑不出来
  • ¥15 求帮我调试一下freefem代码
  • ¥15 matlab代码解决,怎么运行
  • ¥15 R语言Rstudio突然无法启动
  • ¥15 关于#matlab#的问题:提取2个图像的变量作为另外一个图像像元的移动量,计算新的位置创建新的图像并提取第二个图像的变量到新的图像
  • ¥15 改算法,照着压缩包里边,参考其他代码封装的格式 写到main函数里
  • ¥15 用windows做服务的同志有吗