简体   繁体   English

当站点在单独的目录中具有门户网站的asp.login页面时,如何更改wordpress域名?

[英]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.

相关问题 应用域名时,ASP.NET应用程序始终重定向回到登录页面 - ASP.NET application always redirects back to login page when a domain name is applied 如何在 asp.net 站点域下显示外部 WordPress 站点 - How can I show an external WordPress site under a asp.net site domain 不提供页面名称时,ASP.NET网站运行缓慢 - Slow ASP.NET site when not providing a page name ASP 错误:SqlException (0x80131904):用户 'DOMAIN\MACHINENAME$' 登录失败。 尝试启动 ASP 页面时 - ASP Error: SqlException (0x80131904): Login failed for user 'DOMAIN\MACHINENAME$'. When trying to launch ASP page ASP.NET / Active Directory-支持域用户自动登录 - ASP.NET / Active Directory - Supporting auto login for domain users 如何检测您网站的域名? - How to detect your site's domain name? 如何安全地获取正在运行的ASP.NET站点的域名 - How do I securely get the domain name of the running ASP.NET site 如何更改IIS域名? - How to change IIS domain name? 如何将ASP.NET MVC默认登录页面更改为通过用户名而不是电子邮件地址登录? - How do I change the ASP.NET MVC default login page to login by username instead of email address? 在asp.net网站中为每个目录设置单独的默认页面 - Setting separate default page for each directory in asp.net website
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM