$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>Page 404 Error on Localhost|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

Page 404 Error on Localhost

matteradmin9PV0评论

I am currently working on my localhost and the problem is that all the wordpress related urls would direct me to error 404 page not found but somehow i can still access my website which still functions quite well (but i cannot access wordpress related things such as dashboard, themes and settings). I've tried many solutions on the internet such as editing loadmodule rewrite and allowoverride in apache httpd.conf (i use XAMPP) which should work but it still doesn't. My .htaccess file is still there and i have tried shifting lines up and down but it doesn't work. How can i regain access to wordpress? I am freaking out :(

I am currently working on my localhost and the problem is that all the wordpress related urls would direct me to error 404 page not found but somehow i can still access my website which still functions quite well (but i cannot access wordpress related things such as dashboard, themes and settings). I've tried many solutions on the internet such as editing loadmodule rewrite and allowoverride in apache httpd.conf (i use XAMPP) which should work but it still doesn't. My .htaccess file is still there and i have tried shifting lines up and down but it doesn't work. How can i regain access to wordpress? I am freaking out :(

Share Improve this question asked Feb 14, 2019 at 16:23 Willi YanWilli Yan 1
Add a comment  | 

1 Answer 1

Reset to default 0

In some instances (tried everything counts) I've had to (be sure I had a current xml export of the content + ftp back up of the wp-content dir + copy paste your customized CSS and other code) wipe the site, fresh install WP install all the plugins, theme, etc then import the xml and/or copy the wp-content dir back to the site. I'm sure there's many fixes out there, but from experience I've found a simple wipe and re-set-up often saves so much time.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far