[Skip to main content](#vessel-content)

#   .htaccess pour 301 virtuemart vers hikashop

##

- **[erickb](/forum/user/4069-erickb "View erickb's Profile")**
- [![erickb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4069-erickb "View erickb's Profile") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2706
- Thank you received: 74
-
-

14 years 6 months ago [\#50631](#50631) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  *[.htaccess pour 301 virtuemart vers hikashop](/forum/5-support-en-francais-french-support-/50631-htaccess-pour-301-virtuemart-vers-hikashop#50631 "Bonjour  une idee de ce qu'il faut ecrire dans le .htaccess pour faire une redirection 301 de toutes les URL avec com&#95;virtuemart vers la page d'accueil du site ?  merci")* was created by *[erickb](/forum/user/4069-erickb "View erickb's Profile")*

Bonjour

une idee de ce qu'il faut ecrire dans le .htaccess pour faire une redirection 301 de toutes les URL avec com_virtuemart vers la page d'accueil du site ?

merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNTA2MzEtaHRhY2Nlc3MtcG91ci0zMDEtdmlydHVlbWFydC12ZXJzLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Networlds](/forum/user/351-networlds "View Networlds's Profile")**
- [![Networlds's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/351-networlds "View Networlds's Profile")
- [ Offline](/forum/user/351-networlds)

Less More

- Posts: 245
- Thank you received: 13
-
- [](http://sebastien-celtalys.fr)
-

14 years 6 months ago -  14 years 6 months ago [\#50636](#50636) by [Networlds](/forum/user/351-networlds "View Networlds's Profile")  Replied by *[Networlds](/forum/user/351-networlds "View Networlds's Profile")* on topic *[Re: .htaccess pour 301 virtuemart vers hikashop](/forum/5-support-en-francais-french-support-/50631-htaccess-pour-301-virtuemart-vers-hikashop#50636 "Bonjour  une idee de ce qu'il faut ecrire dans le .htaccess pour faire une redirection 301 de toutes les URL avec com&#95;virtuemart vers la page d'accueil du site ?  merci")*

RedirectMatch seeother ^/index.php?option=com_virtuemart.* / ... non ?

---

Être breton c'est un peu comme être dieu, mais en mieux!

Last edit: 14 years 6 months ago by [Networlds](/forum/user/351-networlds "View Networlds's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNTA2MzEtaHRhY2Nlc3MtcG91ci0zMDEtdmlydHVlbWFydC12ZXJzLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[erickb](/forum/user/4069-erickb "View erickb's Profile")**
- [![erickb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4069-erickb "View erickb's Profile") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2706
- Thank you received: 74
-
-

14 years 6 months ago -  14 years 6 months ago [\#50638](#50638) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[Re: .htaccess pour 301 virtuemart vers hikashop](/forum/5-support-en-francais-french-support-/50631-htaccess-pour-301-virtuemart-vers-hikashop#50638 "Bonjour  une idee de ce qu'il faut ecrire dans le .htaccess pour faire une redirection 301 de toutes les URL avec com&#95;virtuemart vers la page d'accueil du site ?  merci")*

**RedirectMatch seeother ^/com\_virtuemart/.\* /index.php**

je voudrais pas planter tout le referencement ![:-)](/media/kunena/emoticons/3.png ":-)")

merci

Last edit: 14 years 6 months ago by [erickb](/forum/user/4069-erickb "View erickb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNTA2MzEtaHRhY2Nlc3MtcG91ci0zMDEtdmlydHVlbWFydC12ZXJzLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Networlds](/forum/user/351-networlds "View Networlds's Profile")**
- [![Networlds's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/351-networlds "View Networlds's Profile")
- [ Offline](/forum/user/351-networlds)

Less More

- Posts: 245
- Thank you received: 13
-
- [](http://sebastien-celtalys.fr)
-

14 years 6 months ago [\#50639](#50639) by [Networlds](/forum/user/351-networlds "View Networlds's Profile")  Replied by *[Networlds](/forum/user/351-networlds "View Networlds's Profile")* on topic *[Re: .htaccess pour 301 virtuemart vers hikashop](/forum/5-support-en-francais-french-support-/50631-htaccess-pour-301-virtuemart-vers-hikashop#50639 "Bonjour  une idee de ce qu'il faut ecrire dans le .htaccess pour faire une redirection 301 de toutes les URL avec com&#95;virtuemart vers la page d'accueil du site ?  merci")*

Ca marche bien ?
Car j'avais peur que cela plante, je viens d'éditer en reprenant le lien brut sans réécriture.

---

Être breton c'est un peu comme être dieu, mais en mieux!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNTA2MzEtaHRhY2Nlc3MtcG91ci0zMDEtdmlydHVlbWFydC12ZXJzLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[erickb](/forum/user/4069-erickb "View erickb's Profile")**
- [![erickb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4069-erickb "View erickb's Profile") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2706
- Thank you received: 74
-
-

14 years 6 months ago -  14 years 6 months ago [\#50640](#50640) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[Re: .htaccess pour 301 virtuemart vers hikashop](/forum/5-support-en-francais-french-support-/50631-htaccess-pour-301-virtuemart-vers-hikashop#50640 "Bonjour  une idee de ce qu'il faut ecrire dans le .htaccess pour faire une redirection 301 de toutes les URL avec com&#95;virtuemart vers la page d'accueil du site ?  merci")*

je veux rediriger tous les com_virtuemart vers la page d'accueil

Last edit: 14 years 6 months ago by [erickb](/forum/user/4069-erickb "View erickb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNTA2MzEtaHRhY2Nlc3MtcG91ci0zMDEtdmlydHVlbWFydC12ZXJzLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Networlds](/forum/user/351-networlds "View Networlds's Profile")**
- [![Networlds's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/351-networlds "View Networlds's Profile")
- [ Offline](/forum/user/351-networlds)

Less More

- Posts: 245
- Thank you received: 13
-
- [](http://sebastien-celtalys.fr)
-

14 years 6 months ago [\#50641](#50641) by [Networlds](/forum/user/351-networlds "View Networlds's Profile")  Replied by *[Networlds](/forum/user/351-networlds "View Networlds's Profile")* on topic *[Re: .htaccess pour 301 virtuemart vers hikashop](/forum/5-support-en-francais-french-support-/50631-htaccess-pour-301-virtuemart-vers-hikashop#50641 "Bonjour  une idee de ce qu'il faut ecrire dans le .htaccess pour faire une redirection 301 de toutes les URL avec com&#95;virtuemart vers la page d'accueil du site ?  merci")*

Non test , justement c'est une suggestion ... Je ne suis pas sûr ^^ ![XD](/laugh.gif "XD")
Sinon si tu es avec joomla 2.5 on peut faire les redirection en interne, il faut activer le plugins et configurer dans le composant ![:)](/media/kunena/emoticons/3.png ":)")

---

Être breton c'est un peu comme être dieu, mais en mieux!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNTA2MzEtaHRhY2Nlc3MtcG91ci0zMDEtdmlydHVlbWFydC12ZXJzLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Networlds](/forum/user/351-networlds "View Networlds's Profile")**
- [![Networlds's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/351-networlds "View Networlds's Profile")
- [ Offline](/forum/user/351-networlds)

Less More

- Posts: 245
- Thank you received: 13
-
- [](http://sebastien-celtalys.fr)
-

14 years 6 months ago [\#50642](#50642) by [Networlds](/forum/user/351-networlds "View Networlds's Profile")  Replied by *[Networlds](/forum/user/351-networlds "View Networlds's Profile")* on topic *[Re: .htaccess pour 301 virtuemart vers hikashop](/forum/5-support-en-francais-french-support-/50631-htaccess-pour-301-virtuemart-vers-hikashop#50642 "Bonjour  une idee de ce qu'il faut ecrire dans le .htaccess pour faire une redirection 301 de toutes les URL avec com&#95;virtuemart vers la page d'accueil du site ?  merci")*

Je viens de me souvenir d'un truc ... j'ai verifié ... Regarde dans plugins =&gt; System = &gt; VirtueMart Fallback Redirect Plugin == Active le ![:)](/media/kunena/emoticons/3.png ":)")

---

Être breton c'est un peu comme être dieu, mais en mieux!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNTA2MzEtaHRhY2Nlc3MtcG91ci0zMDEtdmlydHVlbWFydC12ZXJzLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[erickb](/forum/user/4069-erickb "View erickb's Profile")**
- [![erickb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4069-erickb "View erickb's Profile") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2706
- Thank you received: 74
-
-

14 years 6 months ago -  14 years 6 months ago [\#50697](#50697) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[Re: .htaccess pour 301 virtuemart vers hikashop](/forum/5-support-en-francais-french-support-/50631-htaccess-pour-301-virtuemart-vers-hikashop#50697 "Bonjour  une idee de ce qu'il faut ecrire dans le .htaccess pour faire une redirection 301 de toutes les URL avec com&#95;virtuemart vers la page d'accueil du site ?  merci")*

> Networlds wrote: Je viens de me souvenir d'un truc ... j'ai verifié ... Regarde dans plugins =&gt; System = &gt; VirtueMart Fallback Redirect Plugin == Active le ![:)](/media/kunena/emoticons/3.png ":)")

mais je n'ai pas virtuemart installe et j'ai fais l'import avec mes script donc ca ne marchera pas

et

RewriteEngine On
RedirectMatch seeother ^/com_virtuemart/.* /

ou

RedirectMatch seeother ^/index.php?option=com_virtuemart.* /

ne marche pas

Last edit: 14 years 6 months ago by [erickb](/forum/user/4069-erickb "View erickb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNTA2MzEtaHRhY2Nlc3MtcG91ci0zMDEtdmlydHVlbWFydC12ZXJzLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[erickb](/forum/user/4069-erickb "View erickb's Profile")**
- [![erickb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4069-erickb "View erickb's Profile") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2706
- Thank you received: 74
-
-

14 years 6 months ago [\#50699](#50699) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[Re: .htaccess pour 301 virtuemart vers hikashop](/forum/5-support-en-francais-french-support-/50631-htaccess-pour-301-virtuemart-vers-hikashop#50699 "Bonjour  une idee de ce qu'il faut ecrire dans le .htaccess pour faire une redirection 301 de toutes les URL avec com&#95;virtuemart vers la page d'accueil du site ?  merci")*

j'ai fais en php dans error.php
Code:

&lt;?php defined('_JEXEC') or die; @$vm = @$_REQUEST['option']; if($vm == 'com_virtuemart'){ header('Location: index.php?option=com_hikashop&amp;Itemid=426&amp;cid=79&amp;ctrl=category&amp;lang=fr&amp;name=nouveautes&amp;task=listing'); header('HTTP/1.1 301 Moved Permanently'); header('Status: 301 Moved Permanently'); header('Content-Type: text/html; charset=UTF-8'); exit; } if (($this-&gt;error-&gt;getCode()) == '404') { header('Location: index.php?option=com_content&amp;view=article&amp;id=404'); exit; } ?&gt;

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNTA2MzEtaHRhY2Nlc3MtcG91ci0zMDEtdmlydHVlbWFydC12ZXJzLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Networlds](/forum/user/351-networlds "View Networlds's Profile")**
- [![Networlds's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/351-networlds "View Networlds's Profile")
- [ Offline](/forum/user/351-networlds)

Less More

- Posts: 245
- Thank you received: 13
-
- [](http://sebastien-celtalys.fr)
-

14 years 6 months ago [\#50706](#50706) by [Networlds](/forum/user/351-networlds "View Networlds's Profile")  Replied by *[Networlds](/forum/user/351-networlds "View Networlds's Profile")* on topic *[Re: .htaccess pour 301 virtuemart vers hikashop](/forum/5-support-en-francais-french-support-/50631-htaccess-pour-301-virtuemart-vers-hikashop#50706 "Bonjour  une idee de ce qu'il faut ecrire dans le .htaccess pour faire une redirection 301 de toutes les URL avec com&#95;virtuemart vers la page d'accueil du site ?  merci")*

A oui pas bête non plus ![:)](/media/kunena/emoticons/3.png ":)") ![;)](/media/kunena/emoticons/24.png ";)")

---

Être breton c'est un peu comme être dieu, mais en mieux!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNTA2MzEtaHRhY2Nlc3MtcG91ci0zMDEtdmlydHVlbWFydC12ZXJzLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[erickb](/forum/user/4069-erickb "View erickb's Profile")**
- [![erickb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4069-erickb "View erickb's Profile") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2706
- Thank you received: 74
-
-

14 years 6 months ago [\#50710](#50710) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[Re: .htaccess pour 301 virtuemart vers hikashop](/forum/5-support-en-francais-french-support-/50631-htaccess-pour-301-virtuemart-vers-hikashop#50710 "Bonjour  une idee de ce qu'il faut ecrire dans le .htaccess pour faire une redirection 301 de toutes les URL avec com&#95;virtuemart vers la page d'accueil du site ?  merci")*

et c'est tellement plus simple en php ![:P](/media/kunena/emoticons/14.png ":P")

en tout cas ça marche

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNTA2MzEtaHRhY2Nlc3MtcG91ci0zMDEtdmlydHVlbWFydC12ZXJzLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.095 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
