RewriteCond %{HTTP_HOST} !^www.mysite.com$ [NC] RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301] RewriteRule ^([^/\.]+)/([^/\.]+)/?$ index.php?cat=$1&mbi=$2 [L] Something like this. HTH On Thu, Apr 30, 2009 at 9:32 AM, gopi nath <gopivsb@xxxxxxxxxxx> wrote: > > > hi Experts, > > my .htaccess , > > RewriteEngine ON > #Options FollowSymLinks > RewriteOptions Inherit > > RewriteBase / > > RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC] > RewriteRule ^(.*)$ http://www.mysite.com/ [NC,R=301] > RewriteRule ^(.*)$ index.php?cat=$1&mbi=$2 [NC] > > error in my site > i used dynamic Friendly url . so wat can i do? any idea. or suggestion. > i need end of the string not used in / or without / . > > Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! Edition > http://downloads.yahoo.com/in/firefox/?fr=om_email_firefox > > [Non-text portions of this message have been removed] > >