-1
我想从URL中删除“http://”和“https://”。我也想删除“www”。也是它的一部分。全部使用mod重写/ .htaccess。我在这里找到的大多数相关答案都是使用PHP或JavaScript。如何删除“http://”,“https://”和“www。”从一个URL使用国防部重写?
e.g,
"http://www.example.com" should become "example.com"
"https://example.com" should become "example.com"
"www.example.com" should become "example.com"