• I created a temp wordpress site that I moved to a different server.

    Everything looks fine except I cannot get the pages to show up in the root with WordPress in a subdirectory. Everything show fines if I leave both general reading settings to my site.com/blog/ but anytime I try to have the permalinks viewed outside that directory, i.e. blog: mysite.com/blog site: mysite.com/, I get nothing.

    I’ve never encountered this problem with Verio. The new server is running Redhat. I’ve run thru the codex and followed everything to the letter by copying the index.php file and .htaccess file. On all my other wordpress sites I did the same and it worked. Is this an Apache issue? How can I fix it? I noticed the Linux comment about mkdir, what is that?

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter HotShoeStudios

    (@hotshoestudios)

    Here’s the .htaccess located in the domain’s public_html:

    RewriteEngine On
    RewriteCond %{HTTPS} on
    RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [L]

    Thread Starter HotShoeStudios

    (@hotshoestudios)

    correction.

    The above .htaccess file is what I uploaded to the public_html directory. Ti then get s rewritten somehow.

    The current .htaccess file that is live on the server is:

    # BEGIN WordPress

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

    # END WordPress

    Brandon Kraft

    (@kraftbj)

    Code Wrangler

    The last htaccess is right for WordPress.

    [[edit: disregard the 404 statement.]]

    If you could check out and send over the error logs, we can find out exactly what’s causing the 500 error on your root domain.

    Brandon Kraft

    (@kraftbj)

    Code Wrangler

    It looks the home page is working now! Congrats. What was the issue?

    For the rest of the pages, let’s tackle .htaccess. Flush the rewrite by going to Appearance->Permalinks and saving it (don’t have to change anything).

    Thread Starter HotShoeStudios

    (@hotshoestudios)

    Thank you so much for all your effort Brandon.

    I was shocked to find out that everything was indeed correct and in the proper location. The problem was the owner of index.php was set to root.

    Hard to believe one simple little thing like this could take sooooo much time on my part to solve. I think I’ll stick more towards graphics as the IT part makes me want to shoot myself! 😉

    Thanks again!

    Brandon Kraft

    (@kraftbj)

    Code Wrangler

    Not a problem. I’m more on the techy side, but do most within WordPress after it is up and running. When a new glitch pops up I haven’t experienced/heard of, my curiosity gets the best of me. 🙂

    Also, good call. You were thinking something was up with users from the beginning!

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Static root pages won't work’ is closed to new replies.