• Resolved billdennis4

    (@billdennis4)


    I’m trying to switch permalink structures and I keep getting 404 Not Found error messages. I suspect it’s a problem wih .htaccess.

    I have the file set at CMOD 666. But, the WP permalink page keeps telling me the page is not writable.

    I’ve tried to add the changes manually, but the problem persists.

    my .htaccess page is located in directly in my sites main directory, while my WP installation is in the /blogpeoria subdirectory.

    Any ideas on how to fix this problem?

    ANd yes, I tried to search for earlier posts, but I can’t seen to find any articles on it.

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Since WP doesn’t seem able to write to the file, try entering the text it suggests directly into the .htaccess file. It should look something like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php
    </IfModule>

    # END WordPress

    Thread Starter billdennis4

    (@billdennis4)

    Some proggress! Now I’m getting the following error messages:

    Warning: main(wp-blog-header.php): failed to open stream: No such file or directory in /home/peoriap/public_html/index.php on line 6

    Warning: main(wp-blog-header.php): failed to open stream: No such file or directory in /home/peoriap/public_html/index.php on line 6

    Fatal error: main(): Failed opening required ‘wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/peoriap/public_html/index.php on line 6

    Thread Starter billdennis4

    (@billdennis4)

    It turned out that I didn’t have an .htaccess file in my root WP directory. I copied to the correct file and the problem fixed itself.

    Thanks for all your help.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘htaccess problems can’t change permalinks’ is closed to new replies.