Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Redirects in Odoo Website. 301 redirect. Migrating website. Preserve SEO

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
migrationredirectquickstartwebsiteredirection
2 Réponses
24409 Vues
Avatar
Chloé Berger (ebc)

How does it work? Which URLs can I redirect?


I would like to move my website over to Odoo without disrupting any visitors using URL's already known by and ranked by Search Engines.  I don't want to lose any daily traffic after I switch and would like to manage this without too much manual work.


I was told I should do an "SEO Migration" to transfer search engine ranking, authority and indexing signals. How does this work? 


Does it have anything to do with the  .htaccess  file? 

 

1
Avatar
Ignorer
Sehrish

You can recheck https response by Bulk HTTP Response Status Code Checker Online: https://w3aischools.com/seo-tools/bulk-http-response-status-code-checker-online

Avatar
Chloé Berger (ebc)
Auteur Meilleure réponse

For background on how you can plan a site move, see https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes


In Odoo:

1. Activate Developer [debug] mode 

2. Visit > Website App --> Configuration --> Redirects




Goal

Used to point your old URL to a new page in order to redirect anyone who clicks on the old URL to the new one. It is useful to keep the value of the old URL (SEO) and to guarantee a good user experience.

Kinds of URLs

  • Pages: static pages on the website which are not related to the backend (ex: /home, /contactus, …)

  • Views: dynamic pages, display information from the backend and related to a module (ex: /shop, /partners, /events, etc.)

  • Nonexistent : URL which are not related to specific pages of your website (ex: /test, /idontexist)

  • External: from another domain (ex: www.anotherwebsite.com, etc)

Kinds of redirects


  • 301 move permanently: A browser redirects to the new URL and remembers this new URL. Search engines update their links to the resource.

  • 302 move temporarily: A browser redirects to the new URL BUT doesn’t remember this new URL. Search engines assume that the old URL will be used again at a later date.

  • 308 rewrite/redirect: Used if you want to rename a controller with a new URL (ex: /shop becomes /magasin, both are accessible but /shop will automatically be redirected to /magasin) 

  • 404 not found: used if you want to remove a specific page/controller (ex : ecommerce is installed but you don’t want /shop on a specific website)

Rules

[301][302] Allow to redirect only unpublished pages or nonexistent URLs to another URL (pages, views, nonexistent urls, or external URLs)

[301][302] If you want to redirect to an external URL, pay attention to add the protocol at the beginning of the URL (ex: from /test to https://www.anotherwebsite.com)

[301][302] If you want to redirect a view or an existing page to another URL, you first need to create a [404] action that removes your view or to unpublish your page before creating the [301] or [302] redirection. Instead of creating a [404] action to remove the view, you can also delete the module from your DB.

3
Avatar
Ignorer
Always Affordable Always Available Locksmiths

Trying to redirect a Category Page to a Web Page I created and Odoo can't do it. Apparently you have to Unpublish a page first before redirecting it. Can't do that with Categories? Another flaw with Odoo? What is common sense in other platforms, Odoo misses the mark again. Other platforms gives us the ability to easily redirect a internal URL (no matter what it is) to another.

Chloé Berger (ebc)
Auteur

If you want to redirect a category page to another page, you have different options depending on your use case:
- You don't want to use this category anymore and you want to remove it from your website.
=> You can delete the category from the backend and create your 301 redirect
- You want to keep the category as an ecommerce filter but you don't want to display the content of this page
=> This is not standard because the redirects are only used to redirect broken pages. A page redirect doesn't work if the URL still loads a published web page.
BUT if you still want to do it, you can add this code:

<meta t-if="request.httprequest.path == '/shop/category/desks-1'" http-equiv="refresh" content="0;url=/shop/category/drawers-4" />

in the web.frontend_layout view
This code redirects /shop/category/desk-1 to /shop/category/drawers-4

Avatar
Maksim Masalski
Meilleure réponse

What is the pattern for a web-site url address by using 301 redirect?

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
How to enable eCommerce for specific websites only Résolu
redirect quickstart website multiwebsite eCommerce
Avatar
1
févr. 24
2687
How to redirect naked domain to www subdomain of website which is maintained in Domain settings of Odoo database Résolu
redirect redirection
Avatar
Avatar
Avatar
2
juin 24
7277
ODOO consultant required to migrate websites
migration website
Avatar
Avatar
1
juin 24
1735
Website - How to add a mega menu ?
quickstart website
Avatar
0
mars 24
15291
How to download a PDF from the website? Résolu
quickstart website
Avatar
Avatar
Avatar
Avatar
4
août 25
17106
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now