Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Add a suffixe to earch Virtuemart url
(1 viewing) (1) Guest
Support forum for customers who have purchased paid JoomSEF extension. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Add a suffixe to earch Virtuemart url

Add a suffixe to earch Virtuemart url 10 years, 7 months ago #44074

Hi,

I am running Joomla 2.5.19 and VM 2.6.0

my production site : men-esthetics.com
my test site : gent-club.com (closed)

My production site is online for more than a month and fully indexed.
I have many duplicate contents
1. from products in many categories
2. from non sef url that have been indexed

The SEF indexed urls have the VM "-detail" suffix enclosed, so I cannot suppress this suffix unless I will lose everything done up to now.

So I have 3 questions
1 - can I add the suffix "-detail" in Joomsef and where should I do that
2 - what would you do to keep the seo work
2 - how can I suppress the duplicate content with joomsef ? where should I read to do so ?

Other point please give me a private mail to send you the acces code to gent-club so you can check.

Thanks

Christophe
The topic has been locked.

Re: Add a suffixe to earch Virtuemart url 10 years, 6 months ago #44150

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

Unfortunately, it is not possible to add the "-detail" suffix to all URLs using JoomSEF without modifications in code.
I would suggest you to create a custom rule in your .htaccess file to 301 redirect any URL with "-detail" suffix to its new version without the "-detail" at the end.

You can handle products in multiple categories using the "Ignore multiple categories" option available in JoomSEF's VirtueMart extension parameters.
You can also manually setup 301 redirects and canonical links for your SEF URLs.
Non-SEF URLs should also be automatically redirected to SEF if "Redirect nonSEF URLs to SEF" option is enabled in JoomSEF's Advanced configuration.

You can contact us privately at This e-mail address is being protected from spambots. You need JavaScript enabled to view it .
ARTIO Support Team
The topic has been locked.

Re: Add a suffixe to earch Virtuemart url 10 years, 6 months ago #44250

Hi,

Thanks for these answers. My knowledge is poor in coding though.

Could you tell me what code exactly should be add in htaccess for (I could not find a clear answer on the web) :

- 301 redirect any URL with "-detail" suffix to its new version without the "-detail" at the end
- 301 redirects and canonical links for your SEF URLs.

Thanks a lot,

Christophe
The topic has been locked.

Re: Add a suffixe to earch Virtuemart url 10 years, 6 months ago #44316

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

The .htaccess rule would look something like:
RewriteRule ^(.*)-detail$ $1 [R=301,L]

You can check mod_rewrite's documentation at: httpd.apache.org/docs/current/mod/mod_rewrite.html

You can set up 301 redirects in JoomSEF using the Manage 301 Redirects page. You can set up canonical links for your SEF URLs by editing some SEF URL in JoomSEF's URLs Manager and setting up the "Canonical Link" on the Meta Tags tab.

For more information please check chapter 8. 301 Redirects in JoomSEF's documentation at www.artio.net/joomsef/documentation#d4e2144 and section 6.2. URLs Meta Tags at www.artio.net/joomsef/documentation#metatags
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
User Login Empty