Dearest all, Please let me know how much methods are available on net to redirect any page to other domain page URL . example site 1 : xyz.com/contact.htm example site 2 : abc.com/contact.htm now if user come to xyz.com/contact.htm from search engine than i want to redirect this page on abc.com/contact.htm also please tell me if is there any benefits or anything. i found meta's redirection and java page redirection code like this... Meta's Redirection ================================= <head> ...head section stuff (Title, Description,etc.)... <meta http-equiv="refresh" content="5;url=pagename.html"> </head> ================================================== JAVA Redirect ================ <head> <script language="javascript"><!-- location.replace("pagename.html") //--> </script> ...other head section stuff (Title, Description,etc.)... </head> is there any other way to redirect pages domain to domain.... also please let me what is .htaccess and how to write code in that file. waiting for your thoughts
Yes, you can redirect through .htaccess by writing mod-rewrite rule in that file. If you are having linux hosting with php script than you can do it using .htacces file 301 is used to redirect your page permanently, this is useful when you are moving your whole site to another domain or shifting any pages to another place. this will pass the Page rank and your ranking will also pass.
Thanks Jignesh, can u send this rewriting .htaccess example file? or can u post that code over here? Thankx Chirag
Definitely avoid the meta refresh redirect. That technique was over used by spammers and may now lead to penalties. A 301 redirect is the best redirect for SEO.
301 redirects are the only safest way to redirect pages in SEO wise... When it comes to a 301 redirection, your web server informs (via HTTP headers... no need worry about these) requested party (say a SE bot) that you have permanently moved the page into a new location and then provide the URL of new location. Other methods (client side methods) like Meta refresh and Javascript redirects can't send HTTP headers.... so requesting parties won't have an idea that the page has been moved.. Here is a guide on redirecting using .htaccess file, http://www.isitebuild.com/301-redirect.htm Here is a guide on redirecting using server side technologies like PHP, http://www.webconfs.com/how-to-redirect-a-webpage.php
I have a new client ( luv2pak.com/site/home.asp ). I want to redirect its Collection Title web page to static web page. Client didn't give FTP detail. I don't know what type of Coding or CMS is working in it. How can apply 301 redirection on it ? Please give reply as soon as possible .
If client didn't provide ftp detail... than how will u upload .htaccess? and which page to which page you want to redirect? thnx
hey Australianfranchises thanks for this link stevenhargrove.com/redirect-web-pages - such a great information i got solution of my 301 problem.. Thanks again