• Hi All,

    I want to change the URL’s from the default to pretty permalinks. My custom structure in General->Settings->Permalinks is /%postname%/.

    The default “ugly” url’s work but when I change it to custom structure, I get the 404. This is the exact error message –
    ———-
    Not Found

    The requested URL /wordpress/about/ was not found on this server.
    Apache/2.0.58 (Win32) PHP/5.2.9-1 Server at localhost Port 80
    ———

    Please let me know if you had this issue and have resolved it.

    Thank you!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • I suspect that your .htaccess file in the root of your wordpress install is not writeable. Change the permissions and then see if it works.

    Thread Starter stmathew

    (@stmathew)

    Just checked the .htaccess file on wordpress root . It is writeable and the contents are –
    =========

    # 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
    ===========

    Have you a link to your site that i could take a look at with the error?

    Is mod_rewrite enabled in the LoadModule directives (un-commented) in httpd.conf (you mentioned Apache2 on win32)?

    Here are some other considerations for proper operation of mod_rewrite.
    http://codex.ww.wp.xz.cn/Using_Permalinks#Using_.22Pretty.22_permalinks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Permalink structure change gives 404 error’ is closed to new replies.