I just moved the Wordpress site to a new host. But when I go to any page except the HOME page, I got this error:
Not Found
The requested URL /about was not found on this server.
Apache/2.2.16 (Debian) Server at 176.xx.yy.zz Port 80
I changed the Permalink parameter to Default, which makes the URL look like mysite.com/?page_id=5, and the page displays in order. Therefore, the problem is not in my code.
My first guess is mod_rewritenot included. But phpinfo()tells me that it mod_rewriteloads correctly.
My .htaccess is created automatically and looks like this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /beta-test/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /beta-test/index.php [L]
</IfModule>
Any solution?
thanks
source
share