Redirect Specific Mobile Traffic to Mobile Version Using .htaccess
问题 I have a PHP website about books that uses URL Rewriting rules already defined on my .htaccess file on my Apache Server, so due to the following rule I already have URLs like http://www.example.com/book/name-of-book.html RewriteRule ^book/([^/]+)\.html$ book.php?book=$1 [QSA,L] I want to improve my website and make a mobile version of it and I want to use URLs such as http://m.example.com/book/name-of-book.html As I am not completely done with mobile development I want only the book section