Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / edit the code on my site -- my SEO person wants me to add something

edit the code on my site -- my SEO person wants me to add something

Locked
This thread is locked. New replies are disabled.
9 Jul 2009, 10:08 AM
#1
signify avatar

signify

Zen Follower

Join Date:
Sep 2008
Posts:
92
Plugin Contributions:
0

Post #1 by signify

Hi All, Really hope someone can help.
My SEO handler has asked me to add some code to the HTML of my web site just before the </body> tag I have looked on PLESK and opened the index.html and its is not my home page. Can anyone advise as to where to find my page to input the code?

My site is
https://www.offerusaprice.co.uk.

Thanks for any assistance.

Regards
Taz

9 Jul 2009, 2:13 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #2 by gjh42

There are no flat HTML pages in Zen Cart. All pages are built on the fly as users request them by pulling appropriate bits from many PHP files.

You would probably want to add your SEO code to your custom template's copy of tpl_main_page.php
(/includes/templates/your_template/common/tpl_main_page.php).

9 Jul 2009, 5:15 PM
#3
signify avatar

signify

Zen Follower

Join Date:
Sep 2008
Posts:
92
Plugin Contributions:
0

Post #3 by signify

Hi gjh42

Thanks for your reply. I am supposed to add it just before the closed body tag, so would you know the best place to add it?

this is the script.

<!-- Start of StatCounter Code --> <script type="text/javascript"> var sc_project=4891861; var sc_invisible=1; var sc_partition=57; var sc_click_stat=1; var sc_security="8100400c"; </script> <script type="text/javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><div

class="statcounter"><a title="blogger web statistics"

href="http://www.statcounter.com/blogger/"

target="_blank"><img class="statcounter"

src="http://c.statcounter.com/4891861/0/8100400c/1/"

alt="blogger web statistics" ></a></div></noscript>

<!-- End of StatCounter Code -->

Thanks for your help.

9 Jul 2009, 6:26 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #4 by gjh42

I suppose right between the

<!--eof- banner #6 display -->

and the

</body> in tpl_main_page.php:```php <div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div> <?php } } ?> <!--eof- banner #6 display --> </body> ```
9 Jul 2009, 6:28 PM
#5
signify avatar

signify

Zen Follower

Join Date:
Sep 2008
Posts:
92
Plugin Contributions:
0

Post #5 by signify

Thanks for you help Glen.