skip to Main Content

HTACCESS : Redirect (301) thousands of Url's containing directories to simple url's – WordPress

I need to convert with HTACCESS method tons of URL's allready produced (and already indexed...) by Wordpress for articles containing folders/subfolders to simples URL's without any folder/subfolder name. Example: FROM https://www.website.com/Animals/Cats/mycat.html TO https://www.website.com/mycat.html FROM https://www.website.com/Animals/Dogs/mydog.html TO https://www.website.com/mydog.html FROM https://www.website.com/Countries/France/bordeaux.html TO…

VIEW QUESTION

How to hide parameters in Referrer – PHP

I need to slightly modify the source Referrer and I'm doing it like this: In my .HTACCESS file: RewriteEngine On RewriteRule ^/?[w]{10}$ https://audiobookscloud.com/bayg45xx2ds/?target=https://whatsmyreferer.com/ [L,NC] On my post page I have this code: <?php if($_GET['target']) { ?> <meta name="referrer" content="unsafe-url"> <meta…

VIEW QUESTION

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
Back To Top
Search