Support » Fixing WordPress » Error 404 x WordPress x .htaccess x 1&1

  • Resolved diperso


    We are being attacked by a chinese server “” so I decided to create a .htaccess and put it at the root of the website.
    Here is the .htaccess :

    # BEGIN WordPress
    Order Allow,Deny
    Allow from all
    Deny from
    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    The problem is I can’t navigate on the other pages of the website. Only the index/main page. If I try see what happens here
    I looked for answers but nothing worked.

    Many THANKS for helping me.


Viewing 1 replies (of 1 total)
  • Here’s what I added to the .htaccess and now it works !

    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
Viewing 1 replies (of 1 total)
  • The topic ‘Error 404 x WordPress x .htaccess x 1&1’ is closed to new replies.