Related Posts URLs rewritten with the domain multiple times
Permalink Browser Info Environment
My WordPress blog entries contain Related Posts at the bottom. In my concrete5 site, these links are displaying, but the links have been rewritten so that the "http://" and domain are doubled, causing dead links:
"http://mysite.comhttp://mysite.com/blog/name-of-blog-entry"
I've checked the output of my WP installation's JSON API plug-in, and the URLs there are in the form of "http://myblogsite.com/", so the rewrite must be happening at the c5 level.
Has anyone had this experience? This is causing dead links on our blog entries.
"http://mysite.comhttp://mysite.com/blog/name-of-blog-entry"
I've checked the output of my WP installation's JSON API plug-in, and the URLs there are in the form of "http://myblogsite.com/", so the rewrite must be happening at the c5 level.
Has anyone had this experience? This is causing dead links on our blog entries.
Type: | Pre-Sale |
---|---|
Status: | In Progress |
I believe the add-on tries to rewrite URLs in order to handle relative and root-relative links properly. Can you double check that the URL format that WordPress uses matches the one you use for Concrete? For example, you will want to make sure that if you use "www.mysite.com" in Concrete, that this is used in WordPress, not "mysite.com", and vice versa, as this could possibly cause trouble
Thanks for getting back to me. I thought that all of this was set correctly without the "www". But I noticed that, since my WP blog is in a sub-folder under the same domain, I had used a relative path on my WP for C5 block instead of the full address, including domain. I changed this to be the full URL and it works great. Thanks for getting me to think about this in the right way!