First off, you should *never* use %postname% as your permalink settings. All kinds of bad.
Second, sounds like you want to use %category%/%postname – which is also all kinds of bad.
Instead, you wan to use a permalink setting that startes with a number, like /%year%/%category%/%postname or something along those lines.
Thanks for your answer.
Since I will not have any categories and year has no relevance in this case, it seems very unnecessary to have it in the permalink. What Im acutally asking for is how to get /blog/ between my url and the postname in the permalink.
You want it to say “blog” but you will use absolutely no categories at all? Is the site consisting only of Pages, with no posts? If you’re writing posts, you *are* using categories – the default is “uncategorized.”
The default category is “uncategorized.” And you don’t have to stick with “year” that was only a suggestion. If you read that post, it’ll give you some good suggestions.
If you want the category name to show, you can change the “Uncategorized” to “blog”, and put “blog” in the category base. But I’d read the post I linked to for safe suggestions on the best permalink to use.
Thank you for your answer!
I have read the article you posted, and Im aware of the problem. For this site that Im doing, I do not see how it can be a problem. It will only have 5 static-pages and one “News section” with at the most 5 posts. Any posts that has “expired” will get deleted. There will be no archive. Since this page will have so few posts, I dont want to categorize them and I would prefer to not have “uncategorized” in the permalink.
The word ‘blog’ was just an example, the site is in swedish so I will not use the word ‘blog’. It wount be a blog either, Im just using the ‘blog-format’ to present information that will be changed during time.
Maybe in the future I will be adding 2 categories and extend the “blog” to 10 posts. If I do, I want to have the page name (blog, news or what ever) after the url, but before categories/postname.
How do I do that?
I do not see how it can be a problem
I suppose for such am small site, it wouldn’t be a problem. but as more stuff is added, it can eventually become one. I guess I’m thinking of “future-proofing” (which I always do) because there may come a time when you’ll want to utilize the site more – and handling that type of thing *now* would be effortless, comparing to the mass 301’s you’d have to put in place later on.
Since this page will have so few posts, I dont want to categorize them and I would prefer to not have “uncategorized” in the permalink.
But again, *because* you will be using posts, you *will* be categorized. The default is “Uncategorized.” if you want a different word to show up, then rename the category. Then just use the %category%/%postname as the custom permalink. (again, adding %year% or %hour% or %postID% would be better in front of that, and it really doesn’t do anything to SEO)
If you add “blog” as the beginning category thing in your settings, then all your posts will show up as “sitename/blog/uncategorized/postname” so to get rid of the “uncategorized” just rename it.