My current urls look like this [mysite]index.php/[rest of the slug]. I want to strip index.php from these urls.
[mysite]index.php/[rest of the slug]
index.php
mod_rewrite
try this RewriteEngine On
# Removes index.php from ExpressionEngine URLs RewriteCond $1 !\.(gif|jpe?g|png)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1 [L]