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

How Do I Write an SEO Optimised Article with Key Words

SEO optimised content

Writing an SEO-optimized article involves several key steps, including keyword research, content creation, on-page optimization, and the use of SEO tools. Here’s a guide to help you write an SEO-friendly

Meta Tags

Meta description tag

What are meta tags? Google surveys millions of websites every day. Meta tags are a summary of the site in as short a format as possible. The site summary used

SEO Strategy

Advanced SEO techniques   A cost-effective SEO strategy involves an integrated campaign to get you to a high position on Google, using basic and advanced techniques such as competitor analysis – finding out