How can I remove data-wf-site and data-wf-page tags from my code in Webflow without affecting the functionality of the website?

Published on
September 22, 2023

To remove the data-wf-site and data-wf-page tags from your code in Webflow without affecting the functionality of the website, you can follow these steps:

  1. Open your project in the Webflow Designer.
  2. In the Designer, go to the "Pages" panel on the left-hand side.
  3. Select the page where you want to remove the tags.
  4. On the right-hand side, you will see the "Page Settings" panel. Click on it.
  5. In the Page Settings panel, scroll down to the "Custom Code" section.
  6. In the "Head Code" field, you may find the data-wf-site and data-wf-page tags that were automatically added by Webflow. These tags are used by the Webflow Editor to manage aspects of your site, such as CMS content.
  7. To remove the tags, simply delete them from the "Head Code" field.
  8. Once you have removed the tags, click on the "Save Changes" button in the top-right corner of the Designer.
  9. After saving the changes, publish your site by going to the "Publish" tab in the top-right corner of the Designer and clicking on the "Publish Site" button.

By following these steps, you can remove the data-wf-site and data-wf-page tags from your code without affecting the functionality of your website. It's important to note that while these tags may no longer be present in the code, some Webflow features may rely on them, such as dynamic content in the Webflow Editor. So, before removing these tags, make sure it won't impact any specific functionality you are using.

Additional Questions:

  1. How do I add custom code in Webflow?
  2. Can I export my Webflow project and host it on my own server?
  3. What are the benefits of using Webflow for SEO optimization?