WordPress.org

Ready to get started?Download WordPress

Forums

Pretty Permalinks and Mod rewrite issues! (2 posts)

  1. fordlad
    Member
    Posted 3 years ago #

    I'm having issues when attempting to re-structure the permalinks on my website.

    On my site I feed my blog posts through to the home page of the site. I then hold all my wordpress elements within the 'blog' directory.

    When I set up the permalinks and modify the .htaccess file (in the blog directory), the permalinks work a treat in the blog directory, but the feed on the home page returns:

    <strong>Not Found</strong>
    Sorry, but you are looking for something that isn't here.

    .htaccess file consists of:

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

    What am I doing wrong?!

    Site address:
    http://www.naranjamedia.co.uk/home.php

    Blog address:
    http://www.naranjamedia.co.uk/blog/

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Check with your hosts that mod_rewrite is running on your server.

Topic Closed

This topic has been closed to new replies.

About this Topic