Cleaning the url
-
Hi,
I wanted to create on my Edin them wordpress a menu of blog posts. It’s been tough but I’ve finally did it. But now, the url of the blog is http://swannfreslon.com/blog-5/ which doesn’t make sense. It’s like if the them kept all my attempts of creation. So I’d like to clean the link and have only /blog and not /blog-5
Hope my explanations are clear…
Thank you for your help.The blog I need help with is: (visible only to logged in users)
-
/blog-5 part of the url is called slug. You can edit the slug for a post or page using the instructions in this support guide: https://en.support.wordpress.com/new-post-screen/#advanced-settings
If WordPress.com is not letting you change the slug, empty the page trash folder and retry.
Give it a try and let me know how it goes.
-
Thank you for your help.
I’ve found it how to do it for the posts but not for the pages.
When I change the slug of the page to /blog instead of /blog-5, it doesn’t keep it. It changes back for /blog-2 and of course the page is not accessible anymore.And I coulnd’t find the trash. :(
-
Support docs are at http://support.wordpress.com
type in Trash and click search
https://en.support.wordpress.com/?s=trash
results are https://en.support.wordpress.com/trash/
Scroll down to Permanently Deleting a Post or Page https://en.support.wordpress.com/trash/#permanently-deleting-a-post-or-page -
Thank you. I did it. Trash is empty.
Now, I want to change the slug of my blog page to have a clean url.
But each time I try to change from /blog-5 to /blog, it comes back to /blog-2.
So, how do I change it for /blog permanently and then how to make the new page accessible with the new url?
I can change the slug of a post, bt I can’t find it for the pages.Thank you!
-
> But each time I try to change from /blog-5 to /blog, it comes back to /blog-2.
This sounds like there is another page that is already using the slug /blog so you won’t be able rename /blog-5 to /blog.
Check if any of your other pages is using /blog, change it to something else and then rename /blog-5 to /blog.
-
I don’t find any pages named with “blog” in it in the “pages” folder. Do you know if there could be some hidden pages somewhere and how to reach them?
-
Page name and slug name don’t have to match. So for each page, check not just page name but slug name as well.
-
I’ve realized that the problem could come from other blogs that I have…
So I’ve checked them. I’ve managed to change the slug of the “about” which had the same problem. But couldn’t do the “blog” page. The best I can do is to have a /blog-2 (or another name) instaed of blog-5.
I’ve checked the pages of the other blogs ut I don’t find any pages with a url including /blog.
Is it possible that because the other blogs are blogs (even if they don’t have the slug /blog) that’s why I already have a /blog somewhere?
The others blogs are:
blablaterie.wordpress.com
mylifeasasharpei.wordpress.com
blablaterie.wordpress.comThank you!
-
-
-
Hi @swannfreslon, the trouble is that you can’t have duplicate slugs for anything — including your pages, posts, tags, and categories.
You have a tag called “blog” and it’s using the “blog” slug, which is making it unavailable for your blog page. Can I recommend removing that completely, then trying to change your blog page slug once more?
-
Thank you @supernovia. I did not realize slugs can be used for things other than posts and pages.
-
No problem, chaitanyamsv . One would use tag slugs like this:
https://en.blog.wordpress.com/tag/traffic/And categories like so:
https://en.blog.wordpress.com/category/better-blogging/I hope that helps!
-
Thank you @supernovia
I’ve deleted all the categories, tags, posts with the word “blog”.
Still, the page I want to have /blog remains with the address /blog-2 -
-
I don’t find the trash for categories and tags. When I’m in those sections in the admin, the trash doesn’t appear.
-
Sorry! Next time I don’t suggest anything without first checking it myself like I did now.
-
-
Can you delete and empty the trash for this one too, please?
http://swannfreslon.com/blog/After that you can go ahead and try changing the slug for the correct page. Thanks!
- The topic ‘Cleaning the url’ is closed to new replies.