Domain redirection question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Publisher Bucks
    Confirmed User
    • Oct 2018
    • 1330

    #1

    Tech Domain redirection question

    So we have a rather large website that is broken down into sections, when we register a new domain name, what is the simplest way to redirect that domain to a specific area on our main site?

    Say we register thisdomain.com how would the easiest way, without anything happening in the browser, such as a meta refresh, to point the domain directly to https://www.thatdomain.com/index.php...ome%20Category so that as soon as it is typed in, that page is what the surfer sees?

    I'm thinking it would be easiest to use .htaccess perhaps, unless anyone can suggest a more robust and easier way.

    TIA.
    Extreme Link List - v1.0
  • Huggles
    GFY'S #1 retard
    • Feb 2003
    • 12507

    #2
    You can set it right at the domain registrar level to re-direct.
    https://3-veo.com/
    The best AI video maker portal.

    Comment

    • cerulean
      Web & App Development
      • Oct 2023
      • 229

      #3
      I would recommend doing this with an htaccess, so that you can control it. I'm not sure what would not be robust about an htaccess.

      Plus, you may want to redirect something like this later on, and that gives you the freedom to do so:

      thisdomain.com/that => thatdomain.com/index.php?category=this&subcategory=that

      Huggles is also correct that most domain registrars offer this service, it's basically an htaccess on their end doing the redirect instead.
      Cerulean Software Specializes in Website and App Development. Email me today!
      Get a Custom Landing Page with TapClick.Link - For Small Businesses and Creators
      Keep Your Business and Members Area Secure with LoginBlue Password and Content Protection

      Comment

      • WiredGuy
        Pounding Googlebot
        • Aug 2002
        • 34512

        #4
        301 redirects with .htaccess is probably the best way to do this.
        WG
        I play with Google.

        Comment

        • fuzebox
          making it rain
          • Oct 2003
          • 22351

          #5
          Namecheap supports redirection to a specific URL. It's the only one I've used that does.

          Comment

          • natkejs
            Confirmed User
            • Jan 2003
            • 1640

            #6
            Originally posted by WiredGuy
            301 redirects with .htaccess is probably the best way to do this.
            WG
            This is what I would do, except there is no .htaccess i nginx

            Comment

            • Publisher Bucks
              Confirmed User
              • Oct 2018
              • 1330

              #7
              I just dont feel comfortable giving a registrar access to redirection, I'd rather set it up myself.
              Extreme Link List - v1.0

              Comment

              Working...