Now I’m developing web template system so I want to develop at one folder to ease for maintaining.
I try many rewrite rules but does work, this one should work but failed again
RewriteEngine On RewriteRule ^/~([^/]+)(.*) /template$2?param=$1 [PT,QSA]
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.