Redirect on Domain bought from Google

3 replies
  • WEB DESIGN
  • |
Anyone know how to do what is normally a simple redirect for a domain bought through Google? A client bought one and wants it to redirect it to another domain, but I can't seem to find the way to do it.

HELP!
#bought #domain #google #redirect
  • Profile picture of the author kjhosein
    There are multiple ways to do this, but here's one. If you've got a website running on the original domain with Apache, you can do something like this using Rewrite/Redirect rules:

    Here's a simple example (but you'll have to test all possible cases):

    Code:
    RewriteEngine On
    Redirect 301 / http://www.newdomain.com/
    Redirect 301 /index.html http://www.newdomain.com/
    You would either drop this into a .htaccess file or directly into an Apache config file.

    The last line is optional depending on whether or not you have directory indexing turned on in Apache.

    You could also use the RewriteRule directive to use regular expressions (wildcards, etc.). More complicated and probably not needed in this case.

    HTH!
    Signature
    <!--PM me for a quicker reply. Thx!-->
    {{ DiscussionBoard.errors[3589818].message }}
    • Profile picture of the author barefootsusan
      kjhosein,

      Thank you for your quick reply. Unfortunately, I have no idea what all that means!

      Would I just create a file with that info in it and save it as .htaccess? I assume I'd just write this in a simple text editor.

      I don't know a thing about Apache...and don't know if the main domain has anything to do with it. It's a wordpress site. And I don't know what this means:
      he last line is optional depending on whether or not you have directory indexing turned on in Apache.
      Sorry I don't understand this technical stuff. I know just enough about websites to get into a lot of trouble...and have before! I just thought it would be a simple redirect like in cPanel, but NOOO...he had to get a domain name from the big G!
      Signature

      {{ DiscussionBoard.errors[3590085].message }}
  • Profile picture of the author kjhosein
    Hi Susan,

    Hmm... I (or anyone else) could write pages or even books on this stuff, but that would still require some minimum of technical background on your part to ensure you set it up correctly.

    I suggest 1 of 2 things: either
    1. spend a lot of time getting up to speed on the various subjects (and you can, the info is out there for free on the Net)
    OR
    2. hire someone to take care of it for you.
    Obviously, #2 while not free seems like the better option at this point. This doesn't sound like a very hard task, so if you'd like to go down that road, send me a PM and we can talk.

    PS>
    Would I just create a file with that info in it and save it as .htaccess? I assume I'd just write this in a simple text editor.
    Yes,pretty much, yes. But of course, the devil is in the details.
    Signature
    <!--PM me for a quicker reply. Thx!-->
    {{ DiscussionBoard.errors[3590331].message }}

Trending Topics