Zen Cart Logo
Forums / General Questions / Home page validation

Home page validation

Views: 863

Results 1 to 5 of 5
24 Mar 2012, 4:41 PM
#1
btman avatar

btman

New Zenner

Join Date:
Jun 2009
Location:
Wales UK
Posts:
92
Plugin Contributions:
0

Home page validation

What would be the easiest way for me to insert some code into my home page to prove that I own it? Thanks

24 Mar 2012, 4:43 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Home page validation

Unless I don't understand the question, the copyright statement in the footer should take care of that.

24 Mar 2012, 4:50 PM
#3
btman avatar

btman

New Zenner

Join Date:
Jun 2009
Location:
Wales UK
Posts:
92
Plugin Contributions:
0

Re: Home page validation

I need to hide some code for a bot to check that I am the owner.

24 Mar 2012, 5:23 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,080
Plugin Contributions:
56

Re: Home page validation

If you're talking about Google's site verification code ...

Originally Posted by DrByte here:

  1. Create a new file named jscript_googleverify.php
  2. Put this into it ... just the code you need for Google (likely just the ONE line) ... (do NOT use any <?php or ?> tags in this file):
    Code:
<meta name="google-site-verification" content="your_code_value" />
  1. Upload this new file into your custom template folder's jscript folder, like so:
    /includes/template/YOURTEMPLATE/jscript/jscript_googleverify.php

This will cause that file's contents to be displayed inside the <head> tag of your site ... and you won't have to touch the default html_header.php file, making upgrades simpler !

25 Mar 2012, 12:36 AM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: Home page validation

NOTE: the version of Zen Cart you are using is vulnerable to serious security issues and you need to upgrade immediately.