Forum Moderators: phranque
I have this in my .htaccess
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/community/viewthread/([0-9]+)/([A-Za-z0-9]*)/(.*)$ index.php/community/viewthread/$1 [L]
basically it's expression engine and the above is just removing the index.php from the url.
Just need to know if the above rule and the URL I am calling should work?
http://www.example.com/community/viewthread/84/BIG-NEWS-STORY/
> basically it's expression engine and the above is just removing the index.php from the url.
No, what this code does is *add* index.php to the URL-path requested by the client (which does not have index.php in it) and use the result to generate the filepath to be used to serve the requested content.
Jim