Menu Content

Podpora

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

Problem with new virtuemart product URLs
(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.

TOPIC: Problem with new virtuemart product URLs

Problem with new virtuemart product URLs 12 years ago #28984

Hi,

i recently installed the latest JoomSEF 3 version (3.9.5 - virtuemart extension version 2.1.1) for a client (order number 23353) that has over 2000 products under two or more categories each.
I used the following setting for virtuemart products :

Number duplicate product names : YES
Add categories to URL : ONLY LAST ONE
Add category ID to URL : YES
Add categories to product URLs : YES
Ignore multiple categories : NO
Handling : JoomSEF handler
Add Menu Title to URL : NO

After the installation i used the JoomSEF crawler to generate tha URLs. The generated URLs were fine each product has as many URls as the Categories it belogs pointing to the product flypage.

Now we created new products and we facing problem with a lot of them. Joomsef creates product URLs for the categories but only the first category URL points to flypage all the others point to category browse page.

Example : eshop.beautyathome.gr/?orderby=product_c...=20&limitstart=0

If i delete the wrong URLs one or more time after that Joomsef generates the right URLs for the product.
As you can understand it is not possible every time to search and delete the wrong Urls one or more times until the JoomSEF generates the right URLs.

Please advise with a fix for the problem.

Thank you
The topic has been locked.

Re: Problem with new virtuemart product URLs 12 years ago #28998

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
We need to first find out why the wrong URLs are created in the first place. You should enable URL source tracing in JoomSEF's Advanced configuration, which will store the information about URL's origin for each new URL. Then when some new wrong URL is created, you can check from which page it was created. After that, you should disable SEF in Joomla's global configuration and check what the original non-SEF URLs look like on that page to see if they contain the correct flypage parameter.
ARTIO Support Team
The topic has been locked.

Re: Problem with new virtuemart product URLs 12 years ago #29003

Hi dajo,

i followed your advice and here is an example with problem

ok url

New SEF URL = 247-κραγιόν/clinique-butter-shine-lipstick-426.html
Old Non-SEF Url = index.php?option=com_virtuemart&category_id=247&flypage=flypage.tpl&manufacturer_id=26&page=shop.product_details&product_id=2449

From: eshop.beautyathome.gr/list-all-products.html
Referer: eshop.beautyathome.gr/list-all-products.html
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0

#1: JRoute->_('index.php?page=shop.product_details&flypage=flypage.tpl&product_id=2449&category_id=247&keyword=clinique&option=com_virtuemart&Itemid=180'), /administrator/components/com_virtuemart/classes/ps_session.php line 603
#2: vm_ps_session->url('eshop.beautyathome.gr/?page=shop.product...amp;keyword=clinique'), /administrator/components/com_virtuemart/html/shop.browse.php line 312
#3: include('/var/customers/webs/adogias/eshop.beautyathome.gr/html/administrator/components/com_virtuemart/html/shop.browse.php'), /components/com_virtuemart/virtuemart.php line 166

wrong url

New SEF URL = 247-κραγιόν/clinique-butter-shine-lipstick-426.html
Old Non-SEF Url = index.php?option=com_virtuemart&flypage=flypage.tpl&manufacturer_id=26&product_id=2449

From: eshop.beautyathome.gr/home/eshop.html?pa...&category_id=144
Referer:
User agent: Mozilla/5.0 (compatible; Ezooms/1.0; Tato emailová adresa je chráněna před spamboty, abyste ji viděli, povolte JavaScript )

#1: JRoute->_('index.php?page=shop.product_details&category_id=247&flypage=flypage.tpl&product_id=2449&option=com_virtuemart&Itemid=180'), /administrator/components/com_virtuemart/classes/ps_session.php line 603
#2: vm_ps_session->url('eshop.beautyathome.gr/index.php?page=sho...&product_id=2449'), /administrator/components/com_virtuemart/classes/ps_product.php line 2478
#3: vm_ps_product->product_snapshot('020714246280', '1', '', '1'), /administrator/components/com_virtuemart/classes/ps_product.php line 2437
The topic has been locked.

Re: Problem with new virtuemart product URLs 12 years ago #29023

original non-SEF for the above example :

hxxp://eshop.beautyathome.gr/index.php?page=shop.product_details&flypage=flypage.tpl&product_id=2449&category_id=247&option=com_virtuemart&Itemid=180
Last Edit: 12 years ago by sp.petrakis.
The topic has been locked.

Re: Problem with new virtuemart product URLs 11 years, 12 months ago #29105

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
The problem happens because when someone (in this case the Ezooms bot) visits the page like:
eshop.beautyathome.gr/home/eshop.html?pa...&category_id=144
JoomSEF treats the non-SEF variables present in the URL as non-SEF for all the other URLs on that page, so they're stored in database without them (as you can see in your wrong URL example).

This is a security function and currently it can't be disabled, but we'll add an option to disable it in next version, as from your report we can see that it may cause problems in some cases.
ARTIO Support Team
The topic has been locked.

Re: Problem with new virtuemart product URLs 11 years, 12 months ago #29118

Hi,

we will wait for the next release and i will inform you if this will fix our problem.
The topic has been locked.
Přihlášení uživatele Prázdný