I recently needed to redirect an old domain which was still running an OpenID endpoint. Naturally, I didn’t want to redirect access to that endpoint.
There’s no definitive way to tell whether a client is an OpenID client, but I’ve put together a set of .htaccess rules which do a pretty good job. These rules let you redirect human visitors (HTTP 301) but not affect OpenID clients looking for an endpoint.
These rules can be found on my code site, and any updates will be posted there as well.








0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.