Try something like this

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

this code assumes the site is at the root of the domain

Leave a Reply

Your email address will not be published. Required fields are marked *

Explore More

Image SEO Best Practices

Visual-SEO-Strategies

What is image SEO? Image SEO refers to the practice of optimizing your images for search engines through thoughtful alt text, appropriate captions, good file dimensions, and more. Image SEO

Google Adwords 

Google Adwords      Googles Adword system is a pay-per-click service, and your placed advert will be charged for every time someone finds it and clicks on it. That’s a good idea, since you would assume

Causes of a “403 error” htaccess file

1. Assess the .htaccess File for Signs of Corruption The .htaccess file usually remains inside the site’s document root.. Are you using cPanel or Plesk? First, find the File Manager,