• Resolved dalefortuna

    (@dalefortuna)


    My WordPress admin installation is on a different domain to the website itself. CrawlWP doesn’t seem to have any input to override the domain, so it doesn’t work for me. Is there any chance an option could be added to specify a custom domain that would override the one defined in WP settings?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Collins Agbonghama

    (@collizo4sky)

    You can use the below code to programattically override the website url with another domain.

    
    add_filter('crawlwp_normalized_new_url', function () {
        return 'https://newdomainurlhere.com/';
    });
    
    Thread Starter dalefortuna

    (@dalefortuna)

    Thank you for your help, I will give that a go.

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

You must be logged in to reply to this topic.