Hi Guys,
Just trying to remove index.php from the sites URLs but running into issues. Haven’t work with .htaccess files before so a little unsure.
Have created the following .htaccess file and placed it in the root
RewriteEngine On
RewriteCond $1 ^(group-name|P[0-9]{2,8}) [NC]
RewriteRule ^(.*)$ /index.php/$1 [L]I changed General config > Perferences > Name of your site’s index page to blank.
When I try to access http://www.nameofsite/group-name/, I get a 404 error. When I try http://www.nameofsite/index.php/group-name/, it works fine.
I also tried
RewriteRule ^(.*)$ /index.php?/$1 [L]but no luck either.
Any help really appreciated, assume I am missing something simple here.
Tks
[Mod Edit: Moved to the Community Help forum]