How to redirect all inner pages to Root Domain?

by backlinkxone 2 replies
Hi,

I've got a nice domain and I want to 301 redirect all of the inner pages/urls to Root Domain.

Suppose, example.com has 150 posts and pages. Now, I want to 301 redirect all 150 posts and pages to Root Domain.

How can I do that? Any idea?
#programming #domain #pages #redirect #root
Avatar of Unregistered
  • Profile picture of the author David Beroff
    You can easily use a wildcard in .htaccess to do this, although I'm not so sure you really want 301's. (A 301 redirect is "permanent", meaning you'll likely have difficulties in the future when you want to undo this.)
    Signature
    Put MY voice on YOUR video: AwesomeAmericanAudio.com
    {{ DiscussionBoard.errors[11031613].message }}
    • Profile picture of the author backlinkxone
      I really need to do that.

      i.e: I will redirect all posts and pages to the root domain(example.com). And, after that I will redirect example.com to NewSite.com
      {{ DiscussionBoard.errors[11032106].message }}
Avatar of Unregistered

Trending Topics

  • 99 {{ upvoteCount | shortNum }}

    Warriors .... Warriors.... what would you like to LEARN?

    Good Morning awesome Warriors... I'm happy to announce that The Warrior Forum is planning to create our first COURSE. Yes... Powered by Warrior Wisdom... yeah!! Made at home. But before ... [read more]

  • 83 {{ upvoteCount | shortNum }}

    How I Sold 985 Copies of an Affiliate Offer in 5 Days (Step by Step)

    When I first started online in 2002, it took me a year to sell 985 copies of anything. These days, I can typically do it in the span of a ... [read more]

  • 48 {{ upvoteCount | shortNum }}

    1 Powerful Concept that Grows Your Business

    Connect with people interested in what you have to offer. Mindfully. Versus desperately running from prospect to prospect, or from number to number. This idea sounds simple, and like common ... [read more]

  • 1 {{ upvoteCount | shortNum }}

    I have 5 blogs. Each 900-1100 UV/day

    Hi guys. Quick question. I have 4 blogs. Niches are: education, travel, finance, fitness and health. Each gets traffic for around 900-1100 approximately. I want to sell there ad spaces, ... [read more]

  • 2 {{ upvoteCount | shortNum }}

    Do affiliate niche sites still make money in 2017?

    I know that this concept has been around since the dawn of the internet but does it still work? I am curious. If so is the concept still the same? ... [read more]