Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter leosolutions

    (@leosolutions)

    I tried this but doesnt work either

    // Create the object to be sure the yoast filter is working
    if( file_exists( ABSPATH . PLUGINDIR .’/multiple-domain-mapping-on-single-site/multidomainmapping.php’ ) ) {
    require_once( ABSPATH . PLUGINDIR .’/multiple-domain-mapping-on-single-site/multidomainmapping.php’ );
    $mappings = FALKE_MultipleDomainMapping::get_instance();
    }

    global $wp_rewrite;

    //Flush the rules and tell it to write htaccess
    $wp_rewrite->flush_rules( true );
    flush_rewrite_rules();

    Thread Starter leosolutions

    (@leosolutions)

    Doesnt work.
    I think It is because you have to filter in your code.

    //yoast sitemaps
    add_filter( ‘wpseo_xml_sitemap_post_url’, array($this, ‘replace_yoast_xml_sitemap_post_url’), 0, 2 );
    add_filter( ‘wpseo_sitemap_entry’, array($this, ‘replace_yoast_sitemap_entry’), 10, 3 );

    Is it possible for me to use them on my side? Like creating your class object to use it?

    Thread Starter leosolutions

    (@leosolutions)

    Hi,

    I made tests and the reply email is not consiedered as a spam. I dont find it at all in the customer mailbox

Viewing 3 replies - 1 through 3 (of 3 total)