VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: Menace on December 05, 2012, 11:31:27 AM

Title: Problems with VM item ID and SEF
Post by: Menace on December 05, 2012, 11:31:27 AM
Hello all,

My first site with VM is in developement and now I am getting in contact with SEF URLs and with this I am faced with some issues I don't really understand.

I'm using VM 2.0.12f with Joomla! 2.5.4

My homesite is VM Startpage, displaying topten products and a module with featured products. This Startpage is assigned to the main menu as 'Home'. VM categories each are assigned to the same menu on lower levels.


I hope somebody can help me at least partly understanding this.

- Martin -

Title: Re: Problems with VM item ID and SEF
Post by: zanardi on July 11, 2013, 10:46:21 AM
I know this topic has been silent for a while, but I have exactly the same issue as in point 3. above.
The issue is related to VirtueMart being the default menu item, you get a correct 404 error if you set another component as default.
So I guess it has to do with VirtueMart router.php rules.
Title: Re: Problems with VM item ID and SEF
Post by: Maxim Pishnyak on July 11, 2013, 21:21:01 PM
You're wrong, don't having Virtuemart as menu item (not necessary default) could produce error.
Title: Re: Problems with VM item ID and SEF
Post by: zanardi on July 15, 2013, 11:42:29 AM
@Maxim:
these are different topics.

I know that you have to set at least one menu item for VirtueMart, else you may get errors, and that's ok.

But if you *do* have a menu item for VirtueMart, and that item is the *default* Joomla menu item, you'll get the issue reported by the op, i.e. the "Redirect" component is ignored.
Title: Re: Problems with VM item ID and SEF
Post by: vaskern on August 04, 2013, 09:07:27 AM
I belive updating the .htaccess solved the problem of redirecting to index.php?option=com_virtuemart instead of producing 404 for me. So now a 404 seems to be produced and also VM tries to find an appropriate URL.
But I can't get Joomlas redirect manager to work, even if I set the default menu item to a Joomla article?