WordPress.org

Ready to get started?Download WordPress

Forums

robots.txt and SEO (5 posts)

  1. jtt89
    Member
    Posted 1 year ago #

    I was told to use this code to avoid issues of duplicate content with Google, but at the same time I am using Categories as my main navigation and I think that it would be better to get it indexed, since I am using a lot of keywords in category names (actually 100% of them are keywords). I was also going to add Categort descriptions and display them on pages to further improve SEO.
    So basically I am wondering if there is a way to get around that and spider categories as navigation and allow spidering category pages (with h1 tags that I want to create) and at the same time avoid issues related to duplicate content etc...

    User-agent: *
    Disallow: /cgi-bin
    Disallow: /wp-admin
    Disallow: /wp-includes
    Disallow: /wp-content/plugins
    Disallow: /wp-content/cache
    Disallow: /wp-content/themes
    Disallow: /trackback
    Disallow: /comments
    Disallow: /category/*/*
    Disallow: /tag/
    Disallow: */trackback
    Disallow: */comments

    Thank you.

  2. soumen123
    Member
    Posted 1 year ago #

    Don't tag a single post for multiple categories...one post one category. You can use multiple tags for a single post, but use only one category.

    [ sig moderated ]

  3. jtt89
    Member
    Posted 1 year ago #

    Thanks. Another question would be if there is a way to temporary exclude front page posts (lets say 6) from showing on category pages (and keep it changing as new posts are written).

    I know that there is an "excerpt" plugin, but showing full posts would be a lot better.

  4. jtt89
    Member
    Posted 1 year ago #

    ...this would be probably rel="canonical" pointing to categories on the homepage...

  5. I was told to use this code to avoid issues of duplicate content with Google

    Don't need to worry about it. Google uses rel="canonical" and WP points that to what you define in your permalinks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.