I have the following regex:
RewriteRule ^blogs/([^/]*)/([^/]*) blogs/index.php?blogger=$1&blog=$2
This works fine for the following cases:
- http://myurl.com/blogs/blog-name/blog-article/
- http://myurl.com/blogs/blog-name/blog-article
- http://myurl.com/blogs/blog-name/
however it does not handle:
How can I make the "/" separator optional in this regex?