曲奇免费域名不工作 [英] Cookie Free Domain Doesn't work

查看:134
本文介绍了曲奇免费域名不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下面这个教程: HTTP:/ /www.xpertdeveloper.com/2011/07/word$p$pss-cookie-free-domain/

所以,我创建(CPANEL)的子域static.artswr.com并重定向到artswr.com/wp-content~~V /

So, I created (CPANEL) the subdomain static.artswr.com and redirected it to artswr.com/wp-content/

我编辑并添加以下的WP-config文件的末尾:

I edited and add the following in the end of the wp-config file:

define("WP_CONTENT_URL", "http://static.artswr.com");
define("COOKIE_DOMAIN", "www.artswr.com");

我加载一切与< PHP代码bloginfo('template_directory'); ?> ,但它不工作,还我收到404错误,当我试图找到在static.artswr.com

I am loading everything with <?php bloginfo('template_directory'); ?> but its not working, also I'm getting 404 errors when I try to find a file in static.artswr.com

推荐答案

define("WP_CONTENT_URL", "http://static.artswr.com");

尝试

define("WP_CONTENT_URL", "http://static.artswr.com/wp-content");

不从您的cPanel任何重定向。 static.artswr.com 应指向 artswr.com

这篇关于曲奇免费域名不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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