Jump to content

Titles


everlifefree

Recommended Posts

Ok I'm using JavaScript to add in my titles but I would like it to also be shown when Google indexes them, instead of just on my site. The script I'm using now is below:

 

<script language="javascript" type="text/javascript">document.title = document.title + " - Links & Family"</script>

 

Any help is appreciated!

 

Link to comment
Share on other sites

how are you using your title? Is this an AJAX page? if not, it's a simple title tag

<title>My Title Here</title>

or

<title><?PHP echo $some_variable;?> - my title</title>

 

If the page is using Ajax to load the content, you'll need to make an alternative page so search engines can spider that page.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.