WordPress.org

Ready to get started?Download WordPress

Forums

Using SubDirectory Install, Blog Not Showing Posts (5 posts)

  1. skylineprints
    Member
    Posted 1 year ago #

    Greetings,

    I have installed WordPress in a subdirectory on my server. Everything seems to be working except pages and posts do not come up if you click on the link from the main page. This is the first time using a subdirectory for install. All my other installs are on the root directory and work fine. this subdirectory is driving me crazy.

    I can write a post, it shows on the main page, then when i click the permalink to go to the full post, it gives back a 404

    http://skylineprints.com/blog/

    I only have one post at this point while I try to figure this out. I've searched and searched the forums and google, but to no avail.

    In case it's important,here's is the hta file

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

    Does anyone have any idea on how to fix this?

  2. Tara
    Member
    Posted 1 year ago #

    Try this:

    # 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
  3. skylineprints
    Member
    Posted 1 year ago #

    thanks!

    i updated teh hta file and uploaded. the server then through a 500 error. :(

    any thoughts on why?

    have a great day!

  4. skylineprints
    Member
    Posted 1 year ago #

    ok, i dont understand why but its not working with the hta info you posted. Thanks Tara.

    signed,

    so confused. :)

  5. Tara
    Member
    Posted 1 year ago #

    Try resetting your custom permalinks back to the default setting and renaming your WordPress .htaccess file. If that works, then try reading Using_Permalinks before setting a custom permalink structure again.
    If clearing your Permalinks does not alleviate the issue, this could be attributed to anything from a web server configuration to a bad WordPress install.

Topic Closed

This topic has been closed to new replies.

About this Topic