News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How can I remove '-detail' from VM URLs?

Started by favdes, July 17, 2015, 11:52:42 AM

Previous topic - Next topic

favdes

Hello everyone,

We would like to remove the suffix -detail from the VM URLs. Is this possible?

For example, one of our products is here: http://www.website.co.uk/sectors/budget-rib-door-mats-detail.html

We would like to change the URL to http://www.website.co.uk/sectors/budget-rib-door-mats.html

I have tried removing '-detail' from the 'SEO' tab in the VM 'Configuration' but that causes the site to break. It looks as if something has to be in that box for the SEO to work properly.

Any ideas on how to resolve this?

Kind regards


James

jjk

Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

favdes

So you can't remove the suffix?

That's a bit of a pain!

jjk

See here for some more details:
http://forum.virtuemart.net/index.php?topic=127377.msg436639#msg436639
At present you have two suffixes. Just disable 'Add suffix to url' in Joomla and change the suffix in VM SEO settings from -detail to .html

Might be also of interest to you: https://moz.com/community/q/what-s-the-seo-impact-of-url-suffixes
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

favdes

Hi JJK,

Unfortunately I need the suffix for other pages on the site i.e. normal Joomla links, not VM ones - so I can't turn off the Joomla suffixs

Is there any other way to do it?

Sorry to be a pain!

Kind regards


James

jjk

Quote from: favdes on July 17, 2015, 17:06:44 PM
Unfortunately I need the suffix for other pages on the site i.e. normal Joomla links, not VM ones - so I can't turn off the Joomla suffixs

Why do you need them? I don't know any method to use both, the joomla suffix AND the VM suffix (The VM suffix is required for the router).
If you want to keep the .html from old Joomla articles, you can use a redirect to point the search engines to the new urls without suffix.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

PRO

i just make my suffix short as possible

-p   for product

Thats the best you can get

claesbas

Check out JoomSEF .. it does what you want and much more ... taking automatic META words from description or short descritpion ertc... can be a big tiem saver.. Im not affiliated with them at all but love JoomSEF very much
VMuikit - A Virtuemart theme for Yootheme template
https://joomlapro.com/vmuikit

VMonepage - One Page Checkout (Was free - now is €20)
https://joomlapro.com/product/virtuemart-one-page-checkout

VMKCO - Klarna Checkout Enhanced
https://joomlapro.com/product/virtuemart-klarna-checkout

Studio 42

Hi,
I don't get; why you need html suffix in Joomla. All search engines and browser understand html files without suffix.
As Pro said, you can use any suffix. Like -web, -page, .service, .more, zoom, .now, .just-do-it .... At moment the name is never in categories.