[英]Wordpress Website Keeps Redirecting to Different Domain
I have a wordpress website but it keeps redirecting to a different domain: 我有一个wordpress网站,但它一直重定向到另一个域:
I have tried the following: 我尝试了以下方法:
The following is the content of the .htaccess file: 以下是.htaccess文件的内容:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
<IfModule mod_headers.c>
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>
Please help 请帮忙
I know this answer is very late but I'll share my experience to help any one who has this problem. 我知道这个答案很晚,但是我会分享经验来帮助任何有此问题的人。 cause of this issue can be a plugin that you downloaded from outside of wordpress.org or some body has access to your wordpress admin account and you doesn't already close editor.php in appearance tab or hacker has your ftp user and password or ... to solve this create a full backup first and save it in your computer in case of doing any mistake and then:
造成此问题的原因可能是您从wordpress.org外部下载的插件,或者某个机构可以访问您的wordpress管理员帐户,并且尚未关闭外观标签中的editor.php或黑客拥有ftp用户和密码或。 ..要解决此问题,请先创建完整备份,然后将其保存在计算机中,以防万一,然后再执行以下操作:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.