简体   繁体   English

在wp-admin的wordpress中重写URL

[英]url rewriting in wordpress of wp-admin

在wp-admin.wp-admin的wordpress中重写URL并没有登录,并且URL返回首页, http: //www.vivaindia.es/wp-login.php?redirect_to=http%3A%2F%2Fwww.vivaindia.es% 2Fhome%2Fwp管理员%2F&重新验证= 1

You may have an issue with a wrong siteurl in the wp_options table in your database. 您的数据库的wp_options表中的siteurl可能有问题。 You can look at the Login Trouble page in the WordPress codex for a possible solution to this. 您可以查看WordPress Codex中的Login Trouble页面,以寻求可能的解决方案。

I think you have set the wp_redirect( home_url() ); 我认为您已经设置了wp_redirect(home_url()); wordpress function to the function.php file in themes so that's why you redirect to the home page and please try to change in wp_option table the feild option name siteurl and home 将wordpress函数转换为主题中的function.php文件,这就是为什么您重定向到主页,请尝试在wp_option表中更改字段选项名称siteurl和home

我认为,由于您托管服务器的权限发生了变化,您可以与他们联系以解决此问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM