Search code examples
wordpress.htaccesspermalinks

Wordpress permalinks problem


I changed my wordpress permalinks to %pagname%. Prior to doing this i posted two blog entries (the site is brand new). My static pages navigate fine after the changes but when you click on my posts you get 404'd. Has anyone else had this problem? Thanks.


Solution

  • isn't the permalink structure supposed to be

    /%postname%/
    

    with that the posts will have a nice url, and not using pagename, or pagname as you have it? Open your .htaccess file and check if anything is written, if so highlight it all and delete it, wordpress will fall back to the original default state,

    then within the admin->settings->permalink section select custom and paste in that, and click save, if wordpress reloads the page and the htaccess info is pinned to the bottom of the page then copy and paste that to your .htaccess file, if its not then its been written to your file already...