Recalling old page name
-
Hi!
On my blog http://grzesiopolak.com I deleted a page (about a month ago) with the link http://grzesiopolak.com/listy-do-polski/. I was chaning the whole section, so that page has gone to the bin, than was deleted permanently.
After a month I came back and created a completely new page and wanted the link to be the same, i.e. http://grzesiopolak.com/listy-do-polski/ – forget about it. The system is changing it to http://grzesiopolak.com/listy-do-polski-2/ (like the old page was still there). Frustrating, as I’ve already made links in other posts and pages!
It happens when I upload an image that I have to correct, too: after deleting the image “for ever”, the new image will be automatically called “image-2” in the link – not just “image” (“-2” will be automatically added to any title in the URL).
Does WordPress keeps those “deleted for ever” pages, posts and images somewhere in some cache on the server, so I cannot use the same name again in the link (after I delete images, posts or pages from Trash)? This is not very comfortable :/
Unhappily, I had to go around and change the name from http://grzesiopolak.com/listy-do-polski-2/ to http://grzesiopolak.com/listy_do_polski/.
Any suggestions as to what I do wrong?
Adam
The blog I need help with is: (visible only to logged in users)
-
When you see a 2 at the end of the URL it means that the first one is in the Trash and has not been permanently deleted. See here https://en.support.wordpress.com/trash/#permanently-deleting-a-post-or-page
-
Hello timethief,
That’s the problem: I enter trash, delete permanently and yet the system does the same: adds “-2” to the name!
The same goes with images: I uploaded an image listy-do-polski.jpg, which I deleted permanently, and yet when I re-uploaded it, the system still changed the name to listy-do-polski-2.jpg. What is even more interesting, after I re-named it to listy_do_polski.jpg, it created an attachment page with URL http://grzesiopolak.com/listy-do-polski/ with that image there! I never asked for an attachment page with URL http://grzesiopolak.com/listy-do-polski/ with that image… That URL was initially reserved for a page listy-do-polski (not for an attachment page)…
However I delete (permanently, forever from Trash), the system keeps on adding that “-2” to the “old” (deleted permanently) name of page, image or post.
It’s a bit annoying. If I knew about that glitch, I would never delete permanently anything, but indeed leave pages or posts in the Trash to recall them back and make corrections later… I am still puzzled…
Greetings from Cape Town!
Adam
-
Hi there,
When it comers to providing support I provide triage and answer the most repetitive questions posed day in and day out. I’m sorry I was unable to help you resolve this but do not worry as I tagged this thread for Staff assistance. Please subscribe to it so you are notified when they respond. To subscribe look in the sidebar of this thread, find the subscribe to topics link and click it. -
-
-
-
Hi @grzesiopolak,
To clarify, posts/pages and images are handled a bit differently.
For pages/posts, once you delete a page or post, that URL should be available again for use (assuming you’ve removed it from the trash as well). The issue here is that the slug is being used by a media item here:
https://grzesiopolak.wordpress.com/wp-admin/post.php?post=3520&action=edit
If you scroll down that page, you’ll see “listy-do-polski” as the slug for that media item. If you change that to something else, you should then be able to change the slug to listy-do-polski here:
https://grzesiopolak.wordpress.com/wp-admin/post.php?post=3526&action=edit
For media items, slugs aren’t reusable. So, if you uploaded an image called example.jpg, it would exist here:
Even if you delete the image from your site and upload another example.jpg, it will still append a “2” like this:
The only way to have the example.jpg slug again for the image would be to upload it during a different month (so it would be 2015/04 for example).
Can you try renaming the slug on the media item to see if you’re able to then rename the page slug?
-
Hi @jeremeylduvall,
Thank you for your time and explanations.
I did not have an idea about existence of slugs for images :-O It was hidden in my Screen Options, never thought about it (it’s very useful). Now I understand.
I’ve changed the slug, then the post link and all works well now.
Have a nice day!
Adam
-
- The topic ‘Recalling old page name’ is closed to new replies.

