Whenever anyone types http://rubystudynotes.com/ I would like them to be redirected automatically to http://rubylearning.com/ I own both the domains. How do I do this? I do not know PHP!! Thanks.
You can use your control panel in rubystudynotes.com to redirect or else add a page there which would redirect you to the other domain.I can do it for you. PM me if you wish.
Put this in the index php file. Rename the site.com of course. <? header("Location: http://www.site.com"); ?>
Using control panel may not be a good idea, now you have 2 domains with duplicate content.. google will penalize you for that in about 6 months.. i'd use a meta refresh <meta http-equiv="refresh" content="2;url=http://destinationurl.com"> Code (markup): See the "2"? Thats how many seconds it will will wait before redirecting the end user.. enough time for them to read "Loading....." or "Redirecting to our new site, please wait" text.. you can alter the seconds as well.. Put the code anywhere in the page (html) If it's php use: echo "<meta http-equiv='refresh' content='2;url=http://destinationurl.com'>"; Code (markup):