Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Odoo sitemap.xml is unable to show URL in https

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
sitemapodoo16featuresSEO
1 Răspunde
6935 Vizualizări
Imagine profil
Tasper Technologies

Hello all,

I'm using Odoo 16.x to do SEO. Initially when I prepare my own sitemap.xml with all URL in https. Once I uploaded to attachment (Setting -> Technical -> Database Structure -> Attachment). It shows correctly in https and I tested. Robots.txt and https://mydomain/sitemap.xml, it shows all URL in https.

But after 12 hours, odoo regenerated sitemap.xml in http not https. In fact my Nginx does well when http redirects to https. And website setting in Odoo all points to https

So anyone can share the experience how to solve or fix this sitemap.xml regeneration issue ? I think it is weird, because when there are new pages added to sitemap, it will be regenerated to http not https.


Best Regards,

Tom


0
Imagine profil
Abandonează
Tasper Technologies
Autor

Hello all,

The greatest issue is that once Odoo regenerated sitemap.xml, it will cover the previous sitemap I configured. Then I think it is no use. Even I set all the things myself. Later after 12 hours it will back to default.

So anyone who has encountered this issue before and fixed it ?

From Odoo official website
https://www.odoo.com/documentation/16.0/applications/websites/website/pages/seo.html

It mentioned that below:

You can customize the file robots in developer mode from Settings –> Technical –> User Interface –> Views (exclude robots, exclude some pages, redirect to a custom Sitemap). Make the Model Data of the view Non Updatable to not reset the file after system upgrades.

I tried to disallow some pages not to crawled and insert my sitemap in https in robots but it still shows http and default URL after 12 hours.

Because it is in website modules, so not sure whether below action can harm the system.
[Make the Model Data of the view Non Updatable to not reset the file after system upgrades.]

I also tried to create https://domain.com/sitemap_index.xml and sitemap_index.xml include other sitemap.xml as well. But another issue is that it seems Odoo attachment doesn't allow to create more than one sitemap.xml. Also there is no way to put the file directly on Odoo website like robots.txt and sitemap.xml.

I think if Odoo can read in this way, may work but still know how to disable automatic regenerated sitemap.xml for every 12 hours issue.

Best Regards,

Tom


Filip Glavica

Hello Tom, 

any progress on this? I'm having some difficulties with SEO on community 16 as well. 

I've actually written a module to fix the http to https, kind of got that sorted. 

My issue is with the sitemap not containing any images from the webshop. 

Did you have any luck with customizing robots.txt? (redirecting to custom sitemap/ after editing the default one making it non updateable)

Any feedback would be helpful because I'm not finding any other resources about this issue. 

Thanks, 
Filip

Imagine profil
Erdem Uney
Cel mai bun răspuns

If you are using a reverse proxy like Apache or Nginx you need to set the proxy details in order Odoo to get the url as https. 

For Apache:

RequestHeader set X-Forwarded-Proto https
RequestHeader set X-Forwarded-Host example.com
ProxyPreserveHost On
ProxyRequests Off

For Nginx, put it in location or server block:

        proxy_set_header X-Forwarded-Proto https;
        proxy_set_header X-Forwarded-Host example.com;
        proxy_set_header Host $host;
0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
'noindex' in meta tags even when robots.txt have been updated
website_builder odoo16features indexing SEO
Imagine profil
Imagine profil
1
apr. 24
4363
How to add "console google search" code in website?
website odoo16features SEO googleConsole
Imagine profil
0
mar. 24
2128
Only a Few Pages Indexed by Google Despite Sitemap Listing All Pages Rezolvat
SEO
Imagine profil
Imagine profil
1
oct. 25
313
DeprecationWarning: The longpolling-port is a deprecated alias to the gevent-port option, please use the latter Rezolvat
odoo16features
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
5
sept. 25
24653
How to Add wizard under print button inside the form view.
odoo16features
Imagine profil
Imagine profil
Imagine profil
Imagine profil
3
aug. 25
3760
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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