Test Pantheon

Test Pantheon Clone Search and Replace

Plain text URLs (should NOT be replaced – legacy behavior):

www.wp-test-practice.shop (expected: stays as www.wp-test-practice.shop – plain text not replaced)

wp-test-practice.shop (expected: stays as wp-test-practice.shop – plain text not replaced)

Linked URLs (SHOULD be replaced if they match the search pattern):

Link to https://wp-test-practice.shop (expected: https://wp-test-practice.shop – WILL be replaced)

Link to https://www.wp-test-practice.shop (expected: stays as https://www.wp-test-practice.shop – WONT be replaced because search pattern is ://wp-test-practice.shop, not ://www.wp-test-practice.shop)

Note: The :// prefix makes the search-replace exact. It will only replace URLs that exactly match the search pattern. Links with “www.” prefix wont be replaced because they dont match the exact pattern. This matches legacy dashboard behavior and prevents the double-prefix bug.