• Hello guys, I’m asking for your help, I’m short of solutions on my case.

    I’ve moved a few days ago my wordpress into anotehr directory following the steps described there. After a few hours of search, I finally understood I needed to update my permalinks to fix it. It worked fine since.

    Then I tried today to use the WP Super Cache plugin, which required different permalinks than the default one, so I changed them to custom and it broke it all again. :yay:

    I tried reverting the permalinks, I tried the Velvet Blues Update URLs plugin, nothing seems to be enough to solve that crap.
    I suppose my problems are located in .htaccess files but they don’t look really wrong to me, I’m proably not aware of the error…

    They look like this : wp directory

    SetEnv PHP_VER 5
    SetEnv REGISTER_GLOBALS 0
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    
    # END WordPress

    main site directory

    SetEnv PHP_VER 5_3
    SetEnv REGISTER_GLOBALS 0
    
    # 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

    My wordpress directory is /blog
    If you need additionnal info just ask.

    Thanks in advance.

  • The topic ‘404 – "The requested URL /index.php was not found on this server"’ is closed to new replies.