WordPress.org

Ready to get started?Download WordPress

Forums

WP 2.9.1 Permalink problem - help (7 posts)

  1. itpie
    Member
    Posted 4 years ago #

    Hi,

    I just installed a WP blog (www.lauford.co.uk) and it works fine but when I change the Permalink Settings to Day and Name none of the links work. When ever a link is followed I get The Page Cannot be Found - any ideas whats going on.

    My site is in the root directory and the Permalink code generated by WP is: /index.php/%year%/%monthnum%/%day%/%postname%/

    Any help appreciated

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Did you get any message about updating your .htaccess file when you updated the permalink structure.

    /index.php/%year%/%monthnum%/%day%/%postname%/ is unusual. Try just /%year%/%monthnum%/%day%/%postname%/.

  3. itpie
    Member
    Posted 4 years ago #

    Hi esmi,

    Tried adding your suggestion and it didn't work sadly.

    Haven't received a message about .htaccess file

    Its strange as I have another blog and the changed permalink works in that one, thats partly why I wondered if it was a 2.9.1 bug as haven't upgraded it yet.

    Thanks for the reply

  4. Shane G.
    Member
    Posted 4 years ago #

    Hi,

    Set your desired permalink from wordpress admin area and add this code in htaccess:

    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Thanks,

    Shane G.

  5. Oscar Gonzalez
    Member
    Posted 4 years ago #

    Can you share your URL as well? if the permalink suggestion by Shane doesn't do the trick that is.

  6. grnidone
    Member
    Posted 4 years ago #

    I'm having the same issue with this. I just updated a blog to 2.9.1 and the permalink structure died. I deleted the .htaccess and changed the permalink structure to something else just to get it to make a new one, but the new one didn't work either.

    And, it doesn't spit out the .htaccess code like it used to so you could edit your own .htaccess file.

    I'm ripping my hair out over this!

  7. esmi
    Forum Moderator
    Posted 4 years ago #

    @grnidone: Please post a new topic.

Topic Closed

This topic has been closed to new replies.

About this Topic