Acquia Optimize

Wordpress Multisite

This page provides the requirements for Optimize CMS integration to work with Wordpress Multisite.

On page requirements

Pageid or postid must be added to as a class on the body element in the HTML, like this:

<body class=”page-id-{id}”>

or

<body class=”postid-{id}”>

That will look something like:

<body class=”page-id-1”>

or

<body class=”postid-1”>

Fields

Inside Optimize, some required fields must be completed.

Prefix path - contains a prefix path before the edit URL and after the domain (see Edit URL for details).

The edit URL

For Optimize integration to work, the edit URL inside the CMS must look like this:

http(s)://domain.tld/#{prefix_path}/wp-admin/post.php?post=#{post_id|page_id}&action=edit"

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Acquia Help

Filter by product:

Common questions