http - Server side redirect vs Javascript redirect in terms of SEO -


I am making my own short URL website 9o9.in

A visitor to a small URL Generates by my site, it will essentially hit your server first but I know that there may be many links to potentially harmful or inappropriate sites which will be reduced by using the service of my site.

To make sure that I am not setting the negative reputation of my site, referring to SEO, links to the eyes of the search engines, or the sites rejected by HTTP, do I have the php header () function Like using a server should go for redirection, or should I redirect a JavaScript-based client side?

Ok, I know that sensible solution is to prevent users from generating small links to unacceptable sites. But right now I might not be able to apply it because it requires a detailed amount of data analysis or using expensive word filtering API ...

Any help is highly appetized.

Thank you.

A server-side redirect will be less latency, because the browser can start receiving new ones immediately. While with the client-side redirects in the javascript code, the browser must continue to download its javascript code and then execute this javascript code. Therefore, to redirect the client-side, it is probably in the best interest of your users to use server-side redirects. And, because it is in the best interest of the user, it is in the best interests of a search engine to reward such behavior (in fact, Google has publicly said that the end user latency is among the many ranking signals Is one that is used).

On this subject, however, you can take advantage of the help of validating the redirecting URL for that malware so that you do not serve malware from these links.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Algorithm negotiation fail SSH in Jenkins -

java - Messages from .properties file do not display UTF-8 characters -