WordPress.org

Ready to get started?Download WordPress

Forums

Permalink Change Problem (8 posts)

  1. zhijunli
    Member
    Posted 8 years ago #

    Hi All. I've set up wordpress on my own server. Everything looks okey except one problem with Permalink.

    I want to change the Permalink structure to "Date and name based", the pretty one. Everytime I choose that option, it shows "Permalink structure updated". I guess this means I have no problem with writing permission to .htaccess file. Also, I've enabled AllowOverride in httpd.config and restart Apache.

    I've been following the link http://codex.wordpress.org/Using_Permalinks but still can't figure out the problem. Anyone could help me out?

  2. Chris_K
    Member
    Posted 8 years ago #

    You haven't described the problem yet.

  3. zhijunli
    Member
    Posted 8 years ago #

    Sorry, my bad. I mean, with all these efforts, it still shows the error info:

    Not Found
    The requested URL wordpress/2006/06/14/wordpress-plugins/ was not found on this server.

  4. Cypher
    Member
    Posted 8 years ago #

    Have you confirmed that the .htaccess file was indeed created and looks OK?

    Regards

  5. zhijunli
    Member
    Posted 8 years ago #

    Cypher, thanks! This is something I didn't think about. What does a right .htacess file look like? I just did some search but didn't find a file to compare.

    Friends, can you provide a copy of yours?

  6. Cypher
    Member
    Posted 8 years ago #

    Sure thing..my working site has this in .htaccess for the default permalink structure..


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

    # END WordPress

    Regards

  7. zhijunli
    Member
    Posted 8 years ago #

    Sigh... it's almost the same. Mine is

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

    # END WordPress

    I put wordpress folder under my webroot.
    /webroot/worpress. I think that might mean it's not the .htaccess problem...

    Any other thoughts?

  8. zhijunli
    Member
    Posted 8 years ago #

    Nobody has this problem before?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags