seekshiva / courses

http://courseshub.in
GNU General Public License v3.0
5 stars 3 forks source link

Dynamic page titles #84

Closed seekshiva closed 10 years ago

seekshiva commented 10 years ago

Page title is "Courses" for all pages within the backbone app now.

This will be important when Google starts indexing the app.

nobelium commented 10 years ago

Not all bots use javascript. Title should be changed while rendering the dashboard view. This is totally possible but will need a db read. Is it ok to do a db read just to render the dashboard and again reply to the json request from the backbone app.

http://stackoverflow.com/questions/413439/how-to-dynamically-change-a-web-pages-title

seekshiva commented 10 years ago

Thats probably not the case with google (https://www.google.co.in/search?hl=en-IN&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=&cr=&as_qdr=all&as_sitesearch=courseshub.in&as_occt=any&safe=images&tbs=&as_filetype=&as_rights=)

I also saw help/contacts/about pages in the search results few days back. Thats seems to have been removed now.

nobelium commented 10 years ago

It has found out that there are some links like that on that site. Y hasn't it found out other department? Google would not have enabled js so it wouldn't have seen other department links. Some one might have searched of EEE dept so it has tried to go to that department luckily it found that such a link exists so its available.

nobelium commented 10 years ago

Anyways, this issue will be resolved before launch.