• Resolved orbital2000

    (@orbital2000)


    I deleted a page, but later decided that I wanted it back. After recreating, WordPress has given it a permalink of “Blog-2”, when it should be just “Blog”.

    In the write page admin panel, I try to use the “edit permalink” feature, but upon updating the page and reposting, it reverts back to “Blog-2”.

    Any way around this? I’m on my local XAMPP – does that matter?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter orbital2000

    (@orbital2000)

    Just notice something very strange.

    My blog template is a custom template, called “Blog”. In the php file, I have the standard:

    <?php
    /*
    Template Name: Blog
    */
    ?>

    The “Blog” link in my nav bar now takes you to “Blog-2”, which doesn’t reflect the page layout of “Blog”. The strange part is, there is no Blog-2 template, and I don’t know where the alternate layout is coming from.

    I can delete the entire contents of the “Blog” template, and the “Blog-2” page doesn’t change, so it’s as if there’s no connection.

    What happened to my Blog template?

    Thread Starter orbital2000

    (@orbital2000)

    Never mind that second part about my template not showing correctly. Just fixed it.

    BUT, still can’t edit my permalink in the write post panel.

    I’m having this same problem orbital….hoping that someone can help us out. I’ve been looking in the wordpress database, not sure if I’m supposed to delete records in the wp_posts table where I originally created and deleted the blog page…???

    Trying this now orbital…..I think I used the trash feature instead of delete my original blog page. Found this link.. https://en.support.wordpress.com/deleted-posts-and-pages/

    Thread Starter orbital2000

    (@orbital2000)

    Resolved.

    In case anyone else has this problem:

    If you write a page, delete it, then recreate it – WP may give it a hyphenated page name, like “Blog-2”. After deleting and rewriting several times, I noticed that there were a number of deleted “Blog” pages still in my admin trash. I cleared out all trash items, and WP then allowed me to change the url/slug of the “Blog-2” page back to just “Blog”.

    Apparently, if there are multiple instances of a page (even in the trash), WP will not allow you to change the slug.

    Okay that fixed my issue. The problem was that the original blog page I created was not permanently deleted, but rather in the trash.
    If you go to Dashboard>Pages, you’ll see (underneath the “Edit Pages” title) the listing of all your pages, along with their current status (all, published, draft , trash). click the trash link and delete your pages from your trash bin. Once this is completed, you’ll be able to change your recreated blog page to have the /blog permalink

    Hope this works for you ??

    Thread Starter orbital2000

    (@orbital2000)

    That was my issue exactly. Sorry if I wasn’t clear enough. I had deleted pages without knowing they were still looming in the trash. Permanent deletion fixed my problem.

    It may also happen when the category slug and tag slug are same..

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Edit permalink won’t save under write page admin’ is closed to new replies.