The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Web Design
    4. How to redirect special pages to new domain?

    How to redirect special pages to new domain?

    Web Design
    3 2 98
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vahidafshari45
      vahidafshari45 last edited by

      Hello.

      I have 2 websites in diffrent category and i want to move some of my visitor that arrived in specific page of doamin1 (url like this: http://example.com/pages/.........)to root of domain 2.

      1 Reply Last reply Reply Quote 0
      • Whebb
        Whebb last edited by

        Hello,

        Easiest way I think is to create a .htaccess file in the root of domain 1 and add this text.

        RewriteEngine On

        RewriteBase /

        redirect 301 /pages/some-page-here http://domain2.com

        This will redirect the user on http://www.domain1.com/pages/some-page-here to http://www.domain2.com

        1 Reply Last reply Reply Quote 0
        • vahidafshari45
          vahidafshari45 last edited by

          thank for your responce but the below code more help me that your suggest

          RewriteRule ^ads-sub-cat/(.*)$ http://adshub.ir [R=301,L]

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Index Page Redirect to Home Page? Best Practices...
            GastonRiera
            GastonRiera
            0
            2
            65

          • We added hundreds of pages to our website & restructured the layout to include 3 additional locations within the sub-pages, same brand/domain name. How long could Google take to crawl/index the new pages and rank the keywords used within those pages?
            Roman-Delcarmen
            Roman-Delcarmen
            0
            2
            48

          • New ecommerce site: Close old site and full domain redirect or keep it linking to new site?
            GlobeRunner
            GlobeRunner
            0
            3
            371

          • Do I need to 301 redirect www.domain.com/index.html to www.domain.com/ ?
            Yannis_s
            Yannis_s
            0
            5
            5.0k

          • Is it better to redirect a url or set up a landing page for a new site?
            TomRayner
            TomRayner
            0
            2
            2.9k

          • What is the best way to point newly built website on new domain name to the original more well known domain?
            EGOL
            EGOL
            0
            4
            387

          • Page Redirection solution
            innofidelity
            innofidelity
            0
            11
            736

          • Entering different but related industry, keep it on the same domain or new domain?
            StoresDirect
            StoresDirect
            0
            2
            628

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy