Welcome to WebmasterWorld Guest from 50.16.68.229

Forum Moderators: lorax & rogerd

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.
 
Thanks
NJ
11:43 am on May 6, 2012 (gmt 0)

WebmasterWorld Senior Member tigger is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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)

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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

[codex.wordpress.org...]
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)

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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)

5+ Year Member



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:
domain.com/postname/postid
11:46 am on Jun 6, 2012 (gmt 0)



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

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month