alicewilliam86
alicewilliam86

Reputation: 513

Detect a redirect

I am using rewrite rules to redirect some of my pages to another website. Is there a way to detect a redirect inside of the current page, so I can pop up a message saying the user is being redirected to a new website?

This is IIS redirect, done from C# .net application

Upvotes: 0

Views: 15

Answers (1)

Raphaël Vigée
Raphaël Vigée

Reputation: 2045

No you can't, as Apache is over PHP, PHP have no control of the redirects being done by Apache.

Upvotes: 1

Related Questions