• Resolved AliG1000

    (@alig1000)


    I am using WPML. I have a Spanish version of a home page at domain.com/es When I edit the page, I can see that there is content and I can preview it. However, when I try to view it at domain.com/es I get a 404 error.

    The .htaccess appears to be standard and it starts off like this:

    # 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

    It was all working, and now it’s not. I can’t for the life of me work out why.

Viewing 1 replies (of 1 total)
  • Thread Starter AliG1000

    (@alig1000)

    oops. just found the problem.

    To test a mod_rewrite (and to make sure mod_rewrite was working), I created a folder called ‘es’.

    As soon as I deleted this, things are back to normal.

    I feel like a bit of an idiot now 🙂

Viewing 1 replies (of 1 total)

The topic ‘404 error where a page does exist’ is closed to new replies.