Question: Htaccess File Not Working

Htaccess File Not Working

Hello, I use a subdomain for the application. and its not working https://shop.scubaworld.club/ <IfModule Mod_rewrite.c> RewriteEngine On RewriteBase /shop RewriteCond% {REQUES

SD

Scuba World Divers

Asked
Hello, I use a subdomain for the application. and its not working

https://shop.scubaworld.club/

<IfModule Mod_rewrite.c>
RewriteEngine On
RewriteBase /shop
RewriteCond% {REQUEST_FILENAME}!-f
RewriteCond% {REQUEST_FILENAME}!-d
RewriteRule ^ (. *) $ index.php? / $ 1 [L]
<IfModule>
  • MS

    Mian Saleem

    Answered
    Hello,

    Please check the `.htaccess` file in your download.

    ```
    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>
    ```

    If it is still the same, please explain how it is not working? If you can share screenshots. Do check with your server admin if it's apache server.

    Thank you
  • SD

    Scuba World Divers

    Answered
    can i share my hosting and u can fix it for me
  • Login to Reply