[Plugin: Open Graph Pro] Circular redirect error when blog is in subdirectory
-
Hi Martin,
When the blog home is in a subdirectory, ogp prints
og:url https://example/blog
and that gives Facebook a “circular redirect error” as it goes back and forth between
/blog
(og:url) and/blog/
(WordPress home url).You should use
home_url('/')
instead — it always has the trailing slash.best, S
- The topic ‘[Plugin: Open Graph Pro] Circular redirect error when blog is in subdirectory’ is closed to new replies.