I have one url that I cannot get to rewrite
I am trying to rewrite /section45l
to /services/incentives/section45l
using the following rule.
RewriteRule ^section45l$ /services/incentives/section45l
But it's not working.
I have one url that I cannot get to rewrite
I am trying to rewrite /section45l
to /services/incentives/section45l
using the following rule.
RewriteRule ^section45l$ /services/incentives/section45l
But it's not working.
You can use something like the following :
RewriteRule ^section45l/?$ /services/incentives/section45l [L,NC]
Note the ? in pattern ,it makes the preceding char optional ,so the rule would also match /section45l .