homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / WordPress
Forum Library, Charter, Moderators: lorax & rogerd

WordPress Forum

Wordpress permalink for blog posts

 11:37 am on May 6, 2012 (gmt 0)

Hi Guys,
Need advise.
I have permalink set to post name "%post name%" that is ok for me however  I want all my blog post
should display like this.
Domain name/blog/postname >>> blog post name
What changes I need to make in my word press .. i.e to create a folder [ how to do that] or any other option in Wordpress.
Please assist.



 11:43 am on May 6, 2012 (gmt 0)

do the following

in the WP settings click settings / permalinks - then tick custom ....job done ;o)


 11:57 am on May 6, 2012 (gmt 0)

i have already done this but i want only blog post will show blog + post name in the URL.


 12:09 pm on May 6, 2012 (gmt 0)

Assuming "blog" is a category name than /%category%/%postname%/



 12:14 pm on May 6, 2012 (gmt 0)

thanks but i want only blog category to display in the URL not any other categories.. i have quite few categories but i dont want them to display in URL.


 6:58 pm on May 6, 2012 (gmt 0)

Then you'll need to write you're own custom URL using mod-rewrite and the htaccess file. I'm not sure you can even do it though I suspect it can be done.


 11:42 am on May 8, 2012 (gmt 0)

i want some thing like this.

here is the example.

domainname.com/what-is-noun.html [ at present it looks like this ... Permalink set to post name .. which is good anyway]

but i want this way for some posts only..
domainname.com/blog/what-is-noun.html [ i want this for some posts only which i can put at my blog page.. ]


 3:27 pm on May 9, 2012 (gmt 0)

I don't know why you'd need to do this "for some posts only" - if you have "pages" and "blog pages" and they are both driven by Wordpress, I don't see how it's possible. You can **try** making the permalink on the documents example.com/blog/postname but I don't think W.P. will allow you to.

If the pages are **not** driven by Wordpress, you can move the entire bolg into a /blog directory, but you won't be able to do example.com/postname any more, they will all be example.com/blog/postname.


 5:51 am on May 10, 2012 (gmt 0)

You will probably have to make use of a plugin to do this. Look at some of the permalink plugins available on wordpress.org. You are basically looking for a plugin that allows you to set different permalinks based on category.


 1:27 pm on May 15, 2012 (gmt 0)

The best permalink structure worked for me on most of my sites is:


 11:46 am on Jun 6, 2012 (gmt 0)

Thanks Guys, i am using custom permalink on my wordpress site

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WordPress
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved