Author Topic: No-SEF urls for categories with sublayout?  (Read 3587 times)

Miku

  • Jr. Member
  • **
  • Posts: 79
  • A beginner
  • VirtueMart Version: 3.0.18, J!3.6.4
No-SEF urls for categories with sublayout?
« on: May 28, 2015, 09:32:34 am »
Hi,
I'm using a custom sublayout for products in certain categories. I don't really know if that fact has something to do with that but looking on Google Analytics I see a lot of no-sef urls containing the 'sublayout' text, for example:

- /manufacturer/?categorylayout=categories&showcategory=1&showproducts=0&productsublayout=0
-/manufacturer/?categorylayout=categories&showcategory=1&showproducts=0&productsublayout=0
-/manufacturer/?categorylayout=0&showcategory=1&showproducts=0&productsublayout=0

By the way very strange because I'm not using any manufacturers...

I'm not able to reproduce the problem by myself so I'm wondering if this is something related with the Google Analytics or some problem with Virtuemart/Joomla...

J! 3.4.1

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3740
  • using Matomo instead of Google Analytics
Re: No-SEF urls for categories with sublayout?
« Reply #1 on: June 01, 2015, 21:44:09 pm »
I never saw such an url in my VM shop. But if I type 'productsublayout=0' into Google, the VM shops which show up all seem to have in common that the VM frontpage is not their homepage. Do you have a menu item in your menus which is assigned to 'Virtuemart frontpage' as a menu item type?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Miku

  • Jr. Member
  • **
  • Posts: 79
  • A beginner
  • VirtueMart Version: 3.0.18, J!3.6.4
Re: No-SEF urls for categories with sublayout?
« Reply #2 on: June 02, 2015, 11:37:48 am »
Yes, I do have a menu item (it's a home page) assigned to 'Virtuemart frontpage'. It dawned on me that I also use a custom sublayout for Virtuemart frontpage and maybe that's the reason...? If I remember correctly the 'productsublayout=0" phrase began to appear in the Google not long ago, and not long ago I have changed the 'Sublayouts for products in category' to my custom template...
But why am I not able to reproduce the problem? I have tried to use different browsers and nothing... There're only SEF urls
But if I type 'productsublayout=0' into Google
I did that too. Wow, I haven't realized the issue is so common...

Miku

  • Jr. Member
  • **
  • Posts: 79
  • A beginner
  • VirtueMart Version: 3.0.18, J!3.6.4
Re: No-SEF urls for categories with sublayout?
« Reply #3 on: June 03, 2015, 09:32:01 am »
I think I have found where the problem lies.. There is some conflict between Joomla Breadcrumbs module and the VM categories where we use sublayout override.
So to reproduce the issue click on some entry from the breadcrumbs leading to the VM category which layout has been overridden and you will see the urls like:
categorylayout=categories&showcategory=1&showproducts=0&productsublayout=0

Hope that VM devs will look into this issue soon

J! 3.4.1

Picannick

  • Beginner
  • *
  • Posts: 3
    • WebMan Webdesign
Re: No-SEF urls for categories with sublayout?
« Reply #4 on: September 08, 2015, 19:33:12 pm »
I got the same problem too! I think it's really bad for SEO!

Specially in combination with the other Cannocical-Link-Bug http://forum.virtuemart.net/index.php?topic=129099.0

Why nobody try to fix this?

Picannick