skip to Main Content

redirect url exact match with htaccess like case sensitive – Apache

redirect url exact match with htaccess not redirect if query string or anything after index.php Redirect This Page: https://example.com/demo/index.php To Page: https://example.com/ (home page) But Do Not redirect: https://example.com/demo/index.php/* Do NOT redirect: https://example.com/demo/index.php/password Do NOT redirect https://example.com/demo/index.php?m=page not redirect if…

VIEW QUESTION

What regex could match this pattern? – CentOS

The output I have is the following: T 2020/03/05 16:06:41.565817 193.126.13.199:80 -> 10.8.0.4:55639 [AP] HTTP/1.1 200 OK..Date: Thu, 05 Mar 2020 16:06:41 GMT..Server: Apache/2.2.3 (CentOS)..Expires: Thu, 19 Nov 1981 08:52:00 GMT..Cache-Control: no-store, no-cache, T 2020/03/05 16:06:46.727199 10.8.0.4:55642 -> 193.126.13.199:80 [AP]…

VIEW QUESTION

RegEx: Getting Shopify handle from URL

https://store.myshopify.com/products/burton-custom-freestyle-151 https://store.myshopify.com/products/burton-custom-freestyle-151?variant=31722273144379 From the above: I would like to output: burton-custom-freestyle-151 I got the following regex: [^/]*(?=?) but only work for the 2nd link.

VIEW QUESTION
Back To Top
Search