Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Meta Tag Controller Support


BlueYon

Recommended Posts

I didn't remove any code, I just reverted back to the original (before I tried the contrib code) in the index page.

Sorry ... wrong word choice there!

 

What I probably should've said was "I sorted the problem by reverting back ..."

LOL. i did try to revert back but found the meta tags for description and keywords still didnt work. Do they still work for you?

Link to comment
Share on other sites

  • Replies 56
  • Created
  • Last Reply

Top Posters In This Topic

OK.

 

On my site (not currently live) I have <title><?php echo TITLE; ?></title> - (not sure if this is the same as the basic install as I have made tons of changes to the original code). I changed this to the code in the contrib but found that it worked fine on every product page, but on the index page gave the NAVBAR error. As I don't really need it on the index page I simply reverted back to the original <title><?php echo TITLE; ?></title>.

 

I hope that's clearer now!

SolarFrenzy

Solar powered gadgets at down to earth prices.

 

CheekyNaughty

Promoting British Design

Link to comment
Share on other sites

  • 1 month later...
Solution to the meta_tag_title problem:

SOLUTION TO YOUR META TAG PROBLEMS

 

Simply modify index.php

 

Find "require('includes/application_top.php');" around line 3 and place require('includes/meta_tags.php'); Under it

 

 

 

I dont have the time right now.. (Just spent 4 hrs on my contrib (STS + SEO Friendly + Metatag + Multipic) installing and creating file dirs for upload and easy install of all at once) but I found that this soulution does not work for the product page.. Im sure that I will find out how to do it.. Probably insert the same code "require('includes/meta_tags.php');" in to another file...

 

IF SOMEONE ELSE WANTS TO DO THE LEG WORK .. PLEASE DO,, I HAVE TO GO TO WORK OTHERWISE I WOULD FAK AROUND WITH IT

Link to comment
Share on other sites

  • 3 years later...

Guys please help. I dont know what Im doing wrong or not doing...

 

Can someone in very short make it simpler to understand than install.txt for the newbies please?

 

1- I put the metatags.php in my includes folder

 

2- Edited all the listed .php files adding:

<?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?>

<title><?php echo META_TAG_TITLE; ?></title>

<meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" />

<meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" />

 

3- Now what?

 

Thanks in advance for any help.

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...