News:

Support the VirtueMart project and become a member

Main Menu

Problems with URL in Virtuemart

Started by VB74, February 01, 2023, 15:49:08 PM

Previous topic - Next topic

VB74

Hello everyone,

I have 2 different issues with URLs in Virtuemart :


1 ) I managed to cancel "index.php" in the URLs of Virtuemart but Google indexed a lot of pages with index.php. Is there a possibility to redirect massively URLs including "index.php" to URLs without "index.php" ?

Example : I click on the Google result : "https://www.mydomain.fr/fr/index.php/x/y/z/"  then I will be redirected to  "https://www.mydomain.fr/fr/x/y/z/"



2) I have a lot of Virtuemart contents indexed on Google (on the first pages) with unfriendly URLs.
I actived SEF URLS in Joomla configuration and follow a lot of advice on the internet. I managed to have friendly URLs in my shop for all contents available from the store (example : https://www.mydomain.fr/en/products-e-shop/hoses/polyamide-hoses), but I still have unfriendly URLs (I discovered it with Google results).

Example of problem :Page indexed by Google : https://www.mydomain.fr/index.php/fr/component/virtuemart/?language=fr-FR&orderby=mf_name&limit=200&start=3800

It's the complete list of products of my Virtuemart shop. I don't even know how to access to this page by the frontend of the shop. Is there a solution for making this URL SEF friendly ?

I was thinking about add in the robot.txt file "Disallow: /component/", but I'm not sure it's a good idea.

Do you have solutions ?

Thank you in advance for your help.

Valentin


pinochico

You have a lot of mistake with setup Joomla and VirtueMart and SEF.
- index.php? - bad setup Joomla sef
- component? - missing menu for VirtueMart
- language? - bad setup Joomla language I think

> Disallow: /component/

Is big mistake from a lot of experts :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

VB74

#2
Hello pinochico,

Thanks for your reply.

- I managed to cancel index.php?, that's ok.

- For Virtuemart, how do you do for the menu ? I did that : Menu link -> Virtuemart Category -> Main category.

- My website is in French and English, the only setup I found is the global configuration set to "Global configuration (fr-FR)".


I don't understand what I did wrong.