Jump to content



Latest News: (loading..)

- - - - -

Meta Tags - How to insert manually into non product pages without using any add-on

seo meta meta data meta tags meta tag

  • Please log in to reply
17 replies to this topic

#1   seanfod

seanfod
  • Members
  • 6 posts
  • Real Name:Sean O'Donoghue

Posted 16 June 2012 - 09:29 AM

Hi

Here is our website: http://jollytimetoys.co.uk/

We are looking for a little support with the manual insertion of Meta Tags for non product pages. For example we would like to add Meta Tags to the tell a friend pages http://jollytimetoys.co.uk/tell_a_friend.php?products_id=204 . Is this even possible given the fact that there is a separate tell a friend page for each product?

Other pages, perhaps more straightforward are the likes of http://jollytimetoys.co.uk/products_new.php

Any help would be very much appreciated.

Thanks.

Edited by seanfod, 16 June 2012 - 09:31 AM.


#2   seanfod

seanfod
  • Members
  • 6 posts
  • Real Name:Sean O'Donoghue

Posted 16 June 2012 - 09:47 AM

I should have probably mentioned that this is the 2.3 version of oscommerce.

#3   Praful Kamble

Praful Kamble
  • Members
  • 264 posts
  • Real Name:Praful
  • Gender:Male
  • Location:Pune, India

Posted 16 June 2012 - 10:09 AM

Go for separate page.

Edited by Praful Kamble, 16 June 2012 - 10:17 AM.

Like post..hit LIKE button.

osCommerce | Joomla | WordPress | Magento | SEO | CakePHP | CI

Guaranteed Website Speed Optimization!!

#4   seanfod

seanfod
  • Members
  • 6 posts
  • Real Name:Sean O'Donoghue

Posted 16 June 2012 - 10:25 AM

View PostPraful Kamble, on 16 June 2012 - 10:09 AM, said:

Go for separate page.

What?

#5   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 16 June 2012 - 12:53 PM

View Postseanfod, on 16 June 2012 - 09:29 AM, said:

Hi

Here is our website: http://jollytimetoys.co.uk/

We are looking for a little support with the manual insertion of Meta Tags for non product pages. For example we would like to add Meta Tags to the tell a friend pages http://jollytimetoys.co.uk/tell_a_friend.php?products_id=204 . Is this even possible given the fact that there is a separate tell a friend page for each product?

Other pages, perhaps more straightforward are the likes of http://jollytimetoys.co.uk/products_new.php

Any help would be very much appreciated.

Thanks.
The tell-a-friend doesn't matter since it requires a login to use it. For the others, some, if not all, of the meta tags contributions will do that. I recommend Header Tags SEO.

#6   seanfod

seanfod
  • Members
  • 6 posts
  • Real Name:Sean O'Donoghue

Posted 16 June 2012 - 01:02 PM

Hi Jack

I guess you did not read my question properly. I need to alter the Meta Data on the "Tell a Friend" pages regardless of whether you need to login to see it (which is not actually the case on our website). I also asked for help adding these Tags manually without using add-ons (See title of the post).

Please only post if you can actually answer my question. Thanks.

#7 ONLINE   DunWeb

DunWeb
  • Members
  • 12,713 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 16 June 2012 - 01:17 PM

@seanfod

You could always do it the old fashion way:

<head>
<meta name="description" content="">
<meta name="keywords" content="">
</head>



Chris


ps.  You may want to respond with a little more diplomacy as everyone here is only trying to help.  Jack, who is pretty much the authority on osCommerce SEO enhancements likely has buckets more information about SEO than you could ever wish to have.  So, be kind and remember, everyone here volunteers their personal time to help others.
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)  for more information and to contact me for professional osCommerce support that includes custom templates, add ons as well as cart leasing and support plans.

#8   OSC-Sevilla

OSC-Sevilla
  • Members
  • 391 posts
  • Real Name:George
  • Gender:Male
  • Location:Sevilla, Spain

Posted 16 June 2012 - 01:27 PM

View PostDunWeb, on 16 June 2012 - 01:17 PM, said:

@seanfod


Chris


ps.  You may want to respond with a little more diplomacy as everyone here is only trying to help.  Jack, who is pretty much the authority on osCommerce SEO enhancements likely has buckets more information about SEO than you could ever wish to have.  So, be kind and remember, everyone here volunteers their personal time to help others.

hear hear!
OSC 2.3.1
INSTALLED:Document Manager / Monthly Sales and Tax Returns / Batch Print Invoices / Ultimate HTML EMAILs / AJAX Attribute Manager / OSC PDF Catalog / Move Bookmarks / Sort Order / Easy Populate / Sales Reports / Low Stock Report / Admin: Model # on Category / Product Administration Screen / Mini images in admin / SLiCK reCaptcha / Google + / Beautiful Breadcrumbs / 2.3.1 - Banner Language Mod / ADD New Page / EASY MAP (google) v.3.0 / Who's Online Enhancement for 2.3.1 / Admin Notes / scrambled order number / remove_unused_images / Quantity Select / Unit Weight / Product Specifions (filter results) / AJAX Product Attributes/ Attribute Codes/ Date & Order No. to Invoice/ O.P.I. 2.0 / Attribute Images / Manual Order Editor / Attributes Clone / Order Editor / Create Order / Company VAT No. / Add customer/  CKEditor 2.3.1 / Page Manager / Default images via admin / Percentage Shipping Price / QTPro / Scroll to Top / PDF Invoice / Featured Products / Product Listing Enhancements / AutoBackups /  Ultimate SEO URLS 5 Pro / Kiss Tags/ ..Custom Admin Mods /

#9   seanfod

seanfod
  • Members
  • 6 posts
  • Real Name:Sean O'Donoghue

Posted 16 June 2012 - 01:45 PM

@OSC-Sevilla @DunWeb : I agree with the both of you to a certain degree but why respond if you do not have the answer? In fact, why bother to respond  at all if you do not read the question properly in the first place? It happens all the time in forums and it is just a waste of everyones time.

@DunWeb : I know how to add the tags to the head section but was not sure which file/s to apply the tags to. Perhaps i should have been more specific.

Apologies Jack.

#10   OSC-Sevilla

OSC-Sevilla
  • Members
  • 391 posts
  • Real Name:George
  • Gender:Male
  • Location:Sevilla, Spain

Posted 16 June 2012 - 02:16 PM

the information needs to reside in the page header (templatetop.php)

Look for &--#60;title&--#62;

mine looks like this:

&--#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&--#62;
&--#60;html xmlns="http://www.w3.org/1999/xhtml" &--#60;?php echo HTML_PARAMS; ?&--#62;&--#62;
&--#60;head&--#62;
&--#60;meta http-equiv="Content-Type" content="text/html; charset=&--#60;?php echo CHARSET; ?&--#62;" /&--#62;
&--#60;title&--#62;&--#60;?php echo tep_output_string_protected($oscTemplate-&--#62;getTitle()); ?&--#62;&--#60;/title&--#62;
&--#60;base href="&--#60;?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?&--#62;" /&--#62;

---------------
Mine will look diferent because i use kisstags,

my source looks like:
&--#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&--#62;
&--#60;html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" xml:lang="en" lang="en"&--#62;&--#60;head&--#62;
&--#60;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&--#62;
&--#60;title&--#62;Tell A Friend About THIS BIT IS HERE YOU´´LL WANT THE PRODUCT NAME&--#60;/title&--#62;
&--#60;meta name="description" content="Tell A Friend About.THIS BIT IS HERE YOU´´LL WANT THE PRODUCT NAME. ETC" /&--#62;
&--#60;meta name="keywords" content="friend...NAME/MODEL/BRAND/ETC" /&--#62;

-------

As you know you, each product provides different meta so you will have to call global variables such as product name. model. etc

NOTE:
I recently installed kisstags and Header SEO. turns out kisstags was so painless and with a slight tweek its out putting sweet meta. Also easy to add extra pages.

Either way, because template top is a global header, static meta wont be acceptable..

hope this at least helps.

this editor did not like that.

Edited by OSC-Sevilla, 16 June 2012 - 02:19 PM.

OSC 2.3.1
INSTALLED:Document Manager / Monthly Sales and Tax Returns / Batch Print Invoices / Ultimate HTML EMAILs / AJAX Attribute Manager / OSC PDF Catalog / Move Bookmarks / Sort Order / Easy Populate / Sales Reports / Low Stock Report / Admin: Model # on Category / Product Administration Screen / Mini images in admin / SLiCK reCaptcha / Google + / Beautiful Breadcrumbs / 2.3.1 - Banner Language Mod / ADD New Page / EASY MAP (google) v.3.0 / Who's Online Enhancement for 2.3.1 / Admin Notes / scrambled order number / remove_unused_images / Quantity Select / Unit Weight / Product Specifions (filter results) / AJAX Product Attributes/ Attribute Codes/ Date & Order No. to Invoice/ O.P.I. 2.0 / Attribute Images / Manual Order Editor / Attributes Clone / Order Editor / Create Order / Company VAT No. / Add customer/  CKEditor 2.3.1 / Page Manager / Default images via admin / Percentage Shipping Price / QTPro / Scroll to Top / PDF Invoice / Featured Products / Product Listing Enhancements / AutoBackups /  Ultimate SEO URLS 5 Pro / Kiss Tags/ ..Custom Admin Mods /

#11 ONLINE   DunWeb

DunWeb
  • Members
  • 12,713 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 16 June 2012 - 02:31 PM

@seanfod

You can apply the meta information to the /tell_a_friend.php file


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)  for more information and to contact me for professional osCommerce support that includes custom templates, add ons as well as cart leasing and support plans.

#12   seanfod

seanfod
  • Members
  • 6 posts
  • Real Name:Sean O'Donoghue

Posted 16 June 2012 - 03:02 PM

Thanks guys.

#13   AronJeney

AronJeney
  • Members
  • 15 posts

Posted 09 November 2012 - 09:03 PM

@DunWeb

View PostDunWeb, on 16 June 2012 - 01:17 PM, said:

@seanfod

You could always do it the old fashion way:

<head>
<meta name="description" content="">
<meta name="keywords" content="">
</head>



Chris


ps.  You may want to respond with a little more diplomacy as everyone here is only trying to help.  Jack, who is pretty much the authority on osCommerce SEO enhancements likely has buckets more information about SEO than you could ever wish to have.  So, be kind and remember, everyone here volunteers their personal time to help others.


Hey guys, apologies in advance for any ignorance, but does the "old fashion way" work when using in the main index.php file?

#14 ONLINE   DunWeb

DunWeb
  • Members
  • 12,713 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 10 November 2012 - 12:00 AM

@AronJeney

It would work on any PHP file that contains a <head> section.


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)  for more information and to contact me for professional osCommerce support that includes custom templates, add ons as well as cart leasing and support plans.

#15   AronJeney

AronJeney
  • Members
  • 15 posts

Posted 11 November 2012 - 07:12 PM

@DunWeb Thanks Chris!

#16   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 12 November 2012 - 01:06 AM

View PostAronJeney, on 09 November 2012 - 09:03 PM, said:

Hey guys, apologies in advance for any ignorance, but does the "old fashion way" work when using in the main index.php file?
No, not really. Technically it works. You can add the code and the title and tags you enter will be displayed. But the index.php file also controls the category and the manufacturer pages so if you enter them manually, the title and tags will be the same for every page and that defeats the purpose, for the most part.

#17   supersoftbox

supersoftbox
  • Members
  • 3 posts
  • Real Name:John Andersson
  • Gender:Male

Posted 28 December 2012 - 11:15 AM

View PostJack_mcs, on 12 November 2012 - 01:06 AM, said:

No, not really. Technically it works. You can add the code and the title and tags you enter will be displayed. But the index.php file also controls the category and the manufacturer pages so if you enter them manually, the title and tags will be the same for every page and that defeats the purpose, for the most part.

Jack, are you saying what I think you are? The tag changes (description, keyword) I do manually on every php-page make no difference? That Google will still treat the pages as duplicates and not index them?
-------------------------------


I am using osCommerce 2.3.1

#18   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 28 December 2012 - 01:34 PM

View Postsupersoftbox, on 28 December 2012 - 11:15 AM, said:

Jack, are you saying what I think you are? The tag changes (description, keyword) I do manually on every php-page make no difference? That Google will still treat the pages as duplicates and not index them?
No, I don't think that is what I said. The question I replied to was about the index.php file and adding meta tags code to the file like one would for an html page, at least that is how I read it. The index.php file handles the home page, all categories and all manufacturers so if you did that, every one of those pages would have the same title and tags and that is mostly useless with regards to SEO. But even if you did that, google wouldn't treat the pages as duplicates. They would note that they had duplicate titles and meta descriptions but that would not stop them from listing the pages. It would just diminish their index position.





Also tagged with one or more of these keywords: seo, meta, meta data, meta tags, meta tag