Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

noindex tag blocking indexing, robots.txt not updating, and sitemap.xml not generating

Subscribe

Get notified when there's activity on this post

This question has been flagged
tagsodoo16featuresindexingSEOnoindex
1 Reply
4349 Views
Avatar
Briton Larkin

There are noindex tags on every single page of my site, which seem to have been set, ironically, by the SEO "App??" - not sure what it's called exactly in Odoo.

In addition, my robots.txt does not update from odoo settings, or from the robots.txt file stored on my domain's host server.

Also, my sitemap.xml does not generate. It throws an error saying that some page needs to be rebuilt from either the "last version," or the "original version." Neither of which fix the issue.


I know there are old topics on this but I have 3 support tickets that have been open for days on these issues with no help from support. Someone must have figured this stuff out by now, right?


I know about changing the domain between http and https in the field, it sometimes makes my robots.txt generate, other times it does nothing.

0
Avatar
Discard
Briton Larkin
Author

For the sitemap issue, the exact error I am getting is this:
Error message:

Error while render the template
TypeError: '<' not supported between instances of 'bool' and 'str'
Template: website.sitemap_locs
Path: /t/url
Node: <url t-foreach="locs" t-as="page"/>
The error occurred while rendering the template website.sitemap_locs and evaluating the following expression: <url t-foreach="locs" t-as="page"/>

Which doesn't make sense because if you read the file website.sitemap_locs, you'll see this:
<url t-foreach="locs" t-as="page">

So where is this error coming from? I have tried to remove the sitemap_locs and manually input my sitemap into website.sitemap_xml, but it didn't work with or without the sitemap_locs file being there.

Carl Benfield

Did you get any answer on this? I am having the same problem - my robots.txt file not updating despite changing it in the same two locations you have done.
It's infuriating.

Avatar
Martin Riley
Best Answer

I had the same issue. This is how I fixed it.

  1. Go to Website > Site > HTML/CSS Editor   

  2. Click Edit HTML Anyway  

  3. From the first dropdown, select XML (HTML) 

  4. From the second dropdown, select Main Layout . (The template ID of the main layout is website.layout )   

  5. Go to line 44.

  6. Find where it says  (website.domain and not website._is_indexable_url(request.httprequest.url_root)) 

  7. Replace  request.httprequest.url_root  with 'https://your-domain.com' (you must use single quotes)  

  8. Save and close the file

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

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

Sign up
Related Posts Replies Views Activity
'noindex' in meta tags even when robots.txt have been updated
website_builder odoo16features indexing SEO
Avatar
Avatar
1
Apr 24
4400
'noindex' in meta tags even when robots.txt have been updated & Websocket Error Solved
robots.txt indexing SEO noindex Websocket
Avatar
Avatar
Avatar
3
Jul 24
3944
make tags a required field when creating a new opportunity Solved
tags odoo16features
Avatar
Avatar
Avatar
2
Mar 23
2634
Odoo sitemap.xml is unable to show URL in https
sitemap odoo16features SEO
Avatar
Avatar
1
Dec 24
7000
e commerce product tag
tags odoo16features e
Avatar
Avatar
1
Apr 23
2230
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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