• I was getting a 404 error and the otto pixel was not being recognized. I tried several different installation methods (GTM, WP, Custom Installation). Turns out the pageUrl was pulling from my wp_options page and adding https:// in front of the verification request

    https://sa.searchatlas.com/api/v2/otto-url-details/?url=https://http://www.mydomain.com&uuid=myuuidhere

    without the https:// it works

    https://sa.searchatlas.com/api/v2/otto-url-details/?url=www.mydomain.com&uuid=myuuidhere

    in class-metasync-public.php line 174
    this => $page_url = esc_url(home_url(add_query_arg([], $_SERVER[‘REQUEST_URI’])));

    this code requires that the home wp_option to not have https:// or http:// on it.

    Either SearchAtlas enforces that on line 174 or make that clear for technical users or have your plugin edit wp_options “home” to make sure this doesn’t break.

    It really depends on each WordPress Installation and I feel like the plugin should at least be able to clean this up or add on their API call the ability to receive url with https in front of it.

The topic ‘404 Sync Error’ is closed to new replies.