Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Inserting metatags


thered

Recommended Posts

Hi, first posting but I have searched the forums for info before posting.

 

Seems that the way to add metatags is to download and install a 'contribution'. I have a look at them and not really what I want to do , i just want to enter some html metatags, I'm really not interested in dragging stuff from databases etc.

 

So.... can one of you fine chaps or chapesses tell me which file to 'hack' :)

 

Cheers

 

R.

Link to comment
Share on other sites

That approach only works for static sites. For dynamic ones, you need a way to change the information as the page loads, thus the reason for the contributions. If you want to add them as on an html site, then pick a file from the root and add them as you would with any html page. But it would be a waste of time so I'm not sure why you want to do it.

 

Jack

Support Links:

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

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

That approach only works for static sites. For dynamic ones, you need a way to change the information as the page loads, thus the reason for the contributions. If you want to add them as on an html site, then pick a file from the root and add them as you would with any html page. But it would be a waste of time so I'm not sure why you want to do it.

 

Jack

 

In as much as META HTML TAGS go in the heading portion of a web page, my question seems appropriate for this thread without opening a new one.

 

I notice that out of the box osC does apparently not support image/graphics protection by disabling the right mouse click.

 

I realize there are ways around this method, but it does slow down newbies from stealing graphics and images, so I desire to implement it, by adding appropriate javascripts to the heading section of the page.

 

Are you telling me an add-on "contribution" is required to do this, and if so, which one ?

 

RE: the original question -- META TAGS

 

I DO RECOMMEND using META TAGS in spite of the following observations, quoted out of the osC docs.

 

Although META TAGS were in the early days of the internet the pirmary way search engines used to catalog and index one's web page on the net,

 

nowdays, current search engine technology does not put the weight on META TAGS it used to, and some search engines use algorythyms that essentially ignore META TAGS all together.

Link to comment
Share on other sites

I notice that out of the box osC does apparently not support image/graphics protection by disabling the right mouse click.

 

I realize there are ways around this method, but it does slow down newbies from stealing graphics and images, so I desire to implement it, by adding appropriate javascripts to the heading section of the page.

 

Are you telling me an add-on "contribution" is required to do this, and if so, which one ?

The code to prevent right click has nothing to do with meta tags so I don't understand the question. But, no, you don't need a contribution to add right click code.

nowdays, current search engine technology does not put the weight on META TAGS it used to, and some search engines use algorythyms that essentially ignore META TAGS all together.

They usually don't ignore them but they check if the keywords are actually used on the page, which a lot of shops don't do.

 

Jack

Support Links:

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

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

The code to prevent right click has nothing to do with meta tags so I don't understand the question. But, no, you don't need a contribution to add right click code.

 

No there is no direct relationship between META TAGS and the javascript to disable right clicks, but BOTH META TAGS AND THE JAVASCRIPT code goes in the heading section of an HTML web page, so the same method to include META TAGS (as implied requires a "contribution") should allow one to add the javascript for right click disable as well.

 

So if this can be done without a "contribution", please explain how. I am new to Oscommerce, and so far I have not found a way to add either the META TAGS or javascripts to apply to all pages in an oscommerce site; ie, way to set such code in the heading section of the web page. META TAGS would ideally vary page to page within a site, based on the product a given page pertains to, but the javascripts would be constant for ALL pages of the site.

 

They usually don't ignore them but they check if the keywords are actually used on the page, which a lot of shops don't do.

 

Jack

 

Truth to that point, but see:

 

META TAGS

Link to comment
Share on other sites

Right click blocking javascript is readily available on the web, not as a contribution. The script would go in the includes/header.php file.

 

Jack

Support Links:

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

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Right click blocking javascript is readily available on the web, not as a contribution. The script would go in the includes/header.php file.

 

Jack

 

 

Thanks for your reply Jack; I have such javascripts in hand which I was wanting to insert into osCommerce.

 

But, after digging around in the contributions area, seems there are probably better ways to protect images and text in osCommerce from theft, which I have decided to use in the end, such as:

 

http://addons.oscommerce.com/info/2676/v,22

 

so I'll move discussions regarding this issue to appropriate threads.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...