WordPress.org

Ready to get started?Download WordPress

Forums

Permalink problem (4 posts)

  1. yodibashi
    Member
    Posted 5 years ago #

    Hello,

    Why do I get a

    When I change my permalink settings to:

    /%postname%/ through custom structure

    This should work normally spoken right?

    or has this to do something with a .htaccess file which is not writable?

  2. equaldesign
    Member
    Posted 5 years ago #

    Why do you get a ........ what?

    If changes you have made to the permalink structure in the WordPress dashboard have not worked it is usually because you have no .htaccess file, your using a Windows server or the .htaccess file is not writable.

  3. Shane G
    Member
    Posted 5 years ago #

    Hi,

    On which platform your blog is hosted...windows or Linux?

    If Linux then add this 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

    If there no htaccess file then you can create it inside root folder of your domain..

    If your domain is hosted on Windows then do this:

    1. Create the file wp-404-handler.php in your base WordPress folder. (you can also download it here).
    2. Set your sites 404 page to point to the wp-404-handler.php url. Most control panels at web hosts allow you to do this. If you’ve got the option to select between FILE and URL then choose URL.
    3. Go to Options -> Permalinks in your WordPress admin page, and choose an appropriate structure for your links. Choose Custom with this pattern:

    /%year%/%monthnum%/%day%/%postname%/

    That's it!

    Thanks,

    Shane G.

  4. muymalestado
    Member
    Posted 5 years ago #

    Thanks Shane. I wish that was it!

    What permissions on .htaccess should be used? I am at 766 and have permalinks as in your point 3. and no joy.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags