我试过很多选项来更改我的网址。但我不能这样做,我必须改变在WordPress的常规设置的设置,但它不是URL从如何将example.com更改为www.example.com in wordpress
example.com改为www.example.com
我也加入WP的这些行-config
define('WP_HOME','http://www.example.com/');
define('WP_SITEURL','http://www.example.com/');
但是这也行不通。请人指导我对此
感谢
它给我的内部服务器错误 –
它可能会与其他重写规则来干扰你在你的htaccess –
这是我的网站的全部htaccess文件代码 #BEGIN WordPress的 RewriteEngine叙述在 RewriteBase/ 重写规则^指数\ $ .PHP - [L] 的RewriteCond%{REQUEST_FILENAME }!-f RewriteCond%{REQUEST_FILENAME}!-d RewriteRule。的index.php [L] #END WordPress的 #BEGIN WordPress的 RewriteEngine叙述在 RewriteBase // 重写规则^索引\ .PHP $ - [L] 的RewriteCond%{REQUEST_FILENAME} !-f RewriteCond%{REQUEST_FILENAME}!-d RewriteRule。 //index.php [L] #结束WordPress –