mrjkb Posted April 9, 2004 Posted April 9, 2004 When I go into my browser and go to view, source, I show a bunch of Alt tags that I would like to remove. When I go into my osCommerce files and search for "alt" I find nothing. How do you edit the alt tags out of the index page? They are not in any of the php files or anywhere on my site when I do a file search in windows. Can anyone provide assistance with this? :blink: Laser labels, barcode labels, custom labels
bluepony Posted April 9, 2004 Posted April 9, 2004 The ALT tag is inserted in "includes/functions/html_output.php" I'd rather be flying!
Guest Posted April 9, 2004 Posted April 9, 2004 i would recommend keeping the alt tags in bluepony. they're important for spiders and indexing and whatnot.
bluepony Posted April 9, 2004 Posted April 9, 2004 Oh I agree, but he asked how to remove them :P I stuff mine with all kinds of spider friendly text. I'd rather be flying!
Guest Posted April 9, 2004 Posted April 9, 2004 woops, sorry bp, i thought you had started this thread. my bad. anyways, mrjkb, as bp said, you can find the alt tags in includes/functions/html_output.php in the functions tep_image or tep_image_submit.
mrjkb Posted April 10, 2004 Author Posted April 10, 2004 Thanks! My objective is to SEO my site, so I want to delete some but stuff others with good text for the spiders. Thanks for the direction to the alts. I went there and found: // The HTML image wrapper function function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '') { if ( (empty($src) || ($src == DIR_WS_IMAGES)) && (IMAGE_REQUIRED == 'false') ) { return false; Should I add the text at the $alt = 'text', $width to get the spiders to search and rank? Laser labels, barcode labels, custom labels
mrjkb Posted April 10, 2004 Author Posted April 10, 2004 Do you know if I can edit my anchor keywords on this file also? I am trying to get my site indexed on google for 2 key phrases and I want to edit all my index anchor keywords such as Home, Catalog, View all Products....... Laser labels, barcode labels, custom labels
Guest Posted April 10, 2004 Posted April 10, 2004 John, I'm not quite following ya. Please elaborate/explain more clearly.
user99999999 Posted April 10, 2004 Posted April 10, 2004 None of us here know how to do all that SEO stuff. All we know how to do is edit each php file in your store dir and customize the keywords. Also you can put in the meta tag contrib.
rseigel Posted April 10, 2004 Posted April 10, 2004 None of us here know how to do all that SEO stuff. How did you come to that conclusion? :blink:
mrjkb Posted April 11, 2004 Author Posted April 11, 2004 I'm not quite following ya. Please elaborate/explain more clearly. OK, When I look at my index page in my browser, under view, source, it shows about 150 alt="" tags. I would like to remove some of them and add keywords in others. I was told that Google does not like that many alt tags. Thanks Bluepony for directing my to the location. Now I can add the word at "alt="keyword" but and I add that and delete some of the 150 that show on my index. Are they all generated from "includes/functions/html_output.php" ? The other issue is on the index page there are anchor keywords such as "view all products", "home", "catalog" that I would like to use to highlight the same keywords for SEO. I heard that Google looks at the Achor Text. I am not sure if there is a easy way to do that though. Any suggestions? Laser labels, barcode labels, custom labels
rseigel Posted April 11, 2004 Posted April 11, 2004 I was told that Google does not like that many alt tags. You heard wrong.
mrjkb Posted April 12, 2004 Author Posted April 12, 2004 Ron, So what do you suggest here. From what I see, the only place to edit what the Alt= tag is in the "includes/functions/html_output.php" file. Should I just enter my keywords within the file at this location // The HTML image wrapper function function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '') { if ( (empty($src) || ($src == DIR_WS_IMAGES)) && (IMAGE_REQUIRED == 'false') ) { return false; or do you have a better suggestion for me? Laser labels, barcode labels, custom labels
mrjkb Posted April 12, 2004 Author Posted April 12, 2004 Any Suggestions here? Laser labels, barcode labels, custom labels
mrjkb Posted April 13, 2004 Author Posted April 13, 2004 OK guys, can anyone help me refine my alt tags? Is the only location in the includes/functions/html_output.php file? I am trying to get updated info into them for SEO rankings. Please advise if there is another spot to put data into alts. The spot in the html_output.php applies it globally. Laser labels, barcode labels, custom labels
mrjkb Posted April 16, 2004 Author Posted April 16, 2004 OK guys, can anyone help me refine my alt tags? Is the only location in the includes/functions/html_output.php file? I am trying to get updated info into them for SEO rankings. Please advise if there is another spot to put data into alts. The spot in the html_output.php applies it globally. Just trying one more time for some help here? Laser labels, barcode labels, custom labels
Recommended Posts
Archived
This topic is now archived and is closed to further replies.