Solved

wordpress permalink problem

Posted on 2011-09-15
5
452 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36547134
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
ID: 36547142
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
ID: 36547272
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
ID: 36547294
>> 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
ID: 36551256
Thank you
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
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)

756 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