WordPress : URL error 404 but the page exists

I moved my wordpress (3.0) blog to my dedicaced server.

Just one thing is broken :

Read More

if i set the url in worpress to be

http://wwww.example.com/page?id=3

The page is correctly shown

If i set the URL to be :

http://wwww.example.com/about/
http://www.example.com/services/

it ends up with a 404 not found page !!

Here’s my virtual host if it helps :

<VirtualHost *:80>
   ServerAdmin webmaster@localhost
   ServerName www.example.fr

    DocumentRoot /var/www/example
    <Directory /var/www/example>
            Options -Indexes FollowSymLinks MultiViews
            AllowOverride None
            Order allow,deny
            allow from all
    </Directory>


    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog /var/log/apache2/access-example.log combined
    ErrorLog /var/log/apache2/error-example.log
    ServerSignature Off
</VirtualHost>

Thanks you

Related posts

Leave a Reply

3 comments

  1. I’ve found that one thing to watch for — quite aside from a correctly configured .htaccess, httpd-vhosts.conf etc — is to check that mod_rewrite is enabled in your server’s http.conf. Just ensure that this line is uncommented:

    LoadModule rewrite_module lib/httpd/modules/mod_rewrite.so