This plugin is nearly perfect for my use case. We changed our site domain from X to Y, but kept all the content at the same URIs. Wildcard redirects work great to transparently change the domain the users’ browser.
However, we want our Open Graph canonical URLs to stay the same, to keep our social media history (Facebook Likes, etc.) for existing content. To do that, crawlers need to be excluded from the redirects.
Is there a way to add “excluded User Agents” such that requests with matching agents are NOT redirected, but instead see the page at the old URL?
In our case we just have two domains pointing to the same WP instance, and want Facebook and others to continue to see old content at the old addresses, while actual humans see everything at the new domain, redirecting bookmarks to old content to the new domain.
- The topic ‘Can I exclude some clients from redirects?’ is closed to new replies.