Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

There are no SEO Urls on pages with child products
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 3 (Joomla 1.5 compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: There are no SEO Urls on pages with child products

There are no SEO Urls on pages with child products 14 years, 9 months ago #7459

Hello,
There are no SEO Urls on pages with child products in Virtuemart (when I'm using JoomSEF). Why is that? Is it possible to fix it?
Last Edit: 14 years, 9 months ago by Driver79.
The topic has been locked.

Re:There are no SEO Urls on pages with child products 14 years, 9 months ago #7504

  • jaku
I am not quite sure about the latest version, but it was not possible in older versions, because the problem was at VM side, where the URLs for child products were not generated in standard way, so the SEO process did not affect them.

Generally, you may locate the code in VM template responsible for generating the child product URL and check if it is parsed via JRoute::_ method. If so, the SEO process should parse such link.

We are currently working of VM extension review, so we will test this with latest VM version. However, according to instructions above, you can check yourself immediatelly.
The topic has been locked.

Re: There are no SEO Urls on pages with child products 11 years, 3 months ago #35375

Hello,

I'm using Joomla 1.5.26 Virtuemart 1.1.9 JoomSEF 3.9.9 , JoomSEF Virtuemart Plugin 2.1.8
And I still have the problem that no SEO URLs on pages with child products.

Since you mentioned it's a Virtuemart problem, could you please point out where to look and fix in Virtuemart to make child product URLs become SEO URLs?

Thanks
The topic has been locked.

Re: There are no SEO Urls on pages with child products 11 years, 3 months ago #35389

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

As far as I know the default template in VM 1.1.9 doesn't display separate pages for child products at all but updates the product details page using AJAX when a child product is selected instead. Do you use some custom template? Does it redirect to child product's details page when a child product is selected?
ARTIO Support Team
The topic has been locked.

Re: There are no SEO Urls on pages with child products 11 years, 3 months ago #35437

Hello Dajo,

Thanks for the reply. I'm using the default virtuemart template. You are right, when a child product is selected from the dropdown select, VM updates the product details page, however, the url is also changed to something like
www.mysite.com/index.php?option=com_virt...d=1&product_id=3

Is there a way to make the child product url a seo url?
The topic has been locked.

Re: There are no SEO Urls on pages with child products 11 years, 3 months ago #35492

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

You will need to modify the following file in VirtueMart:
/administrator/components/com_virtuemart/classes/ps_product_attribute.php

It generates the select box with child products and controls its behavior. Currently it uses only the child product ID and builds the URL for child product page in JavaScript, which can't be used to generate SEF URLs. It would need to be modified so each select box's option contains child product's SEF URL generated from PHP instead of only its ID and JavaScript will just use it for a redirection.
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný