I checked, it's working, the links in auth.navbar() now have the attribute 
rel="nofollow"

Massimo, many thanks for your work you are great! :)



El viernes, 11 de enero de 2013 06:11:11 UTC+1, Massimo Di Pierro escribió:
>
> Excellent idea, in trunk. Please check it.
>
> On Thursday, 10 January 2013 16:24:56 UTC-6, javierobcn wrote:
>>
>> Hello, this is my first message, thanks to all members of this comunity 
>> for the great work made in web2py.
>>
>> I'm having problems trying to optimize my app to SEO. 
>>
>> Basically i think that my problem is the function web2py auth.navbar() in 
>> gluon/tools.py, seems that this function are returning links without The 
>> attribute rel="nofollow", I guess that, obviously, the bot of google are 
>> following the links "register" "login" and "restore password" in each page 
>> in my site. This causes that google are indexing too many times this links. 
>> In my opinion, from a SEO perspective, this may need be corrected.
>>
>> Maybe one solution to this problem is change in auth.navbar() in tools.py 
>> lines 1314 to 1356 the links to include a new param _rel="nofollow" in the 
>> A() constructors. I tried this, now i need wait some days or more to see if 
>> links are dissapearing from google.
>>
>> what do you think about the change in auth.navbar ? i tried too create my 
>> own copy of navbar() but you don't think that the change must be in 
>> tools.py?
>>
>> More info about the attribute nofollow in links
>> http://support.google.com/webmasters/bin/answer.py?hl=en&answer=96569
>>
>> Thanks for your time
>>
>

-- 



Reply via email to