@tractorcow so you mean replace Director::BaseURL() instead using the $post->Link() method to get the final path to test against?