Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
The blog to upgrade to WordPress 2.2, hanging Google AdSense ads, click on a few archive page found that all the public service ads, looked up the reason, the original page, archive page, category the URL of the backslash is missing. There is no backslash page and with the reverse slope of the page, Google AdSense spider think is two pages, no backslash page is considered a new page, naturally no ads match.
Original Address http://sheawey.com/blog/2007/06/
Changed address http://sheawey.com/blog/2007/06
This is a very serious problem for SEO, it is easy to copy webpage, and may enter "supplementary material". You can learn from the following search screenshots of a blog:
Not a supplemental material.
It's a supplemental material.
Because the search engine was included in the time is with a backslash, if now without a backslash, the formation of "supplementary material" is secondary, I worry that my blog will be Google punishment, similar to the "Black Dream SEO blog."
Generally in WordPress 2.2 background open permalink is not going to show me this situation, such as point stone interaction is not. I have this problem mainly because I set the permalink to/%postname%.html, and the average person is set to/%year%/%monthnum%/%day%/%postname%/, the latter is no problem, The former in the WordPress 2.2 has been the problem of the backslash.
How to solve this reverse slope pole?
You can write rewrite URL rules in the. htaccess file, I have directly modified several files, as follows:
wp-includes/link-template.php
193 line, find the Get_month_link function, this function is about the month file, modify
Return apply_filters (' Month_link ', get_option (' home '). User_trailingslashit ($monthlink, ' month '), $year, $month);
For
return apply_filters (' Month_link ', get_option (' home '). User_trailingslashit ($monthlink, ' month '), $year, $month) .' /';
wp-includes/link-template.php
117 lines, find the Get_page_link function, this is about page, modify
return apply_filters (' Page_link ', $link, $id);
For
return apply_filters (' Page_link ', $link, $id). " /";
wp-includes/category-template.php
23 Line, find the Get_category_link function, this is about the classification of category, modified:
return apply_filters (' Category_link ', $catlink, $category _id);
For
return apply_filters (' Category_link ', $catlink, $category _id). ' /';
Author: Sheawey posted on: 2007-06-15 02:40 Last modified: 2007-06-16 12:48
Copyright NOTICE: You can reprint, reprint, please be sure to hyperlink form to indicate the original source and author information and this copyright notice.
Upgrade to WordPress 2.2 Permalink back slash problem