Welcome our webmaster and SEO forum
Please enjoy the forum, contribute what you can, and wind up the Moderators!
Closed Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: Dynamic Title for Pages For Optimization.

  1. #1
    amit's Avatar
    amit is offline Senior Member amit is on a distinguished road
    Join Date
    Feb 2008
    Location
    India
    Posts
    210

    Default Dynamic Title for Pages For Optimization.

    I am messing up with a situation for which i would like to share with all the members over here and discuss about the situation.

    There is a site which is Dynamic and with many dynamic pages which are generated on the user click. So, can i give the dynamic title which is relating to the product in a javascript way:

    <script language="javascript">

    document.title="Dynamically generated title";

    </script>


    Can i do what said above for optimization purpose or not.

    What will be the Search Engines reaction on doing this will they accept this or any chances of penalization. Please share your ideas and views on it.

    Thanks

  2. #2
    KingPin's Avatar
    KingPin is offline Super Moderator KingPin is a jewel in the rough KingPin is a jewel in the rough KingPin is a jewel in the rough
    Join Date
    Apr 2008
    Location
    Google.co.uk
    Posts
    473

    Default

    Spiders/bots don't read Javascript so I'm not entirely sure what you're asking?

    KP

  3. #3
    dman_2007 Guest

    Default

    KingPin is quite right, search engine bots don't read or execute javascript code. If you want to dynamically generate page titles, then use a server side scripting language instead of client side scripting.

  4. #4
    amit's Avatar
    amit is offline Senior Member amit is on a distinguished road
    Join Date
    Feb 2008
    Location
    India
    Posts
    210

    Default

    Quote Originally Posted by KingPin View Post
    Spiders/bots don't read Javascript so I'm not entirely sure what you're asking?

    KP
    I am asking that will it make sense for doing it means will Bots read it or not. And is there any way to generate the title dynamically with the criteria of Bots crawling that title.


  5. #5
    KingPin's Avatar
    KingPin is offline Super Moderator KingPin is a jewel in the rough KingPin is a jewel in the rough KingPin is a jewel in the rough
    Join Date
    Apr 2008
    Location
    Google.co.uk
    Posts
    473

    Default

    There is no sense doing it in Javascript no. As dman pointed out you should use a server side script.

    KP

  6. #6
    livetech is offline Senior Member livetech will become famous soon enough
    Join Date
    Nov 2007
    Posts
    182

    Default

    Can I just ask what the logic behind this is? Surely if the title tag is constantly changing on a page then Google will only rank the last page title, and probably won't rank you very well for that as Google will see it as a new page?

  7. #7
    OldWelshGuy's Avatar
    OldWelshGuy is offline Super Moderator OldWelshGuy has much to be proud of OldWelshGuy has much to be proud of OldWelshGuy has much to be proud of OldWelshGuy has much to be proud of OldWelshGuy has much to be proud of OldWelshGuy has much to be proud of OldWelshGuy has much to be proud of OldWelshGuy has much to be proud of
    Join Date
    Oct 2004
    Posts
    1,998

    Default

    I think what is being said is that there is a link in a piece of javascript that will link to a dynamically created page. The page will ONLY exist at the time of click through, it is not a hard coded page (similar to a search on a search engine).

    So here is my reply:~

    On click javascript links will not be followed by Google or other search engines, so the pages will not exist and how you title them irrelevant .

  8. #8
    savantcreative is offline Junior Member savantcreative is on a distinguished road
    Join Date
    Apr 2008
    Posts
    14

    Default

    Quote Originally Posted by amit View Post
    I am messing up with a situation for which i would like to share with all the members over here and discuss about the situation.

    There is a site which is Dynamic and with many dynamic pages which are generated on the user click. So, can i give the dynamic title which is relating to the product in a javascript way:

    <script language="javascript">

    document.title="Dynamically generated title";

    </script>


    Can i do what said above for optimization purpose or not.

    What will be the Search Engines reaction on doing this will they accept this or any chances of penalization. Please share your ideas and views on it.

    Thanks
    I think you have to do it on the server side with a program like mod_rewrite and it is very important

  9. #9
    pogung177's Avatar
    pogung177 is offline Member pogung177 is on a distinguished road
    Join Date
    Feb 2008
    Posts
    35

    Default

    Quote Originally Posted by KingPin View Post
    Spiders/bots don't read Javascript so I'm not entirely sure what you're asking?

    KP
    Yup right, Googlebot hate JS so much
    I have story at Pogung177

  10. #10
    smeagain is offline Distinguished Member smeagain is on a distinguished road
    Join Date
    Jan 2008
    Posts
    263

    Default

    I think OWG hit the nail on the head, again.

Closed Thread
Page 1 of 2 1 2 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124