Question: Sorry But The Page You Are Looking For Might Have

Sorry But The Page You Are Looking For Might Have

Hi I'm trying to install the simple pos, but in the end where the login screen is supposed to appear, it generates the following error: "404 Requested page has not been found! Sorry, but the

MS

Matheus Santana

Asked
Hi
I'm trying to install the simple pos, but in the end where the login screen is supposed to appear, it generates the following error:
"404
Requested page has not been found!
Sorry, but the page you are looking for might have been removed, or unavailable."
  • MS

    Mian Saleem

    Answered
    Hello,

    Please check your download and upload the `.htaccess` file to server. Mostly 404 not found errors are caused 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 is correct and have no spaces

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