WordPress.org

Forums

Update Permalinks don't function properly (3 posts)

  1. gcs584
    Member
    Posted 8 years ago #

    Hi,

    I've tried to update my permalink structure from the default to a custom structure as follows:

    /%post_id%/%category%/%postname%.html

    When I update the structure through Options->Permalinks, WordPress indicates Permalink structure updated, but there is a problem. When I click on a post in the blog, the blog merely presents the index.php page. Through my own intellectual knowledge and reading through other posts, I believe there maybe a problem with the .htaccess file.

    Should the .htaccess file change when I update my permalinks? Currently, the .htaccess file appears as follows:

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

    # END WordPress'

    I have updated the permalinks on the site (playerbites DOT com) to demonstrate the problem I am having. If anybody could provide some tips/assistance, it would be much appreciated.

    Regards,

    GCS584

  2. kristarella
    Member
    Posted 8 years ago #

    I just did this recently and ran into a snag.
    I recommend that you go back and change them back to default (it doesn't need any .htaccess commands).
    Check this out http://codex.wordpress.org/Using_Permalinks#Fixing_Permalink_Problems especially the parts about var.php which you might need to change, make sure your .htaccess is writable and then after that go back and change the permalink structure. WordPress should be able to change .htaccess to the right thing.

  3. gcs584
    Member
    Posted 8 years ago #

    Well, I can change the

    $is_apache

    variable inside the vars.php file to

    $is_apache = 1;

    .

    I cannot however chmod the .htaccess file to 666. It seems that it is restricted by my webhost. If I delete it though and update the permalinks, a new one is created. It seems like I might have found the problem?? I'm surprised that new one is being created though! I'll probably have to get on top of the hosting company.

Topic Closed

This topic has been closed to new replies.

About this Topic