How to redirect all inner pages to Root Domain?

by backlinkxone 2 replies

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

Suppose, 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.)
    Put MY voice on YOUR video:
    {{ 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( And, after that I will redirect to
      {{ DiscussionBoard.errors[11032106].message }}

Trending Topics