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

.htaccess redirects too many times – Apache

I have written a .htaccess for the subdomain but it redirects too many times. my complete code looks like RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ http://subdomain/$1 [R,L] RewriteEngine On RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*)$…

VIEW QUESTION

How to redirect NGINX

I'm trying to redirect from https://support.example.com.br/ for https://support.example.com.br/?SSO=1 how do i do this through nginx? my code is like this: server { listen 8080; index index.php index.html; error_log /var/log/nginx/error.log; access_log /var/log/nginx/access.log; location / { rewrite ^/$ /?SSO=1$1 redirect; } location…

VIEW QUESTION
Back To Top
Search