I have an wordpress hosting on openshift. Earlier I choose a domain “testcode” and when I created a gear on openshift so it create a url of that gear like wordpress-testcode.rhcloud.com.

I already bind my domain “www.abc.com” to this gear but whenever I upload any file in wordpress/admin so it create a link like “http://wordpress-testcode.rhcloud.com/wp-content/uploads/2017/04/abc.pdf

I want to change this “wordpress.testcode.rhcloud.com” to “abc.com” for all the url’s of uploaded file in wordpress.

Read more here: Remove openshift url from media uploaded url


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: