VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: Sadicer on January 06, 2013, 15:14:20 PM

Title: delete "-detail" and redirect at home virtuemart
Post by: Sadicer on January 06, 2013, 15:14:20 PM
sorry if I write badly, I do not know write well in English.
Because if I delete the suffix "-detail" from the SEO settings, is redirected to "sadiceramiche.altervista.org/index.php?option=com_virtuemart" without going into detail product?
Title: Re: delete "-detail" and redirect at home virtuemart
Post by: bytelord on January 06, 2013, 20:29:11 PM
Hello,

Use -detail or renamed it with something else that you like ... if you don't use it you may experience issues (like you already have)...

Regards
Title: Re: delete "-detail" and redirect at home virtuemart
Post by: Sadicer on January 06, 2013, 21:38:07 PM
it's a shame I do not understand what is required to use "detail" or another name, for what might be useful  ???? as well as avoid problems
Title: Re: delete "-detail" and redirect at home virtuemart
Post by: jjk on January 07, 2013, 17:37:26 PM
The recommended SEF settings, which will work for most shops are:

In Joomla configuration
Search Engine Friendly URLs: Yes
Use URL rewriting: Yes
Adds Suffix to URL: No
Unicode Aliases: No (setting this to Yes is useful in some non-latin languages)
Include Site Name in Page Titles: No

In VM2 configuration
SEO Disabled:  Off (= unchecked)
Seo Suffix: -detail (or -shop or .htm or whatever you want).  DO NOT leave this field empty. Otherwise switching between categories and products will frequently fail.
Translate strings: On (= checked)
Use Product and Category IDs: Off (unchecked)

BTW - if you change SEF settings, you will normally have to clear your Joomla and browser cache to pick up the changed settings.

If you see "/component/virtuemart" in the url, then you probably have not set a Joomla menu item for each of your VM2 categories. For your homepage you can use "Virtuemart Categories Layout". For the individual categories you need to set each category menu item to "Category Layout".
Title: Re: delete "-detail" and redirect at home virtuemart
Post by: PRO on January 07, 2013, 19:46:45 PM
I just use   -p    as the suffix.

Its short, and will not confuse customers

Title: Re: delete "-detail" and redirect at home virtuemart
Post by: Sadicer on January 07, 2013, 21:52:25 PM
I see, thanks for the help. I'm using the suffix and the links work fine now, thanks. ;)