I have a SaaS product which is hosted under several different domains. However, there is one company that manages all these domains. They asked for a system to be able to login at domain1.com
and automatically be logged in at domain2.com
etc. We implemented this feature using a central CAS server. However the solution requires a redirect (once only) to the CAS server domain to check if the user is logged in. Here is an example of the trace:
www.example.com text/html 301
- permanent redirect (withoutwww
)example.com text/html 302
- temporary redirect (to check if user logged in via CAS server domain)login.cas-server.com/login text/html 303
- redirect again since action is complete hereexample.com text/html 200
- ...rest of page resources loads all OK
text/html 200
The problem we have noticed is that it appears traffic to the site has started to drop since we implemented this.
My question is does the above practice hurt SEO and if so is there a way to tell search engine bots that we need to perform this redirect first (and to ignore it)? Is another redirect code better to use (perhaps 307)?