This is a discussion on "dynamic <title/>" within the Starting Out section. This forum, and the thread "dynamic <title/> are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
dynamic <title/>
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
dynamic <title/>
I have approx 160 pages indexed by google all with the same title because the page is dynamic. is there some way of changing the title dynamically depending on what is dragged from the db.
|
|
|
|
|||
|
Re: dynamic <title/>
Yeah use php or whatever and use the article/ whatever title as the page title. Just stick the code between the <title> tags.
Pete. |
|
|||
|
Re: dynamic <title/>
Thanks Pete
I thought that was the way to go, now I have to work out how. Do you know any tutorials on the subject. |
|
|||
|
Re: dynamic <title/>
I could be (very) wrong here but I'd imagine that you just find out what the variable is that echo/prints the title and use that in your header.
Bear in mind that my php knowledge is a bit limited. Someone who knows about that sort of thing will correct me if I'm wrong or provide a better solution. Pete. |
|
|||
|
Re: dynamic <title/>
I have been searching for days to find a method thats understandable for mear mortals. Once again this forum (Pete) has given me the pointers required.
I'm off to have a go at reducing 160+ pages with the same title. Cheers Pat |
|
|||
|
Re: dynamic <title/>
I thought you might like to know, with the code you provided I have now changed all my pages and they now show exactly what I want.
Cheers Pat |
|
|||
|
Re: dynamic <title/>
h1 headings now changed with same code. WOH! amazing what a little bit of code can do
|
|
|||
|
Re: dynamic <title/>
Great. I thought it would work and am pretty happy it did. It is amazing what you can do with such a tiny bit of code and a little knowledge.
Excellent, well done. Pete. |
![]() |
| Tags |
| dynamic title, title tag |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| title? | Aesir | Web Page Design | 4 | Mar 12th, 2008 15:58 |
| <title>Tennis London : Tennis History</title> how should it read | Oak | Search Engine Optimization (SEO) | 5 | Feb 6th, 2008 01:31 |
| alt or title | geyids | Web Page Design | 4 | Aug 20th, 2007 15:56 |
| How to set the page title for a PDF? | rubeck | Classic ASP | 0 | Feb 27th, 2007 21:37 |
| Not sure how to title this. | vbfrost | Web Page Design | 6 | Sep 14th, 2006 20:42 |