Jump to content
Jack_mcs

Header Tags SEO

Recommended Posts

This addon wouldn't affect the favicon. Depending upon how you had it installed, you must have overwritten its code in index.php, includes/header.php or includes/template_top.php, depending upon your version of oscommerce.

Share this post


Link to post
Share on other sites

 

This addon wouldn't affect the favicon. Depending upon how you had it installed, you must have overwritten its code in index.php, includes/header.php or includes/template_top.php, depending upon your version of oscommerce.

I didn't change any code or  added any code in the files you mentioned. The favicon was there out-of-the-box. Now it's gone.

 

You may have a look at this:

http://forums.oscommerce.com/topic/403421-favicon/

 

BTW - I'm running two other (identical) shops without Header Tags SEO. The favicon is just in the root and shows up there.

 

Therefore I doubt that the addon does not affect the favicon.

Share this post


Link to post
Share on other sites

To display a favicon, you need to add a meta tag to the <head> section of the site. That meta tag will have a path to the image to be displayed. Most shop owners tend to put it in the root but that is not a required location. But those two things are all that is needed. This addon also makes changes to the <head> section so, most likely, when you made that change you overwrite the meta tag for the favicon. Or, you may have a module in admin that controls it and maybe that was turned off for some reason.

Share this post


Link to post
Share on other sites

I didn't change any code or  added any code in the files you mentioned. The favicon was there out-of-the-box. Now it's gone.

 

You may have a look at this:

http://forums.oscommerce.com/topic/403421-favicon/

 

BTW - I'm running two other (identical) shops without Header Tags SEO. The favicon is just in the root and shows up there.

 

Therefore I doubt that the addon does not affect the favicon.

 

 

There is a good favicom generator and checker here.

 

Not only will it check that you have one on your site, it will also generate all the favicons needed by various os systems and devices.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

At its most basic, all you need is an "icon" format 16x16 or 32x32 image named favicon.ico, located in the site root. That does not require a <meta> tag in the <head>. If you want to name the favicon something else, store it someplace other than the root, or use a different format, you will need a <meta> tag. By any chance are you using a non-standard (not /favicon.ico) favicon, and on some pages the <meta> tag specifying it has gotten messed up or lost? Or do you have a <meta> tag (necessary or not), but it's pointing to the wrong place on some pages? Be sure to carefully check those.

 

The "favicon" generators mentioned in several posts go beyond the standard browser favicon, and include device-specific application icons that really aren't favicons in the strict sense. They just appropriated the name, for better or worse. Possibly some phones, etc. will not use a standard favicon for a bookmarked page, and need proprietary format icons for that purpose. This is unfortunate -- what site owner wants to maintain dozens of different icons for use on multiple phones?

Share this post


Link to post
Share on other sites

@@MrPhil I said meta tag but I meant a link tag. While it is not required, it is possible for the search for the favicon to be overridden by a browser so, in my opinion, it should always be included. Plus, I prefer to keep all of my images in the images directory and the link is the only way to accomplish that.

Share this post


Link to post
Share on other sites

The favicon (just in the root) does show up in MS IE.

 

It does not show up in a firefox browser. No adblockers etc. installed. Even with a link in the head section.

Edited by stefan21

Share this post


Link to post
Share on other sites

@@stefan21 Please open a thread for this in the general forum since it doesn't have anything to do with this addon.

Share this post


Link to post
Share on other sites

@@Jack_mcs,

 

IMVHO - while I'm running two identical live shops OsC 2.3.4 without Header Tags SEO are showing the favicon, and the one with Header Tags SEO implemented does not, I don't think that it's making sense to move this thread (or open a thread) to general.

 

Maybe it depends on adapting to the german language...

Share this post


Link to post
Share on other sites

The favicon isn't affected by this addon. If the favicon isn't working in a shop with this addon installed, you have either made a mistake in the installation or the favicon is not installed correctly. Both are beyond the scope of this support thread so I can't offer anymore than I have already done.

Share this post


Link to post
Share on other sites

@@Jack_mcs,

 

this is how the header tags are looking on my site:

 

<!DOCTYPE html>
<html dir="ltr" lang="de"<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>xxx</title>
<meta name="Description" content="xxx" />
<meta name="Keywords" content="xxx" />
<meta http-equiv="Content-Language" content="de" >
<meta name="googlebot" content="all" />
<meta name="robots" content="noodp" />
<meta name="slurp" content="noydir" />
<meta name="revisit-after" content="1 days" />
<meta name="no-email-collection" value="https://XYZ.de" />
<link rel="canonical" href="xxx" >
<meta property="og:site_name" content="xxx" />
<meta property="og:locale" content="de_DE" />
<meta property="og:type" content="website" />
<meta property="og:image" content="" />
<meta property="og:url" content="https://xxx" />

<!-- EOF: Header Tags SEO Generated Meta Tags by oscommerce-solution.com -->

 

Question:

 

<!DOCTYPE html>
<html dir="ltr" lang="de"<head>

 

Is this correct? Or should it look like that:

 

<!DOCTYPE html>
<html dir="ltr" lang="de">

<head>

 

If so, where can this be changed?

Share this post


Link to post
Share on other sites

@@MrPhil I said meta tag but I meant a link tag. While it is not required, it is possible for the search for the favicon to be overridden by a browser so, in my opinion, it should always be included. Plus, I prefer to keep all of my images in the images directory and the link is the only way to accomplish that.

 

I did like you suggested and added the code in the template_top.php.

 

There is a good favicom generator and checker here.

 

Not only will it check that you have one on your site, it will also generate all the favicons needed by various os systems and devices.

 

I used the link to generate the icons and the code.

 

Now it works. Thank you for your support.

Share this post


Link to post
Share on other sites

<!DOCTYPE html>

<html dir="ltr" lang="de"<head>

 

Is this correct? Or should it look like that:

 

<!DOCTYPE html>

<html dir="ltr" lang="de">

<head>

The placement of <head> doesn't matter but the closing > for the language tag does. That is in template_top.php. You probably overwrote it with the changes.

Share this post


Link to post
Share on other sites

Jack_mcs,

 

Unfortunately I don't know the reason.

 

A workaround could be to change in header_tags_opengraph.php:

 

// $ogArray['locale']  = str_replace('-', '_', $loc[0]);
$ogArray['locale']  = de_DE;

 

That brings up in the html-output:

 

<meta property="og:locale" content="de_DE" />

 

Does it matter, if it's hardcoded?

 

 

@@Jack_mcs The problem is at the very upper left corner, as I already described. Yes, I know that the default is in English, and yes, I uploaded all files in German directory and made also the changes in the German files.

 

Well, I found out, that commenting out

 

// $ogArray['price'] = $og_price;

 

in the header_tags_opengraph.php may be a kind of workaround. As I'm not a SEO-specialist I cannot tell how important it could be to have a meta property "price"...

 

The real reason could be an altered code in the template_bottom.php.

 

 

The placement of <head> doesn't matter but the closing > for the language tag does. That is in template_top.php. You probably overwrote it with the changes.

 

Shame on me - all above solved by adding the missing closing > in template_top.php.

 

I'm sorry for wasting your time.

Share this post


Link to post
Share on other sites

Jack_mcs,

 

checking the pages today leads back to

 

 

A workaround could be to change in header_tags_opengraph.php:

 

// $ogArray['locale']  = str_replace('-', '_', $loc[0]);
$ogArray['locale']  = de_DE;

 

That brings up in the html-output:

 

<meta property="og:locale" content="de_DE" />

 

and

 

 

Well, I found out, that commenting out

 

// $ogArray['price'] = $og_price;

 

in the header_tags_opengraph.php may be a kind of workaround. As I'm not a SEO-specialist I cannot tell how important it could be to have a meta property "price"...

 

Can't tell you why.

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

Jack_mcs,

 

no. I thought the solution was the missing >. Obviously not. It seems to work somehow. For now I leave it like it is.

Share this post


Link to post
Share on other sites

I'm using Header Tag SEO for years and it works great but I'm having problems adding a social bookmark icon.

 

Adding the icons is working fine and the icon is showing in header_tags_seo_social.php, an extra field is showing up fine but when I enter an URL in this field and save it and go back to the header_tags_seo_social.php page the icon is again deselected and the field is empty. I want to make an icon for Trustpilot so when a customer presses the bookmark they get the evaluate page for my website.

So no URL and TITLE are needed, just a link (maybe opening in a frame if possible).

 

Can someone give me some help ? 

Share this post


Link to post
Share on other sites

You have to enter a URL and TITLE when adding a new icon since the code uses that to setup the link. I've not seen a social site where a url is not needed and am not familiar with Trustpilot so I can't comment on this one.

Share this post


Link to post
Share on other sites

good work

 

i have a question: how i can make to  apear, when i share on facebook, image and description from the product??

Share this post


Link to post
Share on other sites

@@xGerila Those should be sent to FB when the icon is clicked. I don't know what FB does with them once there.

Share this post


Link to post
Share on other sites

Is it possible to use just the part of this add-on that handles display of custom descriptions on category pages? We already use other add-ons to handle titles and tags and would not want to reassign those, which could also have a negative effect on our indexing.

Share this post


Link to post
Share on other sites

Yes, it would be possible but would require a bit of coding. If all you want is categories descriptions, then there an addon for just that.

Share this post


Link to post
Share on other sites

If all you want is categories descriptions, then there an addon for just that.

 

Which add-on is recommended for 2.3.4 GOLD? Cannot seem to find a compatible one.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×