# WordPress and Other CMS

Reverse PHP integration is convenient for integrating Cloakify into websites built on WordPress or similar content management systems (CMS).

WordPress has an index.php file in the root folder. You need to insert the code line into this file, as described above:

<?php require __DIR__ . '/filter.php' ?>
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */

Place our filter.php file in the same root folder.

Since the integration is done in the root WordPress file, Cloakify's code will trigger when you navigate to any page on the website.

If WordPress serves as the white page, specify the "No Action" action for the white page, and leave the page field blank. If WordPress serves as the content, specify the "No Action" action for the content, and leave the page field blank.

Important: Ensure that any caching plugins in WordPress are disabled. If you don't see your traffic in the stream statistics, it usually means that WordPress is caching pages and thereby interfering with Cloakify's operation. Disable caching.

Note: When updating WordPress, it will overwrite this index.php file, thus removing the integration code, and you will need to redo the integration.