Jump to content

[solved]<title> tags are duplicated in Prestashop 1.6


EverythingBLING

Recommended Posts

Hi. My <title> tags are duplicated. I've enabled 'canoninical' url's, as per other forum questions, but this hasn't worked. I've also been in to the header.tpl and removed the <title> altogether, but the site still shows this:

 

<!DOCTYPE HTML> <!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en-us"><![endif]--> <!--[if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7" lang="en-us"><![endif]--> <!--[if IE 8]><html class="no-js lt-ie9 ie8" lang="en-us"><![endif]--> <!--[if gt IE 8]><html class="no-js ie9" lang="en-us"><![endif]--><html lang="en-us"><head><meta charset="utf-8" /><title>Pandora Charms Sale & Bracelets UK - EverythingBLING</title><title>Pandora Charms Sale & Bracelets UK</title><meta name="msvalidate.01"

 

Does anyone know how to remove the duplication please? I'm using 1.6. Thanks in advance.

Link to comment
Share on other sites

You are using native theme ?

 

Perhaps the theme in use is causing the problem (or another SEO module you are using which is not native). Furthermore there is no possibility to activate canonical URL's by default on Prestashop. You can only select which page should manage the missing URL's, none, 302 or 301.

 

Which PS 1.6 versdion is it ? I cannot confirm that on PS 1.6. the title tags are created in double.

 

Code PS 1.6.1.4 and 1.6.1.5

	<meta charset="utf-8" />
		<title>{$meta_title|escape:'html':'UTF-8'}</title>
		{if isset($meta_description) AND $meta_description}
			<meta name="description" content="{$meta_description|escape:'html':'UTF-8'}" />
		{/if}

And the result:

<title>Blouse - ps16dev</title><meta name="description" content="Short sleeved blouse with feminine draped sleeve detail." />

It must be something comin gfrom your theme or non native module in use. Disable module , cleare smarty cache and browser cache and verify, if you are using module. If not solved, check on your theme in use.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...