将自定义域映射到openshift wordpress博客 [英] Mapping custom domain to the openshift wordpress blog

查看:111
本文介绍了将自定义域映射到openshift wordpress博客的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 http://blog-example.rhcloud.com/上有一个openshift wordpress博客,并添加了CNAME记录在我的DNS管理中,如下所示.

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

example.com
www.example.com

,效果很好.当我键入内容时,这会转到我的博客主页,但是博客中的页面和链接实际上会导致openshift命名空间.即blog-example.rhcloud.com/?page_id=7

and works fine. When i type, this leads to my blog home page.But the pages and links in the blog actually leads to openshift naming space. i.e., blog-example.rhcloud.com/?page_id=7

我只想在我的应用程序的每个位置都将blog-example.rhcloud.com/屏蔽为example.com.如果有任何需要分析此问题的信息,我很乐意提供进一步的信息.

I just want to mask blog-example.rhcloud.com/ to example.com every where in my app.I would be happy to provide further information if any thing required to analyse the issue.

PS:我从Big Rock购买了域名,并使用其控制台输入CNAME.

PS: I bought the domain from Big Rock and using their console for CNAME entry.

推荐答案

您需要进入WordPress管理员并更改设置或选项页面上的url,以使用自定义域而不是app-domain.rhcloud.com一.如果您想直接在数据库中更改它(我不建议这样做),我相信它在home和siteurl下的wp_options表中.但是我确实建议使用WordPress管理员.

You need to go into your WordPress admin and change the url on the settings or options page to use your custom domain instead of the app-domain.rhcloud.com one. If you want to change it directly in the database (which i don't recommend) it is in the wp_options table under home and siteurl i believe... But I DO recommend using the WordPress admin.

这篇关于将自定义域映射到openshift wordpress博客的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆