Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Odoo sitemap.xml is unable to show URL in https

Odoberať

Get notified when there's activity on this post

This question has been flagged
sitemapodoo16featuresSEO
1 Odpoveď
6930 Zobrazenia
Avatar
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
Avatar
Zrušiť
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

Avatar
Erdem Uney
Best Answer

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
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
'noindex' in meta tags even when robots.txt have been updated
website_builder odoo16features indexing SEO
Avatar
Avatar
1
apr 24
4359
How to add "console google search" code in website?
website odoo16features SEO googleConsole
Avatar
0
mar 24
2125
Only a Few Pages Indexed by Google Despite Sitemap Listing All Pages Solved
SEO
Avatar
Avatar
1
okt 25
312
DeprecationWarning: The longpolling-port is a deprecated alias to the gevent-port option, please use the latter Solved
odoo16features
Avatar
Avatar
Avatar
Avatar
Avatar
5
sep 25
24639
How to Add wizard under print button inside the form view.
odoo16features
Avatar
Avatar
Avatar
Avatar
3
aug 25
3758
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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