Content Storage
In this article, we're going to discuss our content storage system and the differences between each storage type.
@since Cornerstone 7.6.0, and Pro 6.6.0
Content Storage refers to how pages and posts are stored behind the scenes when a document is saved in Cornerstone. We introduced this change to address issues with SEO plugins and searching by post content when a page or post was built in Cornerstone with HTML mode. This also modernizes the output of the Cornerstone Builder and introduces additional benefits related to code optimization and performance.
If you have a site that was built prior to this release, you will automatically be placed into Shortcode Storage. This is how Cornerstone has worked from the beginning and to keep everything on your site running properly as we continue to work on this system and migration. New sites will be placed into HTML Storage starting in Cornerstone 7.7.0.
How Cornerstone works behind the scene does not change. Cornerstone will still determine if the content is a Cornerstone type and do the same type of rendering. This storage change will simply allow 3rd party plugins to understand the actual content in a Cornerstone type document.
Differences in Storage
Each storage method offers it's own set of features. Let's dive into both options.
Shortcodes
Shortcodes were originally the only method offered for Content Storage. It's tride and true and has been run on thousands of sites, but it has known issues with SEO plugins and searching by content in WordPress. The only SEO plugin supported fully is Yoast.
HTML
HTML storage mode was originally created to address issues with third party SEO plugins and the WordPress searches ability to search by content inside of Cornerstone. It is newly introduced and if you migrate to this method, you will not be able to downgrade Cornerstone or Pro to less then Cornerstone 7.6.0 and Pro 6.6.0.
Switching Storage Modes
Navigate to your Cornerstone Settings and look under Advanced
. You will see a section called Content Storage
.
Under configure in this section, there is a Migrate
button. When this button is pressed it will migrate your content storage to the type other the one that is currently enabled. If you are using Shortcode storage, this button will migrate your content into HTML and vice versa. You need to backup your site before you do this, and it may take several minutes. We offer a paid service to migrate your site from Shortcode to HTML, so please contact us if interested.
![Content Storage Settings](https://s3.amazonaws.com/docs-content.theme.co/cornerstone/features/content-storage/images/content-storage-settings.png)
See something inaccurate? Let us know