Print Page | Close Window

Meta Tag Title

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Search Engine Optimization
Forum Description: Talk about ways to optimize your ProductCart store for search engines
URL: https://forum.productcart.com/forum_posts.asp?TID=5366
Printed Date: 18-May-2024 at 9:03pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Meta Tag Title
Posted By: littlesmokey
Subject: Meta Tag Title
Date Posted: 29-November-2012 at 12:11pm
Hi Friends,

When I view a Brand page from IE or FireFox and reverse click to "view page source," I see the following:

<TITLE>
Search Results - Then my Stores Company Name</TITLE>
Very frustrating when I install a good title in the brand meta tags title for that brand.

What I would like to see is

<TITLE>The the proper title tag that I generate</TITLE>

I hope you can help or give some direction.

LittleSmokey

A long time user of ProductCart since 2002.



Replies:
Posted By: Greg Dinger
Date Posted: 29-November-2012 at 1:34pm
in the file include-metatags.asp, look for references to "scCompanyName".  You can see logic in there that is adding that string to the title tag.  Shouldn't be a lot of effort to disable that.  Let me know if you need a hand.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: littlesmokey
Date Posted: 29-November-2012 at 2:02pm
Thanks Greg.  Before, I jumped on the forum, I opened the include-metatags.asp file and saw it, but I did not know if I should replace it or just empty out the csCompanyName between the quotes.

I had hope to get rid of the "Search Results -" test showing up in the meta tag titles.  Can this be done in the includes-metatags.asp  file?




Posted By: littlesmokey
Date Posted: 29-November-2012 at 2:07pm
I meant to write: I had hope to get rid of the "Search Results -" too that showing up in the meta tag titles.  


Posted By: Guests
Date Posted: 29-November-2012 at 3:26pm
Hi LittleSmokey,

Here's the problem. There is a bug in PC here, and then you also want to get rid of the - CompanyName.

For the latter, open showsearchresults.asp and find the following:
pcv_DefaultTitle = pcv_DefaultTitle & " - " & scCompanyName

change that to:
' Modified to remove company name
'pcv_DefaultTitle = pcv_DefaultTitle & " - " & scCompanyName
pcv_DefaultTitle = pcv_DefaultTitle

Then, to fix the bug, open include-metatags.asp and find the following:
if pcStrPageName = "showsearchresults.asp" then
Title = dictLanguage.Item(Session("language")&"_ShowSearch_50") & " - " & scCompanyName
end if

change that to:
 if pcStrPageName = "showsearchresults.asp" then ' Modified to use brand meta tag, if available if len(pcv_DefaultTitle&"") > 1 then Title = pcv_DefaultTitle else Title = dictLanguage.Item(Session("language")&"_ShowSearch_50") & " - " & scCompanyName end if end if 


Posted By: littlesmokey
Date Posted: 29-November-2012 at 4:09pm
It worked!  Thank you Sean!

I am so glad not to bug our friends at ProductCart to make the fix.


Posted By: littlesmokey
Date Posted: 29-November-2012 at 4:09pm
I meant to say that was darn awesome!


Posted By: ProductCart
Date Posted: 29-November-2012 at 4:50pm
FYI, we have added this to our bug list to be fixed in the next release. Thanks for pointing it out and resolving!

-------------
The ProductCart Team

Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software


Posted By: littlesmokey
Date Posted: 29-November-2012 at 5:09pm
Early Impact

Thanks for the notice.

Little Smokey


Posted By: Greg Dinger
Date Posted: 30-November-2012 at 1:53am
LittleSmokey - sorry I didn't get back to you earlier.  I got caught up in some extracurricular activities today as a massive storm swept through our region.  It's Winter baby, and it's all coming at once, or so it seems at the moment!

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Guests
Date Posted: 30-November-2012 at 2:41am
EI: Thanks for noting this.

Looking forward to 4.7 weeding out these "cucarachitas" we've  been pointing out in the 4.6 code base. 

Roland,

I'm hoping to get our revision of our old Meta Tag Manager re-released as the "SEO Pack" for PC in January. Thanks for noticing this "cucarachita", as I hadn't until you pointed it out.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net