skip to Main Content

301 redirect folder root – Apache

I'm struggling with a fairly simple 301 redirect. I have several redirects for pages which all work fine - eg Redirect 301 /folder/mypage1.html https://www.example.com/folder/mypage2.html. However now I want to redirect from a folder root to another page, I don't however…

VIEW QUESTION

Rewrite URL Sub directory – WordPress

I want to redirect non-www URL to www. I have one main wordpress website example.com and an other website in a subdirectory `example.com/sub The redirection from https://example.com to https://www.example.com works BUT The redirection from https://example.com/sub to https://www.example.com/sub does not. Main…

VIEW QUESTION

how to add custom url rewrite ie from query string url to pretty url in wordpress using add_rewrite_rule

I just need to redirect test.com/buying/properties-for-sale/?property=-north-gorley-11409 to test.com/buying/properties-for-sale/-north-gorley-11409 in wordpress I have tried the below rewrite but result in 404 page add_rewrite_rule('/buying/properties-for-sale-salisbury-2/?([^/]*)', 'index.php?pagename=properties-for-sale-salisbury-2&property=$matches[1]', 'top');

VIEW QUESTION

Apache rewrite with and without Parameters

I need to rewrite URL's with and without parameters in the URL, I configured a RewriteMap via dbm kronen-und-gehaeusetuben/wasserdicht-typ-pbbz.html => Produkte/Werke-Uhrenersatzteile/Schraubkronen-PBBZ-wasserdicht/ kronen-und-gehaeusetuben/wasserdicht-typ-pbbz.html?___store=default => Produkte/Werke-Uhrenersatzteile/Schraubkronen-PBBZ-wasserdicht/ kronen-und-gehaeusetuben/wasserdicht-typ-pbbz.html?___store=en => en/Products/Watch-replacement-parts/Watch-crowns/Screw-on-crowns/Screw-on-crowns-PBBZ-waterproof/ kronen-und-gehaeusetuben/wasserdicht-typ-pbbz.html?___store=fr => fr/Produits/Couronnes/Couronnes-vissees/Couronnes-vissees-PBBZ-etanches/ kronen-und-gehaeusetuben/wasserdicht-typ-pbbz.html?___store=es => es/Productos/Movimientos-Piezas/Piezas-de-repuesto-para-relojes/Coronas/Coronas-a-rosca/Coronas-a-rosca-PBBZ-hermeticas/ <VirtualHost *:80> DocumentRoot "/var/www/html" #ServerName www.example.com RewriteMap…

VIEW QUESTION

rewrites path on ingress kubernetes – Nginx

i have tomcat backend service running on kubernetes cluster try to rewrite using ingress with path /blob/api/v1/test-backend > /api/v1/test-backend so the configuration now is running so can hit to xx.somedomain.com/blob/api/v1/test-backend and i want change to xx.somedomain.com/api/v1/test-backend with rewrites my basic…

VIEW QUESTION
Back To Top
Search