Hello all,

I am trying to setup url masking in the .htaccess file.

My one command works but when I go to the page with the url mask none of my css or images load.

My ReWriteRule

RewriteRule real-estate/([.]+).htm$ listing.php?id=$1%{QUERY_STRING}

I have tried adding RewriteRule images/(.*)$ - [L] with no luck.

Do I have to put the full path of the css and images?

Thanks

DP

    here is my .htaccess file

    Options FollowSymLinks Includes ExecCGI
    RewriteEngine On
    RewriteBase /
    DirectoryIndex index.php index.html

    RewriteCond %{HTTP_HOST} mydomain.com$ [OR]
    RewriteCond %{HTTP_HOST} www.mydomain.com$
    RewriteRule (.*)$ http://www.mydomain.com/$1 [R=301,L]

    RewriteRule images/(.*)$ - [L]
    Options +FollowSymlinks
    RewriteRule real-estate/([.]+).htm$ listing.php?id=$1%{QUERY_STRING}

      Write a Reply...