Need to implement rel="nofollow" on main menu items.

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
12/12/2013 9:57:10 PM
Gravatar
Total Posts 44
Regards, Dilip Wanave

Need to implement rel="nofollow" on main menu items.

Hi,

I want to add rel="nofollow" to the main menu links, I gone through the code and found that we can add it by editing the FlexMenu.cs, but its not a good idea to fork the code.

Is there any alternative so that I can add rel="nofollow" to main menu items.

 

Thanks,

Dilip

12/13/2013 10:56:22 AM
Gravatar
Total Posts 18439

Re: Need to implement rel="nofollow" on main menu items.

Hi,

Please explain why you think a menu should have nofollow on the links?

This seems like a very bad idea to me, see this discussion, especially:

"Google uses links on your site.
It uses them to go from page to page.
It uses them to identify/figure out what they page they link to should be about
It uses them to work out how import a page is in relation to other pages
It uses them to pass link value/page rank between/from/to pages

Using NoFollow without careful thought/consideration can cause some pretty strange behavior!"

I think google knows what a menu is especially if using html 5 nav element around it and I don't think it would be a good idea to put nofollow on the menu links. Seems like you are trying to avoid some penalty for internal links but the idea to put nofollow on menu links seems misguided to me.

You can always add a robots noindex meta to the page from page settings on pages that you really don't want google to index.

Best,

Joe

12/13/2013 11:15:25 AM
Gravatar
Total Posts 18439

Re: Need to implement rel="nofollow" on main menu items.

See this youtube video about nofollow on internal links by Matt Cutts of google, he says it is not a good idea.

12/13/2013 12:18:19 PM
Gravatar
Total Posts 18439

Re: Need to implement rel="nofollow" on main menu items.

fyi, from my googling on this I've seen that other cms systems such as wordpress provide a way to do this, therefore I intend to make it possible from page settings. But I will still advise caution on doing this because it doesn't seem like a good idea even if some people are doing it.

12/15/2013 10:42:26 PM
Gravatar
Total Posts 44
Regards, Dilip Wanave

Re: Need to implement rel="nofollow" on main menu items.

Thanks Joe for detailed information,

I want to add it just search engine not to crawl those links/pages.

"You can always add a robots noindex meta to the page from page settings on pages that you really don't want google to index." does it means uncheck the checkbox of "Include in search engine site map?"?

We will implement the things which are default settings of mojoPortal instead of modifying the code and check for the results.

 

Thanks Dilip

12/18/2013 10:24:10 AM
Gravatar
Total Posts 18439

Re: Need to implement rel="nofollow" on main menu items.

fyi, this is now implemented in our source code repository

12/19/2013 12:25:11 AM
Gravatar
Total Posts 44
Regards, Dilip Wanave

Re: Need to implement rel="nofollow" on main menu items.

Thanks Joe for quick updates.

I found some error while site setup in "mojoportal-982c15619c30" and posted new forum here

 

Thanks

Dilip

 

You must sign in to post in the forums. This thread is closed to new posts.