Reputation: 1460
What is causing this? I reviewed other examples in the project but this one eludes me.
When I remove the second rule everything works fine. Why is that? What is incorrect about the second rule?
RewriteRule ^.*startAd$ /post-ad-step-1.php
RewriteRule ^.*startAd/(.*) $ /post-ad-step-2.php?adType=$1
Solution remove the white space before the $.
Upvotes: 1
Views: 276
Reputation: 785256
Remove space before $
to make it
RewriteRule ^.*startAd/(.*)$ /post-ad-step-2.php?adType=$1 [L,QSA]
Upvotes: 1