Support » Fixing WordPress » 3.5 upgrade pages != home page give error 403

  • Resolved nubro01


    I upgraded both my test websites to 3.5. Upgrade went fine, besides the problems I had with the temp file, when I tried to upgrade the themes and plugins. After I fixed this by adding define(‘WP_TEMP_DIR’, ‘/tmp’);
    to my wp-config.php, I started the website, by going to the Home page.
    This went fine, but now any page that I select gives me a Error 403.
    I removed all files except my child thme folder and wp_config and copied the 5.3 files again, but the error stil happens, except for the home page.
    Any idea?

    Runinng Server 2008
    PHP 5.4 (see


Viewing 5 replies - 1 through 5 (of 5 total)
  • When I change my permalinks to standard then all works just fine.

    Any other permalink format gives the error 403

    I have a 3rd website, which is not updated yet to WP3.5 and still on 3.4.2. It now also has the same behaviour as those on 3.5, so this has nothing to do with my upgrade to 3.5!
    In the past few days I have been trying to make my first PHP program. In the beginning I was unsuccesfull, because I used the examples I found and these examples all used mssql as driver, while I use the sqlsrv driver from Microsoft. After I switched on display_error within php.ini, I finally saw what was happening. So I adjusted my functions calls and got my first php program to work.
    However I must have changed someting within php.ini that probably is causing this permalink behaviour.

    Anybody who can give me a hint? In the meanwhile I’ll reread everything I can find on how permalinks work.

    I must add that with all my WP sites, I first got the following error
    Fatal error: Call-time pass-by-reference has been removed in D:\inetpub\wwwroot\mywebsite\wp-content\plugins\add-from-server\class.add-from-server.php on line 137

    I resolved this by removing the & and I was able to go to wp-admin
    I’ll reread what I found on this and hopefully find the reason why this suddenly happened and why. Must also be the cause of my permalink problem.

    Found it!

    The above Fatal error showed, after I changed html_errors = Off to On within php.ini.

    After I switched it back to off, all my Permalinks worked again.

    The above is not completely true, it was the solution to the fatal error, but it was not the cause of my Permalinks getting corrupted.
    I also installed the latest Joomla 3.02 a couple of weeks ago and that placed two URL rewrite rules within my IIS 7 setup!
    I had not noticed the permalinks to be broken, because I probably did not restart my IIS7 until a few days ago!
    After I disabled both rules, all was fine. Still wonder why precisely things went wrong and how to fix.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘3.5 upgrade pages != home page give error 403’ is closed to new replies.