Skip to Content
Menu
This question has been flagged

We have a website developed outside of Odoo.  We have moved to Odoo recently and using odoo V17.  We have already taken subscription and done with the database setup.  Now we want to import our website which is currently hosted on hostinger. Odoo have a tool "startwebsite"  (https://www.odoo.com/page/startwebsite) to convert/migrate existing website into Odoo but it creates with a new database and we have already database created for us.  How to use this tool for an existing database ??

Avatar
Discard

Push. Same request here.

Best Answer

Hello Lalit,

You're right, the StartWebsite tool is mainly designed to help migrate a static site into Odoo by generating a new website structure, but it works with a new database by default. Unfortunately, it doesn’t provide a built-in option to directly apply the generated website to an existing Odoo database, which is why you're seeing this limitation.

There are a couple of workarounds you might consider:

  1. Use StartWebsite to generate the site in a temporary/new DB, then export the website pages (as templates or views) and manually move them into your existing database. This would require some technical knowledge; you'd need to:

    • Export the website pages as XML from the new DB

    • Import them into your existing DB using custom modules or Studio (if available)

    • Double-check that linked resources (images, menus, etc.) are handled properly

  2. Manual recreation inside your existing Odoo site: If your current site isn't too large or complex, it might be quicker to manually copy the content into Odoo’s Website Builder inside your existing DB. This also gives you a chance to update the design for Odoo’s layout system and improve compatibility.

  3. Custom module or script: If you're working with developers, you could build a small script or module to read content from your external site and push it into Odoo via the Website app's models. This route gives you more control but requires dev work.

Unfortunately, there’s no official support (yet) for using StartWebsite directly on an existing Odoo database. Hopefully, that gets added in the future; it’s a common need.

Avatar
Discard
Best Answer

Migrating or importing a website into Odoo 17 depends on where your current website is built. If you're moving from an older version of Odoo like 14 or 15, you can export your website pages, templates, and custom themes, then import and adjust them in Odoo 17. However, if your website is built using a different platform like WordPress or custom HTML, there's no direct import option. In that case, you can manually recreate the pages using Odoo’s Website Builder by copying the content and designing pages using the drag-and-drop tools. 

You can also use HTML blocks to paste custom code if needed. Rebuild menus, images, forms, and other content to match your original site. For large websites, you can develop a custom script to import data. Don’t forget to test everything on a staging site before updating your live system.

Avatar
Discard
Best Answer

Hi,

If you've created pages using the "startwebsite" tool, you can migrate them into your existing database using a module available on the Odoo App Store:

https://apps.odoo.com/apps/modules/18.0/us_website_migration

Avatar
Discard
Best Answer

Hi, I would be interested in this as well.

Avatar
Discard
Related Posts Replies Views Activity
1
Jul 25
670
2
Jun 25
2262
3
Apr 25
2508
1
Apr 25
1762
1
Dec 24
2271