WordPress.org

Ready to get started?Download WordPress

Forums

custom permalinks - blank homepage (2 posts)

  1. bob55
    Member
    Posted 3 years ago #

    Hi, I've just hit a problem with permalinks. I enabled the custom structure and entered /%category%/%postname%/. I created a htaccess file and uploaded it to the root folder:
    # 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

    I am using a static front page which is entitled home and selected under the reading section. I am using a page entitled blog for the posts. I have read numerous posts and can't seem to find why the homepage isn't showing up. Any help much appreciated.

  2. Shane G.
    Member
    Posted 3 years ago #

    Hi,

    Reset your desired permalink from wordpress admin area and add this code in htaccess of your blog/site:

    # 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

    Now, check with blog posts and pages.

    Thanks,

    Shane G.

Topic Closed

This topic has been closed to new replies.

About this Topic