Post by inactiveaccount9912 » Fri May 14, 2010 2:53 am

:) Hi! I have an opencart based website. An I added the website to some web directors , but now the problem is that some of the requires too add a small html or java script code in the index of my webpage. - the problem nr 1
Problem number 2 : I dont know how but from the html code of the index page has disspeared some meta tags (the ones for search engines) and i want to insert the back but i dont know where to do that.
If u know , what file do i have to open and edit please tell me. And specify the folder please .
Last edited by i2Paq on Fri May 14, 2010 4:41 am, edited 1 time in total.
Reason: Title adjusted + Topic moved

Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am

Post by Xsecrets » Fri May 14, 2010 3:42 am

if the stuff is supposed to go in your head tag it would be catalog/view/theme/default/template/common/header.tpl if they are supposed to go at the bottom of the file it would be. catalog/view/theme/default/template/common/footer.tpl

if you are not running the default theme replace default with your theme name.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by inactiveaccount9912 » Fri May 14, 2010 4:01 am

Thanks a lot . I solved the problem in the footer but i have a problem with the header. I guess in header i have to insert the meta tag , and the only meta tag is meta name and it looks like this <meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
<base href="<?php echo $base; ?>
Any advice about how to insert another meta tag?

Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am

Post by inactiveaccount9912 » Fri May 14, 2010 4:03 am

Bt when i view source in opera meta name looks like this meta name="description" content="cartuse, tonere, imprimante, copiatoare, laptop, monitoare, vidoeproiectoare, canon, brother, hp, lexmark, samsung, xerox, ploiesti, prahova
" />

Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am

Post by Xsecrets » Fri May 14, 2010 4:19 am

that's because the meta description tag gets dynamically populated with whatever you put in the meta description field of your product/category etc.

if you need to add another meta tag there just add it. What meta tag in particular are you needing to add?

and by the way the meta description is really supposed to be a short prose type description not a comma separated list of keywords.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by inactiveaccount9912 » Fri May 14, 2010 4:36 am

Dude thanks a lot.
Last edited by inactiveaccount9912 on Tue Mar 22, 2011 11:18 pm, edited 1 time in total.

Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am

Post by Xsecrets » Fri May 14, 2010 6:20 am

there are several different kinds of meta tags the description should be short sentence type description (it's sometimes used by google in their little description portion) then there's keywords which is the comma separated list of keywords and phrases. The keyword meta tag is no in opencart at this point. It is not really used by any of the major search engines anymore, but many people believe they need it, so it is being added into the next version. And of course there's tons of other meta tags, but those are the two most common.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by james_bargainmarket » Tue May 15, 2012 11:57 pm

Hi,

Regarding this, Can anyone tell me how i can add meta keywords that are in the title page of my website? i get keywords if i open a category or product but i require keywords to be displayed when i open my website.

http://www.bargainmarket.com.au , if you open it and goto page source, you can see meta description but no keywords.

Can anyone please tell me how i can have that on the 1st page.

i have tried adding keyword from header.tpl in catalog and admin etc but no use.

ANY SUGGESTION GUYS???

Visit http://www.bargainmarket.com.au, the best place to buy stuff online in Australia. Visit now and enjoy.

Image


User avatar

Posts

Joined
Sun May 13, 2012 2:15 am
Location - Melbourne, Australia
Who is online

Users browsing this forum: No registered users and 11 guests