如何在其他子域上运行Wordpress admin? [英] How to run Wordpress admin on a different subdomain?

查看:79
本文介绍了如何在其他子域上运行Wordpress admin?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要通过https运行Wordpress管理员. 我们使用CDN为站点交付缓存的内容,但是CDN无法接受安全流量(每个IP仅允许一个SSL证书,并且我们在该站点上运行多个站点).我无法控制httpS://www.mysite.com/.

I have the requirement of running the Wordpress admin over https. We use a cdn to deliver cached content for the site but the cdn cannot accept secure traffic (only one SSL cert per IP allowed, and we run several sites off it). I cannot control redirects for httpS://www.mysite.com/.

我想拥有:

http://www.mysite.com/blog/
httpS://secure.mysite.com/blog/wp-admin/
httpS://secure.mysite.com/blog/wp-login.php

我已尝试按照文章 http://codex.wordpress.org/中的建议重写网址. Administration_Over_SSL#Virtual_Hosts .

假设,您可以使用其他名称的主机,例如wpadmin.mysite.com

Hypothetically, you could use a host with a different name, such as wpadmin.mysite.com

不幸的是,按照建议尝试仍然将我发送到httpS://www.mysite.com/blog/login.php.

Unfortunately trying this as suggested still sends me to httpS://www.mysite.com/blog/login.php.

# No matter what it redirects to the wrong subdomain for login.php
http://www.mysite.com/blog/wp-admin/
-> httpS://secure.mysite.com/blog/wp-admin/
-> httpS://www.mysite.com/blog/wp-login.php.

此外,当直接进入CSS文件时,仍然链接到错误的url(.)

Also when directly going to the css files still link to the wrong url (.)

简单的解决方案是在http://blog.mysite.com/blog/之外运行博客.不幸的是,由于SEO的原因,该方法已被尝试并被拒绝.

The simple solution would have been to run the blog off http://blog.mysite.com/blog/. Unfortunately this has been tried and was decided against for SEO reasons.

Wordpress是否可以做到这一点?

Is there anyway Wordpress can do this?

推荐答案

您是否调查过此线程?它是 WordPress HTTPS 插件上的mod.

Have you looked into this thread? It is a mod on the WordPress HTTPS plugin.

这篇关于如何在其他子域上运行Wordpress admin?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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