• jarvo1980

    (@jarvo1980)


    Hi All,

    I hope someone can help. I’m having trouble getting my pretty links to work in wp.

    I’m running apache (2.0.63) & php (5.2.13) on a windows XP pro PC at the mo whilst I develop the site.

    All my posts are within:
    category/category/post

    for example:
    section/sub section/post name

    So I’ve set my custom structure as:
    /%category%/%postname%/

    Mod rewrite is enabled. Within localhost, I’m running my install within the wordpress dir:
    http://localhost/wordpress/

    My .htaccess file is as follows;

    # 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 can see the links have changed, however, when I click the link I get a HTTP 404 Not Found page.

    Where the heck am I going wrong?

    Many thanks in advanced

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jarvo1980

    (@jarvo1980)

    Sorted, Thanks to this post:

    http://wordpress.org/support/topic/286833?replies=31

    Reply by:
    levani01

    Which said:

    I found a solution to this problem. mod_rewrite should be enabled in apache configuration but that isn’t enough if php and apache are install separately

    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be “All”, “None”, or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #
    AllowOverride None

    should be changed with:

    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be “All”, “None”, or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #
    AllowOverride All

    and don’t forget to restart apache!

    Thread Starter jarvo1980

    (@jarvo1980)

    Spoke too soon. Having fixed the post links, the pages now won’t work as it’s looking for the cat/sub cat/ page id

    Is this a tweak to the .htaccess file?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘pretty permalink issue’ is closed to new replies.