MakeUseOf Answers

Kenny Goodmans Blog

What going on around the world?

Israeli stocks on Wall St

Friday, December 23, 2011

Using Permalinks « WordPress Codex

Using Permalinks « WordPress Codex: "To click on the lower link, the user would get a 404 Page Not Found Error. If you have a tendency to use very long permalink post titles, take these steps to prevent this problem.

1. Check that you are indeed using Permalinks.

2. Edit your .htaccess file and add the following:

RewriteRule ^post/([0-9]+)?/?([0-9]+)?/?$ /index.php?p=$1&page=$2 [QSA]
3. Test it. Find a post's ID number and type the following (with your information) in your browser and you should be redirected to your post: ID #)

'via Blog this'

No comments:

Post a Comment

Creative Licence