skip to Main Content

Unable to set appropriate rewrite? – Apache

I want to block access via rewrite to IBM WebSphere WCM: /wps/wcm/webinterface/login/login.jsp And allow access to everything else under /wps/* Any ideas? I tried: RewriteCond %{REQUEST_URI} ^/wps/wcm/webinterface/login/login.jsp [OR,NC] RewriteCond %{REQUEST_URI} !^/wps.* RewriteRule ^/.* https://myhost.com/wps/portal [L,R=permanent]

VIEW QUESTION

.htaccess PHP Parameter Friendly URL

I would like to make the URLs of my Store URL-friendly. Current URL Structure https://my-domain.com/store/store.php?page=packages&id=1 Desired URL Structure https://my-domain.com/store/packages/1 And also for direct access to the PHP files such as: https://my-domain.com/store/profile.php to https://my-domain.com/store/profile How would I need to go after…

VIEW QUESTION

RewriteRule passing url parts through as arguments not coming through to php script – Apache

I have a URL http://localhost/xxxx/cat/History?randomArg=2 that I want to run http://localhost/xxxx/cat/edit.php?name=History&randomArg=2 http://localhost/xxxx/cat.php?name=History&randomArg=2 (POST EDIT#2 Correction I did originally ask for edit.php but I meant cat.php) and I have a RewriteRule that works on my live server RewriteRule "^(.*)xxxx.*/cat/(.*)?(.*)$" $1/xxxx/cat.php?name=$2&t=123$3[QSA] and…

VIEW QUESTION

Remove string from URL when site is loading – Jquery

I want to remove specific or full parameters from the URL of the website when it is actively loading in the browser. I want to do this because some website including additional strings. https://www.example.com/?gclid=anything https://www.example.com/?fbclid=anything https://www.example.com/?msclid=anything These are the tokens…

VIEW QUESTION
Back To Top
Search