Layout of <title> and <meta> tags

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
draneb
Captain (CAPT)
Captain (CAPT)
Posts: 314
Joined: Sun Jun 12, 2005 4:07 pm
Location: Texas
Contact:

Layout of <title> and <meta> tags

Post by draneb » Wed Nov 12, 2008 3:21 am

When you view the source of the page this is how the title and meta tags are shown. What causes things to run together and why is the <title> tag broken up into separate lines with the actual wording pushed over to the right like there is a tab inserted in there or something? This is default able behavior and not due to any customizations I had done.

I edited my personal information out here but kept the layout the same as shown in View Source.

Code: Select all

<link href="App_Themes/Store/a_style.css" type="text/css" rel="stylesheet" /><link href="App_Themes/Store/directory.css" type="text/css" rel="stylesheet" /><META name="description" content="This is where the page description is shown.">
<META name="keywords" content="this, is, where, the, keywords, are, displayed"><title>
	Home Page
</title><style type="text/css">
This is taken from an AC7 demo store

Code: Select all

<link href="App_Themes/Glass_Orange/ComponentArt.css" type="text/css" rel="stylesheet" /><link href="App_Themes/Glass_Orange/print.css" type="text/css" rel="stylesheet" /><link href="App_Themes/Glass_Orange/style.css" type="text/css" rel="stylesheet" /><link href="App_Themes/Glass_Orange/webparts.css" type="text/css" rel="stylesheet" /><title>
	AbleCommerce T-shirt
</title><style type="text/css">
Typically, this layout would seem to be more search engine friendly. It seems like a pretty simple fix, probably just putting some line breaks where needed, right?

Code: Select all

<link href="App_Themes/Store/a_style.css" type="text/css" rel="stylesheet" />
<link href="App_Themes/Store/directory.css" type="text/css" rel="stylesheet" />
<META name="description" content="This is where the page description is shown.">
<META name="keywords" content="this, is, where, the, keywords, are, displayed">
<title>Home Page</title>
<style type="text/css">
Mazhar, you AbleCommerce genius, would you be able to help those who this is bothering, like me? :lol:
AC 7.0.3 build 13937

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Layout of <title> and <meta> tags

Post by jmestep » Wed Nov 12, 2008 8:52 am

Plus, the title should be before the keywords and descriptions. I've moved it in the pagehelper.cs, but it doesn't seem to change.
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

User avatar
draneb
Captain (CAPT)
Captain (CAPT)
Posts: 314
Joined: Sun Jun 12, 2005 4:07 pm
Location: Texas
Contact:

Re: Layout of <title> and <meta> tags

Post by draneb » Wed Nov 12, 2008 9:16 am

Yes, thank you Judy, the other AbleCommerce genius. :)
AC 7.0.3 build 13937

User avatar
draneb
Captain (CAPT)
Captain (CAPT)
Posts: 314
Joined: Sun Jun 12, 2005 4:07 pm
Location: Texas
Contact:

Re: Layout of <title> and <meta> tags

Post by draneb » Wed Nov 19, 2008 9:51 pm

Hello,

Could anyone give some insight on how we could get the title and meta data to display properly?

Maybe we could go into the associated files and enter some vbCrLf's or something.
What file(s) would those be?

Thank you in advance!
AC 7.0.3 build 13937

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Layout of <title> and <meta> tags

Post by jmestep » Thu Nov 20, 2008 7:39 am

If the code is in a .cs file, you could try /n which is vbcrlf in C#.

Also, http://www.web2market.com will be coming out with a meta tag manager similar to what they have for 5.5 Cold Fusion that will handle these problems.
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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Layout of <title> and <meta> tags

Post by mazhar » Mon Dec 01, 2008 7:05 am

Please read the following thread for further discussion
viewtopic.php?f=42&t=9073

Post Reply