Jump to content

Sendtoafriend2 meta title duplication


goanta

Recommended Posts

Im using prestashop 1.4.6.2 and the new adapted theme with the new modules for 1.5 which includes the Sendtoadriend2 module.

 

I have discovered through google webmaster tools that this module seems to generate duplicate title tags with the product. It looks like this:

 

/bluze-medicale-imprimate/63-bluza-medicala-imprimata-flory.htm

 

/modules/sendtoafriend2/sendtoafriend-form.php?id_product=63

 

I have uninstalled the module but now i get the 'not found' for those pages so...

 

1)how can i change the tile generation of the module so that is different from the product?

2)Should't my robots file block access to that area anyway since i have Disallow: /modules/ in Robots?

 

Thanks in advance

Link to comment
Share on other sites

I had this problem also. The pages should be blocked by robots.txt but in my case the module was active before I generated it so google had already indexed the pages. I solved this by requesting the /module directory to be removed from the index in webmaster tools (crawler access/remove url/create a new removal request).

 

As long as the /modules directory is disallowed in your robots.txt (which it should be) they will remove it from the index within a day or so.

Link to comment
Share on other sites

Additionally, you might want to add

$smarty->assign(array('nobots' => true));

in your sendtoafriend2.php file, a the top of the displayPageForm function

 

It made me feel a little more secure that those stupid pages wont get indexed again

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...