Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Odoo sitemap.xml is unable to show URL in https

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
sitemapodoo16featuresSEO
1 Responder
6940 Visualizações
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
Cancelar
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
Melhor resposta

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
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
'noindex' in meta tags even when robots.txt have been updated
website_builder odoo16features indexing SEO
Avatar
Avatar
1
abr. 24
4366
How to add "console google search" code in website?
website odoo16features SEO googleConsole
Avatar
0
mar. 24
2134
Only a Few Pages Indexed by Google Despite Sitemap Listing All Pages Resolvido
SEO
Avatar
Avatar
1
out. 25
313
DeprecationWarning: The longpolling-port is a deprecated alias to the gevent-port option, please use the latter Resolvido
odoo16features
Avatar
Avatar
Avatar
Avatar
Avatar
5
set. 25
24681
How to Add wizard under print button inside the form view.
odoo16features
Avatar
Avatar
Avatar
Avatar
3
ago. 25
3765
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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