admin管理员组文章数量:1122832
I have a problem with my admin page of the site . I can not reach the inlog anymore of this page: Not Found The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
This is what happened: I tried to remove, in the WP adminpage, a part of site URL. This must be: and I tried to remove show. Unfortunately after saving, it went down. I also tried to contact my provider but they will not help me. My provider is Budget Webhosting in Holland. So, now, I can not anymore reach my site by WP-Admin and also the site is totally broken. What can I do to get it back? Thanks so much for helping! Regards Peter
I have a problem with my admin page of the site http://www.fotoexpo202.nl . I can not reach the inlog anymore of this page: Not Found The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
This is what happened: I tried to remove, in the WP adminpage, a part of site URL. This must be: http://www.fotoexpo.nl/show and I tried to remove show. Unfortunately after saving, it went down. I also tried to contact my provider but they will not help me. My provider is Budget Webhosting in Holland. So, now, I can not anymore reach my site by WP-Admin and also the site is totally broken. What can I do to get it back? Thanks so much for helping! Regards Peter
Share Improve this question asked Nov 1, 2020 at 13:47 Peter PuttersPeter Putters 112 bronze badges 2 |1 Answer
Reset to default 0Perhaps the siteurl
or home
value got modified when you tried to modify the site URL in WP admin? If so, it might make the front-end and the WP admin inaccessible because it is looking for WordPress in a directory in which it doesn't exist.
Fixing it in the database
If you have access to the MySQL database, go to the wp_options
table and set the siteurl
and home
values to whatever they were before you edited them (when the site was still working).
Your site should hopefully be back after you make this change. If you edit the site address fields again, you must be very careful you have an understanding of what directory the WP core files are housed in before changing the URL.
Fixing it in WP config
You could also manually override what's in the database by adding these lines to your wp-config.php
. (Change out example.com for your proper site address).
define( 'WP_HOME', 'http://example.com' );
define( 'WP_SITEURL', 'http://example.com' );
But if you did it that way, you'd never be able to edit the Site URL in WP admin again. More info on this here: https://wordpress.org/support/article/changing-the-site-url/
I'd always be careful when editing those URL fields in WP admin.
Hope that helps; perhaps I misunderstood the question.
本文标签: 404 errorWP admin page gives 404
版权声明:本文标题:404 error - WP admin page gives 404 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736295917a1929676.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
/show
, what is/show
and how did you remove it? – Tom J Nowell ♦ Commented Nov 1, 2020 at 14:45