Forum Moderators: open

Message Too Old, No Replies

Using dynamic title.how do i do that?

Dynamic title..

         

john1000

8:55 pm on Oct 3, 2006 (gmt 0)

10+ Year Member



Ok, as im still helping someone to make his website more alive im trying to figure out the dynamic title thing,if its possible to change that for him.

On <snip>
I saw the following sample..

<TITLE><% =SomeVariable %></TITLE>

and..

<TITLE id="objTitle" runat="server" />

Thing is,the guy has this site in asp and has of lot ofcategories.
the link i see are all like ..

subrubrieken.aspx?id=8
subrubrieken.aspx?id=9
subrubrieken.aspx?id=5
subrubrieken.aspx?id=2

etc....

but how do i change it so that with every page the proper title shows?

Can someone give me a hand please...

[edited by: engine at 9:01 am (utc) on Oct. 4, 2006]
[edit reason] See TOS [webmasterworld.com] [/edit]

Easy_Coder

2:00 pm on Oct 4, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



At a high level you would retrieve this value -->id=8<-- from the request collection and look it up in the database, translate that number to some article or product title and bake it back into the title tag.

Your two examples deal with 2 different technologies. Are you using asp or asp.net?

john1000

3:43 pm on Oct 4, 2006 (gmt 0)

10+ Year Member



how do i check if its asp or asp.net?
its not my site....
im just helping a friend and my knowledge with this is like 0.

in his categories.aspx i see also his links,and those like ><a href="/subcategories.aspx?id=6">

so it looks like those are not in the database but in the file itself...
i think...
i didnt found the subs yet...

any idea what i should look for?
The most simple way?

QUOTE >>>translate that number to some article or product title and bake it back into the title tag<<<<QUOTE

Can you explain that please so i understand?

mattglet

6:12 pm on Oct 4, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't mean to come off rude, but in what way are you helping out with the site? I'm just trying to figure out what the best way is to progress with giving information that's going to make sense to you.

Easy_Coder

8:58 pm on Oct 4, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>its not my site....
im just helping a friend and my knowledge with this is like 0.

I'm with Matt... your answer scared me off. We can tell you exactly how to do this but are you a web developer?

john1000

7:16 pm on Oct 5, 2006 (gmt 0)

10+ Year Member



well....
let me explain....
a friend has a advertising site and offers free advertising for every one..
a company build that website in asp 1 year ago..

the website misses a lot of seo stuff like titel on the proper pages,like if you go to categorie/subs that it would show that title,but it didnt.

and because he didnt had any contact anymore with the company i tried to help him...
nothing scary about that is there?

but its solved, i called the company today and told them the site should have been build with the title stuff working and they agreed on fixing it without payment.

so that solves it all....