Solved

wordpress permalink problem

Posted on 2011-09-15
5
446 Views
Last Modified: 2012-08-14
I just changed my permalink in my wordpress blog to be %postname%.
I noticed that when I make a post, it saves the postlink to be the name of the post title.
If I go back and change my title, it doesn't change the link properly and I end up with 404 missing links.
What can I do to avoid these problems?
0
Comment
Question by:rivkamak
5 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
When you first set the title of the post, the permalink is created.  Editing the title does not automatically change the permalink...you would have to do that manually by clicking the Edit button below the title box on the post editing page.

You shouldn't be getting 404s though.  The permalink is still the permalink even if you edit the title.
0
 
LVL 17

Accepted Solution

by:
OmniUnlimited earned 250 total points
Comment Utility
To quote from http://codex.wordpress.org/Using_Permalinks:

¦For performance reasons, it is not a good idea to start your permalink structure with the category, tag, author, or postname fields. The reason is that these are text fields, and using them at the beginning of your permalink structure it takes more time for WordPress to distinguish your Post URLs from Page URLs (which always use the text "page slug" as the URL), and to compensate, WordPress stores a lot of extra information in its database (so much that sites with lots of Pages have experienced difficulties). So, it is best for the first structure tag to be a numeric one, such as /%year%/%postname%/. (Some people recommend /%post_id%/%postname%/ which works for performance reasons but others recommend against it because it is unfriendly to users in the many contexts in which users interact with URLs.) See Otto's technical writeup on the topic as well as this wp-testers discussion.

I would also add to that that you could also have problems when you rename your pages.

My suggestion is that you read the codex and set up a more appropriate permalink structure, like /%year%/%monthnum%/%day%/%category%/%postname%/.

Next, I would ensure that you have the latest version of WordPress installed, and make use of the permalink editor found on your page and post editor pages in the WP-Admin.
0
 
LVL 23

Assisted Solution

by:jeremyjared74
jeremyjared74 earned 250 total points
Comment Utility
This isn't an answer, more for information purposes. I've been following the WordPress Trac about the %postname% permalink structure. I prefer this method as it produces the most natural output for a Commercial Website. It's that reason that has encouraged WordPress Core Developers to fix this issue. It's been moved from critical to "commit" meaning it will be part of the next release (3.3). If you you prefer this permalink structure I believe you have no reason to not use it.

Regards,
jeremyjared74
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
>> It's been moved from critical to "commit" meaning it will be part of the next release (3.3).

happy-dance.jpg

Finally.
0
 

Author Closing Comment

by:rivkamak
Comment Utility
Thank you
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now