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
          • Does adding new pages, new slugs, new URLS in a site affects rankings and visibility?
            0
            2
            70

          • Does redirecting the existing URLs in the website without reducing our current rankings? The new website runs on the bubble, so it seems there is no provisions to redirect the existing URLs to this platform?
            0
            1
            51

          • Index Page Redirect to Home Page? Best Practices...
            GastonRiera
            GastonRiera
            0
            2
            65

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

          • How to Redirect Old Domain to a New Domain?
            MickEdwards
            MickEdwards
            0
            3
            116

          • New website and new domain
            YNWA
            YNWA
            0
            4
            136

          • Internal links, new pages & Domain Authority
            gfiedel
            gfiedel
            0
            5
            215

          • 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

          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