In WAMP Click on Apache >> httpd.conf.
Find the line and enable:
LoadModule rewrite_module modules/mod_rewrite.so
This .htaccess file is at root level, and the users files are in the folder called ‘Public’.
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ public/index.php?/$1 [L]
RewriteRule ^(.*)$ public/index.php?/$1 [L]
Lines 4 and 5 allow images to be used












