• Home
  • Get help
  • Ask a question
Last post 3 hours 44 min ago
Posts last week 110
Average response time last week 29 min
All time posts 67424
All time tickets 10424
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#2866 – Virtuemart issues + Generate all website URL

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 20 October 2016 08:16 UTC
cameleons
 Good morning,

We are currently rebuilding an old Joomla 1.5 Website using SH404Sef to Joomla 3.6.3.
Both are using Virtuemart.

After installing SH404Sef and configuring it, we have the following problems :

- We have a /products/ directory in our URL, who wasn't on the old website. Even if we set only the last category to display in the products URL.

- When we access the product page via another page (from a category archive for example) the generated url is correct. But if we use language switcher, the generated url is wrong, example :

/ja/products/hydrolats/millepertuis-bio_flh021 <- The japanese URL is fine because we came from the category page

/zh/millepertuis-bio_flh021 <- The chinese URL is wrong because we used the language switcher.


In the end we just need the following url for all our products :
www.mywebsite.com/lang/category/translated-product-name

Also, is the a way to generate all the URLs at once, instead of navigating page to page ?

Regards,

Bruno
Thursday, 20 October 2016 10:40 UTC
wb_weeblr
Hi

1 - What multilingul system do you use on the new site?

2 -
- We have a /products/ directory in our URL, who wasn't on the old website. Even if we set only the last category to display in the products URL.
Where do you have that? is this only when using the language switcher? if so, answer to first question matters.

3 -
Also, is the a way to generate all the URLs at once, instead of navigating page to page ?
No, this would require knowledge of all URLs, and be really unefficient as soon as you have more than a few pages. URLs are generated when Joomla needs them, no sooner, no later.

Rgds
 
Thursday, 20 October 2016 14:18 UTC
cameleons
Thanks for your answer.

1 -We are using the default language switcher from Joomla and the component Falang.
Our products translation are managed by Virtuemart (Falang isn't handling virtuemart products).

2 - The /products/ directory is added by default to all our products URLs. It seems it's a default configuration by Virtuemart, we want to remove it from the URL by using SH404Sef.
The language switcher bug generate an url without any category in it.

To summarize :
Current product url with SHS404Sef : /lang/products/product-category/product-name
URL generated by SH404Sef when using the language switcher : /lang/product-name
URL we want for our products : /lang/product-category/product-name

Regards,

Bruno
Thursday, 20 October 2016 14:47 UTC
wb_weeblr
Hi

1 - Falang is unsupported, so things may or may not work, we can't really do much about it, though it seems their latest versions are fine.

Whether Falang is handling the VM product is not relevant, it interacts with the language filter on each page load (by hooking up with the Joomla database code).

2 - The handling of VM URLs is governed by settings under the Extensions -> Virtuemart section of sh404SEF configuration.
Once you make your choice there, about whether to have categories in URLs and such, you need to purge the URLs so that new ones are created.

This assume you are still running with the default settings under the By components tab of sh404SEF configuration.

Rgds
 
Friday, 04 November 2016 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.