Webflow sync, pageviews & more.
NEW
Answers

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

Yes, you can definitely move your Webflow project from a subdomain to a subfolder within a larger project. Here are the steps to do it:

1. Export your subdomain project: Go to your Webflow dashboard and select the subdomain project you want to move. Click on the "Export" button and choose "Export Site" from the dropdown menu. This will download a .zip file containing all your project files and assets.

2. Set up the subfolder in your larger project: In your larger project, create a new subfolder where you want to move the subdomain project. For example, if your larger project URL is "example.com" and you want to move the subdomain project to "example.com/subfolder", create the "subfolder" directory.

3. Extract and upload the exported files: Unzip the downloaded .zip file from the subdomain project export. You will see a folder with all the project files. Move these files into the subfolder directory you created in your larger project.

4. Update asset paths: Now that you've moved the project files, you need to update the asset paths in your code. Open the index.html file (or whatever your main HTML file is) from the subfolder project in a code editor. Look for URLs pointing to your assets (images, CSS files, JavaScript files, etc.) and update them to reflect the new subfolder path. For example, change `assets/image.jpg` to `../assets/image.jpg` if your assets are in the parent directory.

5. Connect custom domains (if applicable): If you had a custom domain set up for the subdomain project, you'll need to update your DNS settings to point your custom domain to the new subfolder in your larger project. This typically involves creating a CNAME or A record in your domain provider's DNS settings.

6. Test and publish: Once you've made all the necessary changes and updates, it's essential to thoroughly test your site to ensure everything is working correctly. Preview your site locally and make sure all links, assets, and functionality are functioning as expected. Finally, publish your larger project (including the subfolder) to make it live on the web.

Remember to double-check all your paths and URLs to ensure they are correctly updated. Moving a project from a subdomain to a subfolder requires manual changes to file paths, so it's crucial to maintain consistency in your code.

Rate this answer

Other Webflow Questions