VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: favdes on July 17, 2015, 11:52:42 AM

Title: How can I remove '-detail' from VM URLs?
Post by: favdes on July 17, 2015, 11:52:42 AM
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
Title: Re: How can I remove '-detail' from VM URLs?
Post by: jjk on July 17, 2015, 13:05:32 PM
http://forum.virtuemart.net/index.php?topic=122717.msg418776#msg418776
Title: Re: How can I remove '-detail' from VM URLs?
Post by: favdes on July 17, 2015, 13:09:52 PM
So you can't remove the suffix?

That's a bit of a pain!
Title: Re: How can I remove '-detail' from VM URLs?
Post by: jjk on July 17, 2015, 13:58:34 PM
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
Title: Re: How can I remove '-detail' from VM URLs?
Post by: favdes on July 17, 2015, 17:06:44 PM
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
Title: Re: How can I remove '-detail' from VM URLs?
Post by: jjk on July 17, 2015, 17:37:37 PM
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.
Title: Re: How can I remove '-detail' from VM URLs?
Post by: PRO on August 04, 2015, 13:58:48 PM
i just make my suffix short as possible

-p   for product

Thats the best you can get
Title: Re: How can I remove '-detail' from VM URLs?
Post by: claesbas on August 10, 2015, 17:12:27 PM
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
Title: Re: How can I remove '-detail' from VM URLs?
Post by: Studio 42 on August 10, 2015, 20:57:30 PM
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.