$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 - Old site posts broken after domain update|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 - Old site posts broken after domain update

matteradmin10PV0评论

I recently updated to a different domain on my wordpress blog.

Unfortunately, all my old posts are now broken and I've tried everything.

I've ran the search and replace tool for old references and updated, still to no avail. I'm also unable to publish new posts at all.

As you can see, all the posts are 404 now. I've updated permalinks as well.

I recently updated to a different domain on my wordpress blog.

Unfortunately, all my old posts are now broken and I've tried everything.

I've ran the search and replace tool for old references and updated, still to no avail. I'm also unable to publish new posts at all.

https://thesimpleengineer

As you can see, all the posts are 404 now. I've updated permalinks as well.

Share Improve this question asked Feb 12, 2019 at 16:03 John LippsonJohn Lippson 1011 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 1

It seems like you are having permalinks issue which is usually occur due to .htaccess file. Can you please go to the Settings -> Permalinks and press update. Make sure your .htaccess file is writeable, usually wordpress show warning on that page if file is not writeable. If its not writeable you will get code on that page at the bottom which you have to place manually in .htaccess file.

.htaccess file can be found in your wordpress folder where wp-config.php file resides.

Post a comment

comment list (0)

  1. No comments so far