Error: The index content has been overwritten
Error message: The index content has been overwritten by a plugin.
Reason:
Some plugins (e.g., Coming Soon, Maintenance Mode, or other plugins that redirect access to the index) have modified your site’s index file. Shifter cannot handle these types of plugins.
Details:
Shifter generates outputs based on your site’s index file. If the index file has been modified by a plugin, Shifter cannot generate the correct output, resulting in an error.
Solution:
Follow the steps below to resolve the issue.
-
Identify the problematic plugin: Check for “Coming Soon” plugins, “Maintenance Mode” plugins, or other plugins that might redirect access to the index page.
-
Disable the plugins: Disable all identified plugins.
Example:
- Coming Soon plugins
- Maintenance Mode plugins
- Plugins that redirect access to the index
Note:
This error causes Shifter to fail to generate the artifact. Disabling the plugin allows Shifter to work normally.