我在 blog-example.rhcloud/上有一个openshift wordpress博客,并添加了CNAME记录在我的DNS管理中,如下所示.
I have an openshift wordpress blog running at blog-example.rhcloud/ and added CNAME records in my DNS management as follows.
example www.example,效果很好.当我键入内容时,这会转到我的博客主页,但是博客中的页面和链接实际上会导致openshift命名空间.即blog-example.rhcloud/?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/?page_id=7
我只想在我的应用程序的每个位置都将blog-example.rhcloud/屏蔽为example.如果有任何需要分析此问题的信息,我很乐意提供进一步的信息.
I just want to mask blog-example.rhcloud/ to example 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一.如果您想直接在数据库中更改它(我不建议这样做),我相信它在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 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博客
发布评论