Page title in Head
Page title in Head
Is there a way to change the <title> tags in the <head> of each page? For example, the default.aspx page on our site has a title of Home Page, which we would like to change to be the name of our store.
Some of the pages have titles that are acceptable (category names in the cart, etc), but we would still like to have more control over these.
Thanks,
Tyler
Some of the pages have titles that are acceptable (category names in the cart, etc), but we would still like to have more control over these.
Thanks,
Tyler
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
I was able to do some adjusting in the CategoryList.ascx.asc, for example, by changing
Page.Title = _Category.Name;
to
Page.Title = "Whatever you want" + _Category.Name;
Page.Title = _Category.Name;
to
Page.Title = "Whatever you want" + _Category.Name;
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
- mfreeze
- Commodore (COMO)
- Posts: 421
- Joined: Mon Jan 24, 2005 2:07 pm
- Location: Washington, NJ
- Contact:
Re: Page title in Head
You can also do this by placing the title tag in the 'Header" section of any page or in the 'HTML Head' section of categories and products.
For example: <title>My Domain Home Page</title>
For example: <title>My Domain Home Page</title>
Mary E Freeze
Freeze Frame Graphics
Web Hosting and Design, ASP and CFMX Development
http://www.ffgraphics.com
Freeze Frame Graphics
Web Hosting and Design, ASP and CFMX Development
http://www.ffgraphics.com
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Page title in Head
Mary, when I tried that, I ended up with two titles. Bummer, the one in the META input didn't override the normal one. Are you seeing the same on your sites or is it displaying just one title tag?
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
- mfreeze
- Commodore (COMO)
- Posts: 421
- Joined: Mon Jan 24, 2005 2:07 pm
- Location: Washington, NJ
- Contact:
Re: Page title in Head
Yes. I see the two title tags also but the one in my title tag is the one that shows up in the title at the top of the browser. I'm not sure how the search engines will handle two tags in the page but I assume that what I see in the browser is what they will see. But I may be wrong and you know what they say about assumptions. Maybe somebody could answer what the effect of 2 tags will have on search engines. Most of my clients are just interested in seeing the correct title in the browser window so it makes them very happy that putting this tag in changes it.
The drawback to updating the title tag in default.aspx is that it will get replaced with an upgrade and you will need to document that you need to retrofit the change. I have too many Able sites to keep track of to want to do that. It had gotten to the point with 5.5 that it tooke me over a week to do an upgrade of all stores on just one web server. Thank goodness 7.0 allows me to update one store at a time.
Maybe you could just comment out the title tag in the file and then you would not see the second one. Then, in case of an update, the worst that would happen is that you would revert to having 2 tags again.
Another option might be to rename or copy the default.aspx to another name and set the default document in IIS to point to that file. That way, you wouldn't overrite your change with an upgrade but would still need to retrofit any changes from the new default.aspx. Maybe it would help to remind you that the page had been altered.
The drawback to updating the title tag in default.aspx is that it will get replaced with an upgrade and you will need to document that you need to retrofit the change. I have too many Able sites to keep track of to want to do that. It had gotten to the point with 5.5 that it tooke me over a week to do an upgrade of all stores on just one web server. Thank goodness 7.0 allows me to update one store at a time.
Maybe you could just comment out the title tag in the file and then you would not see the second one. Then, in case of an update, the worst that would happen is that you would revert to having 2 tags again.
Another option might be to rename or copy the default.aspx to another name and set the default document in IIS to point to that file. That way, you wouldn't overrite your change with an upgrade but would still need to retrofit any changes from the new default.aspx. Maybe it would help to remind you that the page had been altered.
Mary E Freeze
Freeze Frame Graphics
Web Hosting and Design, ASP and CFMX Development
http://www.ffgraphics.com
Freeze Frame Graphics
Web Hosting and Design, ASP and CFMX Development
http://www.ffgraphics.com
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Page title in Head
I hadn't noticed the two title tags until I ran it thru WebCEO and it was searching for search engine problems. But maybe it's not a real problem.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx