Webflow sync, pageviews & more.
NEW

Can I move my Webflow project from a subdomain to a subfolder within a larger project?

TL;DR
  • Export Webflow project via the "Export Code" button and download the ZIP file.
  • Upload extracted files to a subfolder on your web server (e.g., /project/).
  • Update file paths to ensure assets and scripts work properly in the subfolder.
  • Adjust navigation and links on the main site to point correctly to the subfolder.
  • Verify functionality and make necessary SEO or redirect adjustments.

Yes, Webflow does not natively support hosting a project in a subfolder (e.g., example.com/project/). Each Webflow project is published as its own standalone site, typically on a subdomain (e.g., project.example.com). However, you can work around this limitation by exporting the Webflow project and hosting it within a subfolder on an external server.

1. Export the Webflow Project

  • Go to Webflow Designer and open the project you want to move.
  • Click the "Export Code" button (upward arrow icon).
  • Download the exported ZIP file, which contains HTML, CSS, JS, and assets.

2. Upload to Your Main Website’s Subfolder

  • Extract the ZIP file to your local computer.
  • Move the extracted files into a new folder, e.g., /project/.
  • Upload this folder to your main website’s root directory.
  • Ensure file paths for assets (like images and CSS) are correctly referenced in the subfolder.

3. Adjust Paths for External Hosting

  • If your Webflow site used absolute paths (e.g., /assets/image.png), change them to relative paths (e.g., ../assets/image.png).
  • Check if Webflow’s JavaScript functions properly when placed inside a subfolder.
  • Adjust any redirects or SEO settings within the main site’s .htaccess or server configuration to avoid conflicts.
  • Update your main site's navigation to correctly link to the subfolder (example.com/project/).
  • If the Webflow project contained internal links, verify they function properly when accessed from the subfolder.

Summary

Webflow does not allow native publishing to subfolders, but you can export the project and host it within a subfolder on your main website. Ensure all paths, links, and scripts are correctly linked after migration.

Rate this answer

Other Webflow Questions