nofollow on categories and entriesHi, can this be done?
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
nofollow on categories and entriesHi, can this be done?
Hi,
I want to be able to select which categories and entries should use the rel="nofollow" tag from the sidebar category list or overview page for entries.
Let me explain, at the moment, all categories and entries are followed by default when the googlebot visits my site. What I want to do is put a nofollow into the category link for personal entries, and I also want to put the nofollow into selected entries if they a cr@ppy personal entries rather than meaty keyword rich articles.
So, can we have a radio box added in the admin screen for categories to add the nofollow for the category. This would mean that anytime the category is linked to, either in the sidebar, or in the entry footer, the rel="nofollow" would be added.
Can the same thing be added when creating or editing an entry so that when the entry is displayed in an overview page or the search results we can also specify the rel="nofollow" attribute?
Thanks,
I want to be able to select which categories and entries should use the rel="nofollow" tag from the sidebar category list or overview page for entries.
Let me explain, at the moment, all categories and entries are followed by default when the googlebot visits my site. What I want to do is put a nofollow into the category link for personal entries, and I also want to put the nofollow into selected entries if they a cr@ppy personal entries rather than meaty keyword rich articles.
So, can we have a radio box added in the admin screen for categories to add the nofollow for the category. This would mean that anytime the category is linked to, either in the sidebar, or in the entry footer, the rel="nofollow" would be added.
Can the same thing be added when creating or editing an entry so that when the entry is displayed in an overview page or the search results we can also specify the rel="nofollow" attribute?
Thanks,
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: nofollow on categories and entriesHi, can this be done?
Hi!
For entries you can solve that with custom entry properties and a customized entries.tpl template.
For categories, you could patch the "extended properties for categories"plugin and add a new option for that.
I'm not a friend of nofollow, so I can't offer actual helpon patching the plugin.
Regards,
Garvin
For entries you can solve that with custom entry properties and a customized entries.tpl template.
For categories, you could patch the "extended properties for categories"plugin and add a new option for that.
I'm not a friend of nofollow, so I can't offer actual helpon patching the plugin.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
Cool, I'll try them both out. I'm not a big fan of nofollow either but when doing SEO it is sometimes necessary. One of my sites makes really good money for its major keyword phrases but some of the pages aren't directly related and they drag the PR down, so I need this. Once I get it working I'll write a tutorial for other users.
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
That's the serendipity_event_categorytemplates plugin I meant. But beware, this plugin does not support custom "category templates", like the "entryproperties" plugin does. This plugin definitely needs PHP code altering to do what is required for no-follow.
Well, of course you could "abuse" the "category description". Enter "nofollow" there (or whatever else you will later check) and then you can check for it thorugh $category.category_description in entries.tpl loops and/or in the plugin_categories.tpl template file.
Regards,
Garvin
That's the serendipity_event_categorytemplates plugin I meant. But beware, this plugin does not support custom "category templates", like the "entryproperties" plugin does. This plugin definitely needs PHP code altering to do what is required for no-follow.
Well, of course you could "abuse" the "category description". Enter "nofollow" there (or whatever else you will later check) and then you can check for it thorugh $category.category_description in entries.tpl loops and/or in the plugin_categories.tpl template file.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
I'm convinced that it does work which is why I'm so keen to make use of it. The Serendipity engine is in my humble opinion the best blog package available, and the way mod rewrite works with s9y entries is pure genius. I'd really like to see more SEO functions built directly into Serendipity rather than have to keep hacking bits.
So, shall we start a new Serendipity group for members who either make money online, or use Serendipity for their business, or who are interested in SEO. We can either get a new forum here, or I could upload some forum software to the back of the s9y-users directory. What say everyone?
So, shall we start a new Serendipity group for members who either make money online, or use Serendipity for their business, or who are interested in SEO. We can either get a new forum here, or I could upload some forum software to the back of the s9y-users directory. What say everyone?