I'm trying to get the mod rewrite to work in the .htaccess in phpld 2.2 My hosting is 000webhost.com I know the mod rewrite module is enabled in Apache. I have seem to tried everything to make it work but can't Example of one of my category url is http://directory.com/index?c=8 Any help would be appreciated. Here is my .htaccess in my root directory. ################################################# ## PHP Link Directory - Apache Server Settings ## ################################################# # Protect files <Files ~ "^(.*)\.(inc|inc\.php|tpl|sql)$"> Order deny,allow Deny from all </Files> # Protect directories <Files ~ "^(files|images|include|lang|libs(/.+)?|temp(/.+)?|templates(/.+)?|javascripts(/.+)?)$"> Order deny,allow Deny from all </Files> # Disable directory browsing Options -Indexes # Follow symbolic links in this directory Options +FollowSymLinks # Set the default handler DirectoryIndex index.php # URL rewrite rules <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / ## Category redirect RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)$ index.php [RQSA,L] </IfModule>
version 2.2... i not sure what are you asking... but try go to System >> Edit Setting >> Directory and take a look at Enable URL rewrite put it at YES