Changes to the permalink structure

In the Options section of the Dashboard change the permalink from default (which creates urls with post numbers) to ‘Date and name based’.

Copy the .htaccess code generated by this choice when the ‘Update permalink structure’ button is clicked directly into an open Notepad++ window and save file as .htaccess. (Notepad++ must be used rather than Notepad or a normal text editor as the file must be saved without an End of File (EOF) code).

ftp in binary transfer mode the .htaccess file to the root of the WP folders on the server.

The reason for this palaver is that the urls of posts and pages refer to the post or page numbers in the database by default, The permalink structure can be changed in options so the urls will have the post and page titles but for some reason an .htaccess file is needed with appropriate code in it for browsers to understand these links and find and display the pages. On installing a WP theme there is not usually a .htaccess file so this has to be created and made writable.

Leave a comment

You must be logged in to post a comment.