VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: stawebnice on June 23, 2015, 11:16:34 AM

Title: VM 3.0.9 - meta not shown for menu item virtuemart category with manufacturer
Post by: stawebnice on June 23, 2015, 11:16:34 AM
Hi,

I have a website on Joomla 3.4.1 with Virtuemart 3.0.9

I have noticed this issue with menu item type Virtuemart categories with manufacturer selected:

http://www.nej-kontaktnicocky.cz/barnaux

the menu item has meta title, description and keywords entered in menu item:
http://imtp.me/9pf102lj3.p
http://imtp.me/9pf202lj3.p

however, when I check the page source, I see double metatitle: Barnaux Barnaux and no metadescription and keywords:
http://imtp.me/9pf302lj3

Please advise, why is this not working when the other menu items are fine...

http://imtp.me/9pf402lj3.p
Title: Re: VM 3.0.9 - meta not shown for menu item virtuemart category with manufacturer
Post by: jjk on June 24, 2015, 00:10:29 AM
I can see duplicate page titles on some other pages you linked in that menu, too if I look at the browser tabs. Reason might be that you are using '&' in some urls. This is a reserved character and should not be used when you create menu items, unless you encode them. See here: http://www.url-encode-decode.com/
Title: Re: VM 3.0.9 - meta not shown for menu item virtuemart category with manufacturer
Post by: stawebnice on June 24, 2015, 08:44:39 AM
Hi, this is a default Joomla / VM url, I am not adding anything into the URL.
Title: Re: VM 3.0.9 - meta not shown for menu item virtuemart category with manufacturer
Post by: jjk on June 24, 2015, 12:46:26 PM
Ok, you are correct. You don't have the '&' in the urls. Initially I thought you have it in the menu alias.
But it looks to me like you added the text manually somewhere. For example, you have 'PegaVision Pegavision' in the page title. Note the different spelling of the two words.
Title: Re: VM 3.0.9 - meta not shown for menu item virtuemart category with manufacturer
Post by: stawebnice on June 24, 2015, 13:18:00 PM
It adds there title from menu item and the name of the manufacturer. But there is no reason for it, since I have defined the meta title and description in menu settings. So there clearly is some bug...
Title: Re: VM 3.0.9 - meta not shown for menu item virtuemart category with manufacturer
Post by: jjk on June 24, 2015, 18:27:16 PM
Just remembered that I have the same or a similar issue on my live site, too. It depends on how you organize the menus. If I remember correctly I had chosen to tolerate the duplicate manufacturer names, because I didn't like that Joomla always added the default frontpage menu title into the urls of my bilingual shop.
What happens in your case if you unpublish the manufacturer name in the Joomla menu? (Assuming that you have the VM manufacturer module published into the left module position).
Title: Re: VM 3.0.9 - meta not shown for menu item virtuemart category with manufacturer
Post by: stawebnice on June 24, 2015, 21:23:50 PM
I can  try it, but there is a reason why I don't use manufacturers module - I want to show only some of the manufacturers (contact lenses and solutions have separate menu)...
Title: Re: VM 3.0.9 - meta not shown for menu item virtuemart category with manufacturer
Post by: jjk on June 24, 2015, 23:22:41 PM
Quote from: stawebnice on June 24, 2015, 21:23:50 PM
I can  try it, but there is a reason why I don't use manufacturers module

If you don't use it yet, you don't have to. I thought the issue might be related to using both, the manufacturers module and a Joomla menu with manufacturer items.
Just checked my old Joomla/VM versions up to 3 years back. It seems that the issue has always been there in the manufacturer views. In my case the duplicate title disappears if I disable the manufacturer in the hidden Joomla menu. But then I get the unwanted frontpage menu item title in front of the manufacturer's name instead of the duplicate name.
Didn't find a solution yet...
You can see what I got for example here:
http://kiekebusch.com/en/carter-colin/artist/carter-colin - seems to be the same issue you have.
Title: Re: VM 3.0.9 - meta not shown for menu item virtuemart category with manufacturer
Post by: stawebnice on June 24, 2015, 23:31:23 PM
I haven't noticed this yet, because I usually use Artio JoomSEF component which solves the problem and then it always overrides this and you can set it the way you like. However, some people do not want to pay for version that does not leave a backlink...then it should work without any extension...question is, is this a virtuemart or Joomla issue?