[resolved] 404's from regular site going to the Blog (2 posts)

  1. scamout
    Posted 7 years ago #

    I installed WP a few weeks ago. I had a few problems but as far as I can tell they were all resolved. The directory structure of the blog is simple -- mysite.org/blog

    This morning I was poking in mysite.org and fat-fingered a URL. Instead of getting my normal 404 page, I got the blog's 404!

    I poked around a bit and found this in mysite.org/.htaccess:

    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]

    I have no idea what that is and I know I didn't put it there, but I suspect it has something to do with the strangeness.

    Can I delete these lines or should I move them to a .htaccess in /blog?

    Thanks in advance.

  2. scamout
    Posted 7 years ago #

    I commented out the lines in mysite.org/.htaccess and created .htaccess in mysite.org/blog with those lines. It seems to have resolved the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic