Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove Alt=" " from index page


mrjkb

Recommended Posts

Posted

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

Posted

i would recommend keeping the alt tags in bluepony. they're important for spiders and indexing and whatnot.

Posted

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!

Posted

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.

Posted

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

Posted

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

Posted

John,

 

I'm not quite following ya. Please elaborate/explain more clearly.

Posted

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.

Posted
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

Posted

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

Posted

Any Suggestions here?

Laser labels, barcode labels, custom labels

Posted

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

Posted
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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...