[英]How to change wordpress domain name when site has asp.login page for portal in a separate directory?
My client wants to change his Wordpress site's domain name (from info.safetyalert.com to safetyalert.com). 我的客户希望将其Wordpress网站的域名(从info.safetyalert.com更改为safetyalert.com)。
On the server there are two directories: info.safetyalert.com (where the user is redirected when they type www.safetyalert.com into browser) and safetyalert.com, which contains the old site which is not rendered with the exception of a login.asp page for customers that directs them to a "non-Wordpress" portal for submitting reports which is in turn linked to a database (you can see the Login link at the upper right hand corner when accessing the Wordpress home page). 在服务器上,有两个目录:info.safetyalert.com(当用户在浏览器中输入www.safetyalert.com时,用户将被重定向到该目录)和safetyalert.com,其中包含除登录外未呈现的旧站点。客户的.asp页,将他们定向到“非Wordpress”门户以提交报告,该门户又链接到数据库(访问Wordpress主页时,您可以在右上角看到“登录”链接)。
My question is: In which files would I need to edit to make safetyalert.com permanent (and not changing to info.safetyalert.com in the address bar) when users goto the Wordpress site, but without affecting/crashing the login.asp page and the database in the other directory? 我的问题是:当用户转到Wordpress网站时,我需要编辑哪些文件以使safetyalert.com永久(并且不会更改为地址栏中的info.safetyalert.com),但又不影响/崩溃login.asp页和数据库在另一个目录中?
My previous attempts have resulted in a loop. 我以前的尝试导致了循环。 I can provide additional info if needed.
如果需要,我可以提供其他信息。 Any help is greatly appreciated!
任何帮助是极大的赞赏!
登录到http://info.safetyalert.com/的管理面板,然后转到“设置”>“常规”,然后更改URL(即从http://info.safetyalert.com/更改为http://www.safetyalert.com ),那么您的问题就解决了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.