SEO & WordPress: Changing category links manually

I'm not too sure about SEO on WordPress as I read somewhere (I think) that Google penalises category pages for duplication and was hoping someone could tell me whether or not it's a good idea to cut out the links to the category pages all together?

My permalink structure for my main navigation does not link to the category pages. I have created a page specifically for tutorials like so:

myurl.com/tutorials/tutorial-type

and then on the pages there is an if-statement that gets posts from a specified category for that page.

so myurl.com/tutorials/tutorial-type will get only posts in the tutorial-type category.

What i'm planning is instead of using the:

<?php the_category(', '); ?>

in the typical Posted in: Tutorials format under the title of the post to a quick function that will direct someone to the main page for that category. like so:

function changeCategoryToPage() {

    if (in_category( 'tutorial-type' )) { ?>
       <a href="<?php bloginfo('url'); ?>/tutorials/tutorial-type">Tutorial Type</a>
    <?php }

}

I would appreciate your feedback and wisdom :)

链接地址: http://www.djcxy.com/p/62522.html

上一篇: GitHub Pages和Jekyll内容重复和SEO问题

下一篇: SEO和WordPress:手动更改分类链接