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

System Parameters - web.base.url

Subscribe

Get notified when there's activity on this post

This question has been flagged
odoo12.0systemparameters
4 Replies
54039 Views
Avatar
Michel P

Hi,

I've setup an eCommerce website and I'm trying to change the web.base.url to something else vs the localhost option. I input the name I'd like for it to use and save it.

When I log out and back in it's changed back to the default localhost and I tried changing it without performing a logout but it doesn't seem to want to change after saving.

Does anyone have a solution out there as to why?

P.s. I'm running Odoo ver: 12

Thank you!

2
Avatar
Discard
Avatar
Yenthe Van Ginneken (Mainframe Monkey)
Best Answer

Hi Michel,

The web.base.url works by design like this. Everytime a user logs into your Odoo instance Odoo will check if the web.base.url that is already saved is identical to the URL that the user logged in from. If this is the case it is kept, if this is not the case it will be updated. This might get confusing when you have your Odoo instance available on two URL's, for example url1.com and url2.com. If somebody logs on from url2.com the web.base.url will be saved as "url2.com". The same will also happen when you access the Odoo by IP. In this case the web.base.url will be saved with the value from your IP.

There are two possible solutions. EIther you make sure the Odoo is only accessible through that one URL you want (so yourwebsite.com) or you make sure Odoo does not change the web.base.url. You can make sure that this does not happen by adding a new parameter "web.base.url.freeze" with the value "True". An example:


The web.base.url.freeze will say to Odoo that the value cannot be changed/update when somebody logs on from another location. It will keep the value that you've set in web.base.url.

Regards,
Yenthe

8
Avatar
Discard
DWARKANATH BARI

when i enter my domain name www.simpleenergytech.com installed ecommerce home page is not viewing

Viewing Home Shop Contact Us --- and when i click on Shop then showing as a ecommerce website. except this all when i enter my domain name showing directly Ecommerce website like flipkart or amazon. HOW I CAN OD THIS

Sudhir Arya (ERP Harbor Consulting Services)

+1 for the solution. Today I got to know the need of this parameter :)

Avatar
Mehdi Souroriyan
Best Answer

if I have 3 websites 
what should be my web.base.url?


should it be  mydatabase.odoo.com or it should be one of my websites?


3
Avatar
Discard
Eric Mattingley

Same question...What should web.base.url be with multiple web sites?

zahid

I have same situation and still can't figure it out.

Avatar
Michel P
Author Best Answer

Hi Yenthe,

Thank you for the reply. I'm having another issue now, everything was working fine yesterday evening and now I can't log into the localhost:****/web/login. I never changed my password and the email is verified.

There's also no option for me to reset the password on the login page. Is there a way to send me a link to my verified email so that I can restore access to the account?


Thank you

0
Avatar
Discard
Yenthe Van Ginneken (Mainframe Monkey)

Hmm that is odd. You can reset the password by doing a database query if you have no other login to get into the system again. (something like: update 'res.partner' set password = 'your_password' where id = 1)

Avatar
subbarao
Best Answer

The web.base.url works by design like this. Everytime a user logs into your Odoo instance Odoo will check if the web.base.url that is already saved is identical to the URL that the user logged in from. If this is the case it is kept, if this is not the case it will be updated. This might get confusing when you have your Odoo instance available on two URL's, for example url1.com and url2.com. If somebody logs on from url2.com the web.base.url will be saved as "url2.com". The same will also happen when you access the Odoo by IP. In this case the web.base.url will be saved with the value from your IP.

Note: the above update will happen only admin logged in time, not for all users login.

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
Import product variant price
odoo 12.0
Avatar
Avatar
2
Aug 19
5030
Help me confirm the demo link for Odoo v12 Enterprise version Solved
enterprise odoo 12.0
Avatar
Avatar
Avatar
2
Sep 23
7762
The style compilation failed Solved
errror odoo 12.0
Avatar
Avatar
Avatar
Avatar
Avatar
6
Dec 23
47808
Warning: "Unable to find Wkhtmltopdf on this system. The report will be shown in html." How do I resolve it? Solved
wkhtmltopdf odoo 12.0
Avatar
Avatar
Avatar
3
Oct 21
19929
tmp is full Solved
odoo 12.0 tmp
Avatar
Avatar
1
Jun 19
8881
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