将自定义域映射到openshift wordpress博客

编程入门 行业动态 更新时间:2024-10-24 02:35:19
本文介绍了将自定义域映射到openshift wordpress博客的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在 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博客

本文发布于:2023-07-16 04:15:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1117733.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:定义域   博客   openshift   wordpress

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!