Posted below is my entire .htaccess file for my site. The problem is if you goto http://www.domain.com/addlisting/ it works fine but if you goto http://www.domain.com/addlisting (without the trailing /) you then get a 404 error page. We all know if someone tells someone to goto a directory on a domain they never end it in a / which is where this problem comes in. What am I missing from my htaccess file that would cause this to happen?
FYI - This happens in all rules set, but I just used the addlisting as its the top rewrite rule.
<Limit GET POST>
Order allow,deny
Allow from all
</Limit>
ErrorDocument 404 /errors/404.php
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
# the most specific ones goes first!
RewriteRule ^addlisting/(.+)$ add-listing.php?type=$1 [L,NC]
RewriteRule ^addlisting/$ add-listing.php [L,NC]
RewriteRule ^advertising/$ advertise.php [L,NC]
RewriteRule ^contactus/$ contact-us.php [L,NC]
RewriteRule ^linktous/$ link-to-us.php [L,NC]
RewriteRule ^(.+)/menu/$ listing-menu.php?listing=$1 [L,NC]
RewriteRule ^(.+)/reporterror/$ report-error-listing.php?listing=$1 [L,NC]
RewriteRule ^(.+)/emailthis/$ email-listing.php?listing=$1 [L,NC]
RewriteRule ^(.+)/print/$ listing.php?listing=$1&print=1&force_print=1 [L,NC]
RewriteRule ^(.+)/tickets/(.+)$ order-tickets.php?listing=$1&ticket=$2 [L,NC]
RewriteRule ^(.+)/reviews/write/$ reviews-write.php?listing=$1 [L,NC]
RewriteRule ^(.+)/reviews/$ reviews.php?listing=$1 [L,NC]
RewriteRule ^(.+)/pictures/$ listing-pictures.php?listing=$1 [L,NC]
RewriteRule ^(.+)/$ listing.php?listing=$1 [L,NC]