• Hello everyone,

    I have created a clone of a website locally in my computer(i use wamp server) in order to test some changes. My website has two languages(English and Greek). While I was making the changes I wanted, all the English pages (except the homepage) suddenly stopped displaying in live preview and I got the error: “404. Page not found”. The Greek pages are shown correctly.
    I checked the links in the Edit Page section of the dashboard and they are correct.
    I also tried:
    1)Clearing wordpress cache with plugins
    2)Clearing my localhost cache(although I am not sure if this was done properly)
    3)Updating permalinks from settings
    4)Replacing my .htaccess file with:
    # 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
    5)Checking if rewrite_module was enabled in wamp server(it was)

    None of these worked. Is there anything else I could do?

    PS. This is my first post and I am not sure if this is the correct forum for this topic, if it isn’t would you please be kind enough to redirect me?

    Thank you in advance!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • 1. What are the changes you made/tested?
    2. Which plugin you are using for multilingual site?
    3. Are the links work if you disable permalink?

    Thread Starter anastasiast92

    (@anastasiast92)

    1)I changed the menu form, I wanted to create subitems (dropdown submenus)
    2)I use WPML plugin
    3)By disabling do you mean changing the permalink type? (like postname and numeric)

    By disable permalink, I mean “use the default ugly link”

    https://codex.wordpress.org/Using_Permalinks#Default:_.22Ugly.22

    Thread Starter anastasiast92

    (@anastasiast92)

    No, I still get an 404 error ,but with a different form (it says that “the requested link was not found in the server”, while with post name permalink I can see and navigate my menus, but in the content position it says “404 Apologies, but the page you requested could not be found. Perhaps searching will help.”.

    I don’t know if this is any helpful but, sometimes when I update the page from the dashboard I can see my page when I click View Page, but when I reload it I get the error.

    Thread Starter anastasiast92

    (@anastasiast92)

    Update: When I change the language URL format from “Different languages in directories” to “Language name added as a parameter” all pages are displayed correctly. So I suppose it has something to do with permalinks matching in the English menu. Any ideas for this?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error 404 in existing pages’ is closed to new replies.