Match a custom domain to a wordpress block

I have an open access wordpress blog running under http://blog-example.rhcloud.com/ and have added CNAME records in my DNS management as follows.

example.com www.example.com 

and it works great. When I print, this leads to my homepage of my blog. But blog pages and links actually lead to the opening of a namespace. i.e. blog-example.rhcloud.com/?page_id=7

I just want to mask blog-example.rhcloud.com/ on example.com every time in my application. I would be happy to provide additional information if something is needed to analyze the problem.

PS: I bought a domain from Big Rock and used their console to record CNAME.

+7
wordpress openshift cname
source share
3 answers

You need to log in to your WordPress admin and change the URL on the settings or options page to use your own domain instead of app-domain.rhcloud.com. If you want to change it directly in the database (which I do not recommend), it is in the wp_options table under the home and site, I believe ... But I recommend using the WordPress admin.

+6
source share

You need to go to Settings => General => Site Address (URL), Settings => General => wordpress address (url) and update it to your own domain.

enter image description here

+3
source share

Follow this article. this is a step-by-step guide http://www.devua.co/2016/05/20/how-to-run-blog-on-openshift-complete-guide/

0
source share

All Articles