Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter benoitbis

    (@benoitbis)

    OK. Self-answer here: As the error message appeared in the top section of the admin panel, where the results of the PJW WordPress Version Check plugin normally appeared, I had the idea to disable that plugin to see if it was the cause of the problem. Bingo. It was.

    Thread Starter benoitbis

    (@benoitbis)

    OK Samboll, you put your finger right on the problem and my screw up. ??

    Here’s what was there, just so others who may make the same mistake as I did may know what the issue is.

    IF you already have an .htaccess in the root and you install WP in a subdirectory (in my case, it is under /blog), then you proceed to indicate that URL as the place where WP is, and the root as the URI you want shown, without moving any file, it will work fine with the default link settings.

    HOWEVER, that will prevent changes to the permalink structure to work and it will prevent WP from generating the correct .htaccess file required for the permalinks to work.

    So, don’t do as I did: rtfm. It will save you a lot of hassles. Moving and editing index.php, editing it with the proper path, and leaving my original .htaccess in the root, I then changed the permalinks in the admin panel. WP didn’t touch my .htaccess in the root, BUT created a new .htaccess in the /blog directory, which enabled the permalinks to work properly.

    Thanks for the help Samboll!

    Thread Starter benoitbis

    (@benoitbis)

    Samboll, I have read the Using Permalinks topic prior to posting my questions.

    1. In the Using Permalinks topic, it says:

    When you create a permalink structure, WordPress will generate rewrite rules and attempt to insert them into the proper .htaccess file. If it can’t, it will print the rules out for you to copy and paste into your .htaccess file.

    In the Admin panel options, I have defined the directory where WP resides, as well as the URI I want shown. WP is in a /blog subdirectory, while the URI is set to show at the root level.

    My existing .htaccess is at root level. I have changed it to 666 in order for WordPress to modify it when selecting the numerical permalink setting. WordPress does not change the .htaccess (even though from what I read in the codex, it should) and does not print out rules for me to copy. All it does is tell me I should now modify my .htaccess file.

    2. When I try to use the .htaccess stated in my initial post, it generates a 403 error and a 500 error when that htaccess file is placed at the root. When I try putting it in the WP directory, I get a 403 error and a 404.

    Which brings me back to the question in my initial post.

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