Hello to everyone
I’m trying to insert this three lines for Yahoo and Google indexing verification:
<meta name=“google-site-verification” content=“xxx some nr xxxx” />
<META name=“y_key” content=“xxx some nr xxxx”>
<META NAME=“ROBOTS” CONTENT=“ALL”>
They should appear in every html page of my OXID e-shop. I’m sure it’s trivial but still getting confused. I was trying to insert them into _header.tpl, _header_plain.tpl, header.tpl but obviously without success.
Oxid CE 4.4.7_33396.
Thanks in advance for any help.
Bye
Marko
original html (not OXID):
<html>
<head>
<title>
e-shop
</title>
<meta name=“google-site-verification” content=“xxxxxxxxxxxxxx” />
<META name=“y_key” content=“xxxxxxxxxxxxxx”>
<META NAME=“ROBOTS” CONTENT=“ALL”>
<meta http-equiv=“Content-Type” content=“text/html; charset=utf-8”>
</head>
<style>
body{background-color: #ffffff;}
…
…
…
you can fill in those into special CMS-pages
oxstartmetadescription and oxstartmetakeywords
check the code of your shop to see where it goes
Thanks for quick reply. But can you please be more specific. Where should I insert string “google-site-verification” and where “xxx some nr xxxx” to get a row <meta name=“google-site-verification” content=“xxx some nr xxxx” /> as result.
Under CMS Pages/Main of oxstartmetadescription or under CMS Pages/SEO. I’ve tried few things but without success. I really need “OXID for dummies”
kind of instructions here… Thanks again
Marko
hmmm… I think I have misunderstood your post (because reading way to fast…)
Insert your code into _header.tpl directly above </head>
<meta name="google-site-verification" content="xxxxxxxxxxxxxx" />
<meta name="y_key" content="xxxxxxxxxxxxxx">
</head>
after that delete all stuff inside /tmp folder (this is the cache-folder of the shop)
then it should work, you can check by showing the source code of your site in the browser window
Perfect, it’s inserted now. I guess inserting “directly above </head>” was crucial.
Thank you very much and bye.
Marko
Hi Ray,
and when I want to insert code into the head section ONLY in the home page?
Albert
copy the [{if …}] [{(if}] code around the slider and put it around this tags you want
Thanks vanilla thunder!
I forgot to mention that I want to insert SOME code. It isn’t related to Yahoo and Google.
And unfortunately I do not understand what you mean. I’m not so good in those programming like things.
Albert