$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'); ?>permalinks - 404 page not found - Yet open admin page it works|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)

permalinks - 404 page not found - Yet open admin page it works

matteradmin8PV0评论

Having a weird problem on a new site we are putting together. Everything is working OK with one exception - one page always returns a 404 page not found.

In the admin pages, if the page is veiwed or previewed it works fine - in fact, if I open the site in another browesr tab - the site works fine. As soon as I log out of close the admin page, the very same page when refreshed comes up as 404 page not found.

I've tried the ususal disabling plug ins, even tried refreshing permalinks - which was a disaster as the category posts on the front page started showing all the text instead of just the featured image. Its back to "normal" now - but even creating a new post with the same name doesn't work

I really don't understand whats going on here - seems to have a mind of its own!

Any ideas would be greatly appreciated - although seemingly a simple problem is is proving to be a show stopper!

Having a weird problem on a new site we are putting together. Everything is working OK with one exception - one page always returns a 404 page not found.

In the admin pages, if the page is veiwed or previewed it works fine - in fact, if I open the site in another browesr tab - the site works fine. As soon as I log out of close the admin page, the very same page when refreshed comes up as 404 page not found.

I've tried the ususal disabling plug ins, even tried refreshing permalinks - which was a disaster as the category posts on the front page started showing all the text instead of just the featured image. Its back to "normal" now - but even creating a new post with the same name doesn't work

I really don't understand whats going on here - seems to have a mind of its own!

Any ideas would be greatly appreciated - although seemingly a simple problem is is proving to be a show stopper!

Share Improve this question asked Feb 25, 2019 at 23:26 Fozzy279Fozzy279 153 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

I would be interested in what the page slug is...perhaps some non-ASCII characters in there?

And, what happens if you change the page slug?

Maybe there is another component in the page request that is causing the 404. Look at all request for that page (via Developer Tools in your browser) to see which request is the 404.

Post a comment

comment list (0)

  1. No comments so far