If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / want to add a comments tag to every page

want to add a comments tag to every page

Locked

Started by bumba000 on 11 Jun 2007, 4:08 AM · Views: 1,376

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
11 Jun 2007, 4:08 AM
#1
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
862
Plugin Contributions:
0

Post #1 by bumba000

Hi all,
I have read all through the meta tags help and have changed some things so they are more to my liking.
I want to add a comment tag so that it appears in the code of every page.
How and where do I add this? Im not a coder but am slowly catching on.
Thanks,
John

11 Jun 2007, 4:27 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

If the same for all your pages then include the comment in /includes/languages/english/your_template/meta_tags.php file and use this for the comment:

<!--	Place your comment here	-->

In it's own meta tag or as part of one that exists....

This encapsulation prevents this comment info from being indexed

Zen-Venom Get Bitten

11 Jun 2007, 5:42 AM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #3 by ajeh

For php files the comments are done:

// these are my comments

Or for verbose comments:

/*
these are my comments

they take up lots of lines

so I didn't want to comment each line separately
*/

The other, that kobra showed are HTML comments ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Jun 2007, 1:11 PM
#4
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
862
Plugin Contributions:
0

Post #4 by bumba000

Thanks Kobra & Ajeh. Kobra - since you said that this type of comment wont be indexed this is not what Im looking for.

The comment that Ajeh put up - will this type of comment be indexed?

Heres a piece of the article I was reading and

Comment tags provide a way for webmasters to
add words right in their pages. They're hidden in the HTML code, and so are
not visible to the site's ordinary users, but some search engines can index
them and use them to rank your Web site. The comment tags are another great
way to add keywords to your site, thus increasing the keyword frequency, an
important factor in many ranking algorithms.

So - What will work for this?

11 Jun 2007, 10:48 PM
#5
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
862
Plugin Contributions:
0

Post #5 by bumba000

Okay - Ill ask this then. What is the difference in Ajehs 2 examples as far as having the comment indexed by search engines.
I want the comments to be seen only by engines. I would like to add them to one page and have them discoverable in every page of the site.

I can see the diff in what Ajeh wrote there but dont know functionality wise whats the diff.

Thanks,
John

P.S
Whats "Verbose"?

11 Jun 2007, 11:50 PM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,758
Plugin Contributions:
0

Post #6 by Kim

Comment tags provide a way for webmasters to
add words right in their pages. They're hidden in the HTML code, and so are
not visible to the site's ordinary users, but some search engines can index
them and use them to rank your Web site. The comment tags are another great
way to add keywords to your site, thus increasing the keyword frequency, an
important factor in many ranking algorithms.

Where did you find this article? I think this would fall into keyword spamming and get you banned if caught.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

12 Jun 2007, 1:18 AM
#7
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
862
Plugin Contributions:
0

Post #7 by bumba000

Kim,

  <http://www.optimization-services.com/>

Their site has been pretty helpful. They also advise of over use. Thanks for the advice.

I have found the meaning of verbose -
:smartalec: containing more words than necessary :smartalec:

No if I could only figure out how to add comment tags that can be read and indexed by the engines.

I dont plan to spam. Just a few notes about my site. Any of you who receive our coffe really drink coffee? Ever tried a French Press? They're GREAT!

Thanks,
John

12 Jun 2007, 2:41 AM
#8
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,758
Plugin Contributions:
0

Post #8 by Kim

John-

I hope you will forgive me for being skeptical, but a site that claims to be #1 in search engine optimization makes be a bit leery.

Facts: That site has been up since 2003, they only have a couple thousand inbound links and a PR of 5 and an Alexa rank of: 85714

The Zen Cart site on the other hand has also been up since 2003, has over 160,000 inbound links and an Alexa ranking of 3975.

Instead of concentrating on gimmicky tricks, I would recommend working on your inbound links - they will give you better ranking over the long haul.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

12 Jun 2007, 3:39 AM
#9
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
862
Plugin Contributions:
0

Post #9 by bumba000

Kim,
I did a search for the top 100 sites using the keywords that Im trying to gain rankings for. I found that there are sites there that have a birthdate over 10 years ago and have over 1.5 million inbound/backlinks. There are also sites listed right next to them born in only 2003 with less than 300 inbound/backlinks.
Most of these sites have an overall google pr less than or just equal to mine.

With results like that . . . I dunno. I am working on my backlinks but it is tough.
Most sites that have anything to do with my line of interest are also selling the same products.

I know I should have more than the 34 that I have and I'm working on that. This should have a more immediate effect and I cant wait to see the result.

I did a good bit of SEO for my keyword last night and can now be found in yahoo no. 700 and msn no.374 for it. Yeah and I check a lot. Wasn't found there for the word before I did this work.

So I would like to try some of the other advice that http://www.optimization-services.com has given.

Problem is that the tags they give is the same as what Kobra posted and gives an error in a test spider crawl.

The tags that Ajeh posted gives no errors but still turns up no results in the test spider tool. :frusty:

Any help here would be greatly appreciated.

Thank You,
John

13 Jun 2007, 9:07 PM
#10
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
862
Plugin Contributions:
0

Post #10 by bumba000

Okay, So Ive decided against this. After reading Kims reply I did a bit more reading around. Kobra also sent an email that kinda made me think a little more about this. Thanks to both of you.

From what Ive read this method stands a better chance of hurting you than helping. Since there are so many other ways to positively help I figure Ill choose another path.

Have been working backlinks and keywords since this all. cant hurt!

Thanks all,
John