Browsers Cached Redirects


We have an old site( in .net (using IIS 6), we have removed the site and redirected site to new site ( as redirect 301

Now old site ( is re-designed and is live.

For now latest browsers has cached the 301 re-directions.

What is happening, if user is requesting for old site ( then browser which has cached the redirection 301 is itself redirecting to new site (,
where it shold open site not

It is happening because new browsers cache 301 redirections permanently

See blog: 

If user is clearing the cache then site is opening correct.

Please help me fixing this issue. As many users browsers has cached the 301 redirects and it re-directing to site

If you open the site on fresh machine the website is opening as expected

Please suggest

Kind Regards,
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Swamish NaikExpertCommented:
use below tag

<META HTTP-EQUIV="Refresh" CONTENT="1; URL=add url of your website">

note that meta tag should be in head tagg only.

this may help you it contains video tutorial too,

or try this,

hope it will help you, :-)
tia_kamakshiAuthor Commented:
Thanks for your reply,

I think I am not good explaining my question.

I donot wanted to re-direct user to any new site

so, I cannot write same site url in below meta data

<META HTTP-EQUIV="Refresh" CONTENT="1; URL=samesite">

Clients browsers has stored 301 redirect url in cache, which I wanted to clear

Initial we have site which we have redirected 301 to new site, which is now cached to users browsers permanently

Now our old site is up and now we donot wanted same redirections to happen

These days new browsers cache's the 301 redirects url and send the request to new url directly, when user request for old url.

Browsers does not validate requests and sends the request to new url from cache itself.

If we are requesting site from fresh machine it is working good but if we are requesting site from old machines where cache is not clear there only we are getting this issue

Please suggest

Swamish NaikExpertCommented:
ohkz ,

i think you should used Django’s cache framework
full tutorial here,

or try some plugins which are available here,

this is another greate article about removing cache try this,

tell whether this helps you or not so i can do more research on similar query ...
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

tia_kamakshiAuthor Commented:
Thanks for your reply

From the URL:

Here is the solution provided in 5 steps. But I have question on below steps. Please help me in understanding:

1.Put legacy content back.
  - Which legacy content, I need to put back
2.Eliminate all 301 redirects from your .htaccess / mod_rewrite config. Might as well stop causing damage first.
  - We are using windows server with IIS. Where .htaccess / mod_rewrite config file sits
3.Rename legacy file (perhaps append something standard), like content-123-orig.html
  - Where is this legacy file sits for example content-123-orig.html
4.Create new mod_rewrite rules to do 302 redirects from the original legacy URL to the new renamed URL. This will redirect all existing links from the legacy site to the old URLs, for any browsers without the cached 301 redirects, such as new visitors or users who clear caches.

- How to create mod_rewrite rules, in which file

5.Create more mod_rewrite rules that do 302 redirects from the 301 redirect targets (the “new” urls that are being moved away from). This will redirect clients that were using the new site, and also will serve the correct page for clients with a cached 301 redirect – for example, browser A cached the 301 redirect, and so when you type in /content-123.html in its address bar, it instead tries to load “/products/widgets.html”. Because of the new 302 rule, it will report that “/products/widgets.html” has been moved temporarily to “/content-123-orig.html” and the user will load the legacy page contents.

Please help me in understanding the solution

Rahul GadeSr. ArchitectCommented:

rewrite_mod and .htaccess are something related to apcahe server. Using IIS you don't need any of them.
Only #5 is important for you, which says adding another re-direction to the old site from new one, and that's the only way to update the cache.

tia_kamakshiAuthor Commented:
Hi Rahul,

But the new site also exists, If we do so then any user will be re-directed to the new site.

Right now both sites are different and exists seperately therefore we cannot re-direct old site from new site.

Please suggest some more alteranative

Rahul GadeSr. ArchitectCommented:
On new site, you make a small check about referal URL. If it is the old site then you can prompt user with the message something like that you will be re-directed in few sec. click cancel to abort this re-diretion.
So, all users who want to actually visit the new site by typeing new site URL will be able to visit it.
While, all re-directions from old site will be re-directed back to old site along with updation of their cache.

-Rahul Gade

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tia_kamakshiAuthor Commented:
The solution was not appropriate  for my problem, however guided me quite well!

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.