• Resolved okuin

    (@okuin)


    Hello,

    I have just installed wordpress on my website https://www.cestovnepoistenie.eu and everything seemed to be working just fine, but then I realized that I can only access the websites in the browser I installed it with.

    All the other browsers wont access the site giving me 404 Error: Page not found. I asked a couple of friends from various destinations and none of them is able to see the website, all see 404. The only thing that is working is admin panel https://www.cestovnepoistenie.eu/wp-admin

    I have tried to reinstall wordpress, this didnt help. I also contacted my webhosting provider and they claim that it must be a wordpress installation problem, that it has nothing to do with them.

    Any ideas what it is and how to solve it?

    Thank you

    Juraj

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator James Huff

    (@macmanx)

    Is there an index.php file in the same directory as the wp-login.php file?

    Thread Starter okuin

    (@okuin)

    yes, they are both in the wordpress root directory

    Moderator James Huff

    (@macmanx)

    Try adding this to the top of your .htaccess file in that same directory:

    DirectoryIndex index.php index.html index.htm

    Thread Starter okuin

    (@okuin)

    It didnt help, I tried different positions, this is how my .htaccess file looks like now:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    DirectoryIndex index.php index.html index.htm
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Moderator James Huff

    (@macmanx)

    You need to add it to the very top, above the # BEGIN WordPress line.

    Thread Starter okuin

    (@okuin)

    Yes, I tried that first time.. and right now its there as well

    Moderator James Huff

    (@macmanx)

    Actually, your .htaccess code is wrong. Try this instead:

    DirectoryIndex index.php index.html index.htm
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    Thread Starter okuin

    (@okuin)

    I have changed it.. still not working ??

    Moderator James Huff

    (@macmanx)

    Try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter okuin

    (@okuin)

    I have just done that.. still the same, I am desperate.. I installed yesterday another wordpress on different site with no problems at all..

    Thread Starter okuin

    (@okuin)

    I found it. It was because the homepage (static page) was set to “pending review”, thats it ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘404 Error: Page not found after installation’ is closed to new replies.