# The page directory cannot be moved - Error

**URL:** <https://forum.getkirby.com/t/the-page-directory-cannot-be-moved-error/32218>\
**Category:** Questions\
**Created:** [August 10, 2024, 12:33pm UTC](https://forum.getkirby.com/t/the-page-directory-cannot-be-moved-error/32218 "2024-08-10T12:33:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SCC](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/scc/32/4116_2.png) [@SCC](https://forum.getkirby.com/u/SCC)\
**Post date:** [August 10, 2024, 12:33pm UTC](https://forum.getkirby.com/t/the-page-directory-cannot-be-moved-error/32218/1 "2024-08-10T12:33:58Z")

</div>

Hi,

I am trying out something new with a new local development environment with Kirby, to make things a bit quicker I have copied the blog posts directory from an existing live site to this test.

But when changing statuses on the blog pages or trying to delete them I get the error message - The page directory cannot be moved. It still moves or deletes the page despite coming up with that error.

In addition it keeps setting the prepended page number with the same one each time rather than adding one.

I thought it was just a caching issue but cleared that, tried a few different things and nothing seems to work. Any suggestions?

It all works perfectly fine if I don’t copy over the posts from the live site and just start creating posts fresh but I don’t want to do that. Clearly it’s something to do with it getting confused as I have dumped all these pages in but just can’t figure out how to fix it.

Thanks

Lee

---

<div class="post-metadata">

**Author:** ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)\
**Post date:** [August 10, 2024, 2:11pm UTC](https://forum.getkirby.com/t/the-page-directory-cannot-be-moved-error/32218/2 "2024-08-10T14:11:24Z")

</div>

Can you share a screen shot of the contents of the content folder?

---

<div class="post-metadata">

**Author:** ![SCC](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/scc/32/4116_2.png) [@SCC](https://forum.getkirby.com/u/SCC)\
**Post date:** [August 10, 2024, 2:24pm UTC](https://forum.getkirby.com/t/the-page-directory-cannot-be-moved-error/32218/3 "2024-08-10T14:24:47Z")

</div>

Sure, looks like this.

![Screenshot 2024-08-10 at 15.24.29](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/f/ff613cc319952a5325b140dffc268fb4cdb662b9.png)

---

<div class="post-metadata">

**Author:** ![SCC](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/scc/32/4116_2.png) [@SCC](https://forum.getkirby.com/u/SCC)\
**Post date:** [August 11, 2024, 8:55am UTC](https://forum.getkirby.com/t/the-page-directory-cannot-be-moved-error/32218/4 "2024-08-11T08:55:06Z")

</div>

So, it turns out had a single duplicate as 189\_post and 189\_post, fixing that solved the issues. Something so simple caused such an issue, who knew 😛
