I have a url that goes as following.
- Code: Select all
/video/viewchannel-testing.php?curlname=videoone&pagenumber=2
I'm using the following rule to accomplish this:
- Code: Select all
RewriteRule ^testchannel/([^/\.]*)/([^/\.]*)/?$ /video/viewchannel-testing.php?curlname=$1&pagenumber=$2 [L]
This almost works.
I have one problem:
/videochannel/videochannelnamehere/
works, as well as
videochannel/videochannelnamehere/2
and
videochannel/videochannelnamehere/2/
works, however
/videochannel/videochannelnamehere
without the "/" at the end does not work, it 404's.
What do I need to change in the rule to make it work?