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.

Type: Pre-Sale
Status: In Progress
unicomc5
View Replies:
elyon replied on at Permalink Reply
elyon
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
unicomc5 replied on at Permalink Reply
unicomc5
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!

concrete5 Environment Information

# concrete5 Version
5.6.3.1

# concrete5 Packages
Extended Form (2.7.2), FlexSlider (2.2.0.5), Hutman News (3.0.1.2), Magic Tabs (1.1.0.1), Maintenance Editor (1.2.2), Slate Theme (1.5.3.1), The Void theme (1.0), Ticker (1.0.1), Upcoming Events (2.2.0), WordPress for Concrete5 (1.6.4).

# concrete5 Overrides
js/mktFormSupport.js, css/style91706.css, css/style91708.css, css/tooltip.css, css/jquery-accordian-ui.css, css/example.css, css/shortcodes.css, css/IE-fix.css, css/tab-print.css, css/example-print.css, css/taber-about.css, css/style91707.css, css/styleblacktext.css, css/style_internetDisk.css, css/slider.css, css/tab.css, css/c1style.css, css/lifeagent.htm, css/skeleton.css, css/mktLPSupport.css, css/style.css, css/taber.css, css/base.css, languages/pt_PT, languages/ar, languages/el_GR, languages/da_DK, languages/fa_IR, languages/fi_FI, languages/nb_NO, languages/de_DE, languages/he_IL, languages/sk_SK, languages/ro_RO, languages/es_MX, languages/fr_FR, languages/es_PE, languages/vi_VN, languages/ja_JP, languages/zh_CN, languages/zh_TW, languages/cs_CZ, languages/ru_RU, languages/es_AR, languages/es_ES, languages/it_IT, languages/nl_NL, languages/sv_SE, languages/tr_TR, languages/sl_SI

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - On
Full Page Caching - Off

# Server Software
Apache

# Server API
apache2handler

# PHP Version
5.3.3

# PHP Extensions
apache2handler, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, http, iconv, imagick, json, libxml, mbstring, mcrypt, memcache, mysql, mysqli, newrelic, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib.

# PHP Settings
max_execution_time - 30

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.