WordPress 移除 WWW [英] WordPress removing WWW

查看:36
本文介绍了WordPress 移除 WWW的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近建立了一个 WordPress 博客,它正在从所有 URL 中删除 www.我已经禁用了所有插件,它仍然如此.

I've recently set up a WordPress blog and it's removing the www from all URLs. I've disabled all plug-ins, and it still does that.

我的 .htaccess 是:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

我看不出有什么问题.

这是最新版本的 WordPress.

It's the latest version of WordPress.

我该如何解决?我想要所有带有 www 的 URL.

How can I fix it? I would like to have all URLs with www.

提前致谢.

推荐答案

您应该能够在正在运行的 WordPress 安装的 UI 选项/首选项中进行调整.

You should be able to adjust this in the UI options / preferences in your running WordPress installation.

转到常规设置"并将WordPress 地址(URL)"和博客地址(URL)"更改为合适的值.就您而言,我希望您需要在其中添加www".

Go to "General Settings" and change the "WordPress address (URL)" and "Blog address (URL)" to what is appropriate. In your case, I'd expect that you'd need to add the "www" to it.

这是该部分的屏幕截图,所以很清楚:常规设置区域的屏幕截图.http://theopensourceu.com/wp-content/uploads/2009/10/WP-GeneralSettings.JPG

Here's a screenshot of the section so it's clear: Screen shot of the general settings area. http://theopensourceu.com/wp-content/uploads/2009/10/WP-GeneralSettings.JPG

这篇关于WordPress 移除 WWW的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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