Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header Tags SEO


Jack_mcs

Recommended Posts

  • 3 weeks later...

Hi,

When i do a test i get some duplicates, fixed that and i get this from site :

Title and Meta Tag results for index.php  explain
 
 Nederlands
 
  From Site:
    Title ->
    Meta Description ->
    Meta Keywords ->
 
  From Settings:
    Title -> Foto - Meinema - Online - Fotozaak - Specialist - Fotostudio - Fotografie - Fotograaf
    Meta Description -> Foto Meinema is uw online specialist in alles voor de fotostudio en outdoor
    Meta Keywords -> Foto Meinema, Outdoor, Fotografie, Studio, Optiek, Verrekijker, Accessoires, Falcon Eyes, Telescoop, Spotting Scope, Camera Lensen, Fotostudio, Fotograaf
 
  Results of scan:

    index.php is missing Header Tags code or it is not installed correctly. Verify that Fill Tags has been ran and that the root checkbox or the default checkboxes have been checked in Page Control.

The code is installed in template_top and in index.php on the front side of the shop. What are the best settings for the index.php in page control.

Greetings, Anne

Link to comment
Share on other sites

Is this a language issue? That is, is there more than one language installed and only this one is not working? What version is your shop? Have you looked at the screenshots in the package? They explain some of the settings. Checking the root box for the index page will add that text to the categories and manufacturers. For some sites this is a good thing. For others it isn't. It depends on what the text is and how relevant it is to those other pages.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

It might be that the language isn't being detected. In the test routine, are there any errors dealing with the language? Is there a button there to fix or add it?

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi,

Think i fixed the 1054 error, 

Used the part in index for 3.3.4 in stead of 3.3.5 of the contribution, In 3.3.4 the  if (isset($HTTP_GET_VARS['manufacturers_id'])) { is used and in 3.3.5 is used  if (isset($_GET['manufacturers_id']

The $_Get is the problem.

But how to use the part of 3.3.5 with the HTTP_GET_VARS or can just copie past the HTTP over the $_GET

-----------------

Back to meta error, this is the full text.

  languages in the Header Tags table are: 4 ( Nederlands ).
 
Title and Meta Tag results for index.php  explain
 
 Nederlands
 
  From Site:
    Title ->
    Meta Description ->
    Meta Keywords ->
 
  From Settings:
    Title -> Foto - Meinema - Online - Fotozaak - Specialist - Fotostudio - Fotografie - Fotograaf
    Meta Description -> Foto Meinema is uw online specialist in alles voor de fotostudio en outdoor
    Meta Keywords -> Foto Meinema, Outdoor, Fotografie, Studio, Optiek, Verrekijker, Accessoires, Falcon Eyes, Telescoop, Spotting Scope, Camera Lensen, Fotostudio, Fotograaf
 
  Results of scan:

    index.php is missing Header Tags code or it is not installed correctly. Verify that Fill Tags has been ran and that the root checkbox or the default checkboxes have been checked in Page Control.

 

Greetings, Anne

 

Edited by DjViper
Update of other error
Link to comment
Share on other sites

For the $_GET problem, you should be able to change all of those instances to $HTTP_GET_VARS, though they are not as secure.

For the test error, when that error is displayed it should show a link to the product that is failing. Click on that and check the product to make sure it has the name, header tags title and meta descriptions entered.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

The test routine uses $_POST so this may be due to the same problem you mentioned previously. Try doing a search/replace in the admin/header_tags_test.php file, replace all instances of $_POST with $HTTP_POST_VARS.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi, 

Have tried it. Still the same. 

This is the first part of template_top

<?php
/*
  $Id$

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2012 osCommerce

  Released under the GNU General Public License
*/

  $oscTemplate->buildBlocks();

  if (!$oscTemplate->hasBlocks('boxes_column_left')) {
    $oscTemplate->setGridContentWidth($oscTemplate->getGridContentWidth() + $oscTemplate->getGridColumnWidth());
  }

  if (!$oscTemplate->hasBlocks('boxes_column_right')) {
    $oscTemplate->setGridContentWidth($oscTemplate->getGridContentWidth() + $oscTemplate->getGridColumnWidth());
  }
?>
<!DOCTYPE html>
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta charset="<?php echo CHARSET; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="ROBOTS" CONTENT="INDEX, FOLLOW">
<?php
/*** Begin Header Tags SEO ***/
if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {
  require(DIR_WS_INCLUDES . 'header_tags.php');
} else {
?>
  <title><?php echo tep_output_string_protected($oscTemplate->getTitle()); ?></title>
<?php
}
/*** End Header Tags SEO by oscommerce-solution.com ***/

 

Greetings, Anne

Link to comment
Share on other sites

You can try turning on the ByPass New Pages Check setting. The code may not be able to figure out your version of oscommerce. But I think the problem is with the language. Did you fill in Page Control for all languages? Does it show all languages for that matter. Did you make the file changes and upload the files for all languages?

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi,

Is it hard to go back to 3.3.4 - have the 3.3.4. edited files still.

Putting the 3.3.4 edited files back and the headertags files of package 3.3.4.

Database change was only the additional words part i believe and a few extra when i compare.

Greetings, Anne

 

Edited by DjViper
Link to comment
Share on other sites

There aren't instructions for going backwards but as long as you remove any code that uses the new options, like additional words, then it will work. It doesn't matter about the database, only the files.

But regarding the language, I don't understand this statement: "english is still there in the map but is deleted inside oscommerce setup". To use a language in oscommerce, there needs to be a database entry for it in the localization section and the files for it. If the files are present the code will try to use them, even if a database entry doesn't exist. So you should delete both if you don't use them or make sure they are both present if you do.

You can also try editing the ID of the Dutch language via the database. Set it to 1 and see if that fixes it. Make a note of the original ID in case you need to switch it back. You shouldn't have to unless you have code that loads the language by a hard-coded number.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi,

Tried the option of lang change to 1, got a little bit further but all products were gone. Will go back to 3.3.4. Still the meta is than not good, but will see if there is a workaround, maybe putting it hardcoded into template_top.

Greetings, Anne

 

Link to comment
Share on other sites

Hi,

That's true.

I tested a other page links.php and gives the same problem

 From Site:
    Title ->
    Meta Description ->
    Meta Keywords ->
 
  From Settings:
    Title -> Links - Pagina - Link - Partners - Aanbiedingen
    Meta Description -> Links Pagina, Link Partners

    Meta Keywords -> Links Pagina, Link Partners, Partners, Foto Meinema, Link, Links

If i change the language ID in database - language entry to 1 than is From Site and From Setting both empty and red. But also the categories box on main page site is empty.

That also could be that i only changed the entry of languages and not all languages_id entry's in the database. Is there a simple database alter function for.

Edited by DjViper
Link to comment
Share on other sites

There's is only one table that is the source of the language ID. But when things are saved, they are saved with the ID at that time so if you change the main language ID, entries will be wrong. Instead, look at the headertags table and make sure the language id column for each of the pages is correct for the Dutch language. Also, and maybe try this first, be sure you ran Fill Tags with the languages option set to all. If you did, try switching the language in admin to use Dutch and then run Fill Tags. Fill Tags should get the correct number but maybe something is confusing it.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi,

Will try that also, i have found out that the language id is 4 for the netherlands.

Also it's very strange, maybe i'm having a tunnel vision on the test option. Take a look at https://www.fotomeinema.nl/shop/catalog/links.php and than the sourch of the page, strange enough the meta's are there but the testing routine is saying not.

Greetings, Anne

Link to comment
Share on other sites

Hi,

Did a fill tags, - Descripton override yes - Keyword override yes

Selected netherlands - Fill all tags all 3 

Got a : (14000 products in database)

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Greetings, Anne

 

Link to comment
Share on other sites

The test can't see the meta tags when the site is ran in ssl mode. I posted a change for this in the last page or two.

I don't suggest using the overrides when you are trying to solve a problem like this. Just use the section at the very bottom of fill tags.

You're getting the 500 error, most likely, because the script is timing out before it completes due to the number of products involved and the servers timeout setting. But fill tags doesn't affect the home page so I would concentrate on that problem.

I'm confused at this point as to what the problem is. The source of your home page shows the title and tags so Header Tags appears to be working. What is the problem?

 

 

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...