Amending default product page title.
- sciencesight
- Lieutenant, Jr. Grade (LT JG)
- Posts: 33
- Joined: Sat Aug 28, 2004 1:42 pm
- Location: Denver, CO
- Contact:
Amending default product page title.
I'd like to alter the default product page title for SEO reasons. I could do this easily in 5.5. How may I do it in v7.0?
Thanks, Dave
Thanks, Dave
Thanks, Dave
https://www.sciencecompany.com
https://www.sciencecompany.com
Re: Amending default product page title.
Edit your Website/Default.aspx file and then locate Title attrib in it
and change it to your custom for example
Code: Select all
Title="Home Page"
Code: Select all
Title="Home Page(Modified)"
- sciencesight
- Lieutenant, Jr. Grade (LT JG)
- Posts: 33
- Joined: Sat Aug 28, 2004 1:42 pm
- Location: Denver, CO
- Contact:
Re: Amending default product page title.
Thanks mazhar,
That helped me custom title the Home Page.
Taking your lead, on the products.aspx page, I assume I can safely add plain text to follow this string...
How would that go?
Thanks, Dave
That helped me custom title the Home Page.
Taking your lead, on the products.aspx page, I assume I can safely add plain text to follow this string...
Code: Select all
Page.Title = _Product.Name;
Thanks, Dave
Thanks, Dave
https://www.sciencecompany.com
https://www.sciencecompany.com
Re: Amending default product page title.
This statement it put dynamic title that can change depending upon product name. So if you want to change it as
Code: Select all
Page.Title = "Your text here";
- sciencesight
- Lieutenant, Jr. Grade (LT JG)
- Posts: 33
- Joined: Sat Aug 28, 2004 1:42 pm
- Location: Denver, CO
- Contact:
Re: Amending default product page title.
Thanks,
This is what I want to do...
Will this work this way?
Thanks, Dave
This is what I want to do...
Code: Select all
Page.Title = “title text before product name” _Product.Name; “title text following product name.”
Thanks, Dave
Thanks, Dave
https://www.sciencecompany.com
https://www.sciencecompany.com
Re: Amending default product page title.
It would be something like this
Code: Select all
Page.Title = “title text before product name” + _Product.Name + “title text following product name.”;
- efficiondave
- Commander (CMDR)
- Posts: 151
- Joined: Tue Dec 02, 2008 10:20 am
- Location: St. Louis Missouri
- Contact:
Re: Amending default product page title.
This still limits you to static text and product name. We really need the ability to customize this for each product and category. I see there is a wiki article on this but I'm not sure it would work quite right, it seems to be missing some stuff. http://wiki.ablecommerce.com/index.php/ ... ta_tags%3F
David O'Leary
http://www.EfficionConsulting.com
http://www.EfficionConsulting.com
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Amending default product page title.
Web2Market's SEO Manager handles specific per product titles. It also moves the title and meta stuff up to the top of the page. It creates default titles and meta if there is no custom one added. It is our best selling plugin, as it was with the Able 5 SEO plugin.
You can see it at work by viewing the source of a site like this that uses it.
http://www.thegpsstore.com/Automotive-GPS-C1.aspx
Purchase information is here:
http://www.web2market.com/SEO-Manager-P122C77.aspx
You can see it at work by viewing the source of a site like this that uses it.
http://www.thegpsstore.com/Automotive-GPS-C1.aspx
Purchase information is here:
http://www.web2market.com/SEO-Manager-P122C77.aspx
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
Re: Amending default product page title.
I sure would like to add the main category name to the product page title. Is this possible?
I tried
Page.Title = _Product.Name + c.Name;
and it gave an error The name c.Name Does Not Exist in the Current Context
Thank you!
I tried
Page.Title = _Product.Name + c.Name;
and it gave an error The name c.Name Does Not Exist in the Current Context
Thank you!
AC 7.0.3 build 13937
Re: Amending default product page title.
Try something like this
Code: Select all
int categoryId = PageHelper.GetCategoryId();
Category c = CategoryDataSource.Load(categoryId);
Page.Title = _Product.Name + c.Name;
Re: Amending default product page title.
That worked perfectly. Thank you so much Mazhar!
AC 7.0.3 build 13937