Hi ,
Thank you for your reply and I was trying to implement on my site but getting 404 error when I am trying to access site.
here is my file :
AuthUserFile /usr/local/www/virtual/www.MYSITE.COM/.htpasswd
AuthType Basic
AuthName "Protected Area"
Require valid-user
<IfModule mod_rewrite.c>
RewriteEngine on
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule (.*)$ index.php?q=$1 [L,QSA]
RewriteRule ([.]+)/?$ $1.php?%{QUERY_STRING} [L]
#RewriteRule content/feed/feed_name/(\d+)$ content/feed?feed_name=$1 [L]
#RewriteRule content/content/cat/(\d+)$ content/content?cat=$1 [L]
#RewriteRule content/list/page/(\d+)$ content/list?page=$1 [L]
</IfModule>
basically I have following urls
http://www.mysite.com/content/content?cat=Asia
http://www.mysite.com/content/feed?feed_name=All%20Interracial
http://www.mysite.com/content/list?page=studio
I want to convert them to
http://www.mysite.com/content/content/cat/Asia
http://www.mysite.com/content/feed/feed_name/All%20Interracial
http://www.mysite.com/content/list/page/studio
I am new to this and it looks like I messed up my .htaccess file and I kept it under root directory ( same level at public_html) folder
I have my content folder under public_html
/usr/local/www/virtual/www.mysite.com/public_html/.htaccess
All php files are at
/usr/local/www/virtual/www.mysite.com/public_html/content/
Thanks again for your reply
Raj