Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

In Settings-->Permalinks is there any difference between:

checking Custom Structure and using:

/%post_name%/

or

/%postname%/

Are they both correct? Will they both work?

Thank you.

-Laxmidi

share|improve this question
    
have you read: codex.wordpress.org/Using_Permalinks ? –  Michael Jul 22 '11 at 22:07
    
Hi Michael, Thank you for the link. –  Laxmidi Jul 22 '11 at 23:01
add comment

2 Answers

up vote 1 down vote accepted

/%postname%/ is the correct one and if you are asking be cause it says post_name in the codex then its just to show that you will get the actual post name.

share|improve this answer
    
Hi Bainternet, Thank you for for your help. I appreciate the clarification. All the best. –  Laxmidi Jul 22 '11 at 23:01
add comment

I just read a really good and informative article suggesting you should never use /%postname%/ I've used that since the beginning for SEO reasons. I've heard arguments throughout the years suggesting this was a bad idea. After reading the article I'm linking to I immediately switched all sites I'm associated with to /%post_id%/%postname%/ The article suggests that using the old way can cause a large increase DB queries.

There are some pretty respected names in this discussion, all are in agreement. It sounds like it might be resolved with V 3.3, but I've decided not to take a chance. Here is the link: Digging Into WordPress Article

share|improve this answer
    
This will definitely be different in 3.3. It's a blessed task. See core.trac.wordpress.org/ticket/16687 –  Otto Jul 23 '11 at 16:23
    
@OTTO: Thanks for confirming that there will be a change in the next official release. Maybe switching "immediately" was a knee jerk reaction. I was trying to be pro-active, but may have been "reactive". Either way it will be good to have more options. It's nice to see WordPress grow and the great community that follows. –  Jeremy Jared Jul 24 '11 at 4:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.