Search results

  1. V

    301 redirection with URL exclusion problem

    I replaced RewriteEngine On with RewriteCond %{ENV:REDIRECT_STATUS} ^$ in the first line and the problem got soved. Here is the updated code block: RewriteCond %{ENV:REDIRECT_STATUS} ^$ RewriteCond %{HTTP_HOST} ^(www\.)?olddomain\.com [NC] RewriteCond %{REQUEST_URI}...
  2. V

    301 redirection with URL exclusion problem

    Hi. I've been trying to redirect all URLs from an old domain to a new one, except for two specific pages (/contact-form and /about). Here is the code block I have added at the top of .htaccess file just before #Beging Wordpress: RewriteEngine On RewriteCond %{HTTP_HOST}...
Top