Rule Not Working
2 posts
• Page 1 of 1
Rule Not Working
I have a rule that works perfectly in the RegexTest but does not work when applied to the website.
Rule:
RewriteRule ^.*_pv-(\d*) /$1/ [NC]
Test String:
http://www.site.com/journals+organizers ... 895-0.html
Expected Result (Not Working):
http://www.site.com/19895/
This test string works however:
eco-spiral-notebook_pv-19895-0.html
Any idea what I'm doing wrong?
Rule:
RewriteRule ^.*_pv-(\d*) /$1/ [NC]
Test String:
http://www.site.com/journals+organizers ... 895-0.html
Expected Result (Not Working):
http://www.site.com/19895/
This test string works however:
eco-spiral-notebook_pv-19895-0.html
Any idea what I'm doing wrong?
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 21 guests