SEO is a must-have for every website on the internet. Of course, APIQ has support for this too. Special extension “SEO” will do all the job for you.

Installation

In case you’re installing APIQ on your own server, you need to add “SEO” extension as Ruby on Rails project dependency.

gem "kms_seo"
# or for edge version:
gem "kms_seo", github: "apiqcms/kms_seo"

After you walked through all installation steps, you should see “SEO” extension additions in APIQ backend.

Meta Tags and Headers

The first thing you’d probably use is meta tags - you could find “SEO” section on each Page form. SEO Section

Here you could specify “title”, “description”, “keywords” and “h1” content.

Once specified, you can use it in your Templates (or head Snippet) via special seo object - check out how in the next section.

Object seo

This is a Liquor variable/object introduced by “SEO” extension. It has 4 properties according to those you specified for pages: seo.title, seo.description, seo.keywords and seo.h1.

Here is how you’d use it:

<title>{{ seo.title }}</title>
<meta name="keywords" content="{{ seo.keywords }}">
<meta name="description" content="{{ seo.description }}">
...
<h1>{{ seo.h1 }}</h1>

Redirects

What if you want to switch to APIQ CMS from other CMS? You would probably decide to keep traffic from URLs you had before (and which search engines already aware). Then “Redirects” section comes to the rescue: Redirects

Sitemap.xml

This is XML file storing all website links. If you’re going to optimize your website for search engines, you need it. Thanks to “SEO” extension, you automatically have it available at /sitemap.xml

Robots.txt

Another special file you have to have on your website to let know search engines bots about what you want to be indexed, what’s not and other settings. You could easily edit robots.txt file content straight from admin “Settings” section: Robots.txt

Well, these are tools you could easily start using on APIQ CMS website and improve your search engines rankings.