We are working with an online advertising company and they told us the fact that the metatags are under the javascript is a big disadvantage when it comes to search engine optimization.
I looked on the code but I found no way to flip the mata tags to the top of the header on the page. Where do I go to do that?
Thank you!
Matatags under the javascript problem
Matatags under the javascript problem
"Life is like riding a bicycle. To keep your balance you must keep moving." - Albert Einstein
Re: Matatags under the javascript problem
OK, I found a way to bypass the metatag allocation provided by AbleCommerce by creating a <asp:ContentPlaceHolder> in /Layouts/Scriplets.master and adding the metatags from my aspx content page using the <asp:Content>.
Now I can't get rid of the empty <title></title> that still shows on the page even though I removed the Title="" from the top of the aspx page.
Do you have any ideas where those <title></title> come from and how can I get rid of it?
Thank you!
Now I can't get rid of the empty <title></title> that still shows on the page even though I removed the Title="" from the top of the aspx page.
Do you have any ideas where those <title></title> come from and how can I get rid of it?
Thank you!
"Life is like riding a bicycle. To keep your balance you must keep moving." - Albert Einstein
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Matatags under the javascript problem
Depending on whether it is a category or product-- on product, the title is on the .aspx page. On categories, it is on the conlib/whatever.ascx.cs.
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: Matatags under the javascript problem
I actually want to change the metatags on pages like privacy.aspx that ware not product pages but they still use the same layout as the rest of the web site.
For example I removed the Title="Privacy" from this .aspx page as you suggested but it still shows the <title></title> tags and I don't want to have duplicate <title></title> tags on the same page since I want to handle the title on my code not the AbleCommerce code.
For example I removed the Title="Privacy" from this .aspx page as you suggested but it still shows the <title></title> tags and I don't want to have duplicate <title></title> tags on the same page since I want to handle the title on my code not the AbleCommerce code.
"Life is like riding a bicycle. To keep your balance you must keep moving." - Albert Einstein
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Matatags under the javascript problem
Here is one thing I found to work. Client has a page called hotprods.aspx. I added the title in that page with this:
<asp:Content ID="MainContent" runat="server" ContentPlaceHolderID="PageContent">
<cb:ScriptletPart ID="HotProducts" runat="server" Layout="Left Sidebar" Content="HotProducts" Title="Best Sellers at UptownEnterprises" AllowClose="False" AllowMinimize="false" />
</asp:Content>
Can you post the code you used to reposition your scripts? I'm not understanding it.
Thanks
<asp:Content ID="MainContent" runat="server" ContentPlaceHolderID="PageContent">
<cb:ScriptletPart ID="HotProducts" runat="server" Layout="Left Sidebar" Content="HotProducts" Title="Best Sellers at UptownEnterprises" AllowClose="False" AllowMinimize="false" />
</asp:Content>
Can you post the code you used to reposition your scripts? I'm not understanding it.
Thanks
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