Question: 404 Error Page Not Found

404 Error Page Not Found

Hi I have installed the software. All the steps goes well. I remove the install folder as well created the .htaccess file as well. but in the last step when it redirect me to the login pag

WM

Waqar Sabir Mughal

Asked
Hi I have installed the software.
All the steps goes well.
I remove the install folder as well created the .htaccess file as well. but in the last step when it redirect me to the login page i can see this error.

Sorry, this page doesn't exist.
Please check the URL or go back a page.
404 Error. Page Not Found.
  • MS

    Mian Saleem

    Answered
    Hello,

    Please check your download and upload the `.htaccess` file to server. Most 404 not found errors are cause due to missing or empty `.htaccess` file.

    The default `.htaccess` files contents are as following (I am adding the FAQ with other checklist suggestions too)

    ```
    DirectoryIndex index.php index.html default.html
    <IfModule mod_rewrite.c>

    RewriteEngine On
    # RewriteBase /spos/
    RewriteCond $1 !^(index\.php|assets|install|update)
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    # For godady Shared Hosting Server uncomment the line below
    # RewriteRule ^(.*)$ index.php?/$1 [L]

    # Please comment this if you have uncommented the above
    RewriteRule ^(.*)$ index.php/$1 [NC,L,QSA]

    </IfModule>
    ```

    ---
    **Why am I getting 404 Not Found error after installation?**

    Please

    1. make sure that your apache `mod_rewite` is enabled
    2. check that `.htaccess` file is successfully uploaded and exists in the main directory of SMA
    3. `base_url` in app/config/config.php

    If you are using godaddy, please visit the codeigniter official guide here. You might need to check and modify you `.htaccess` files too.
  • KR

    K RT

    Answered
    hello sir, same situation i we instal our server see link cannot conenct error 404
    system needed support for the setup.
    https://imgur.com/undefined

    here my email: [email protected]

    Thank you
    Kim
  • KR

    K RT

    Answered
    bro im using my own service web hosting, how can i set up for this?. waisting my fee if there is no support for this
  • MS

    Mian Saleem

    Answered
    **[K RT](/u/kimreytingson)** I am not sure what are you trying to say. If you need help, please ask new question. Thank you
  • Login to Reply