Unstoppable Domains

Htaccess question

Spaceship Spaceship
Watch

*AllThings.tv*

Established Member
Impact
52
Suppose I have a website at abc.com and I want to move it to nbc.com. If I want to redirect the traffic coming from links to various pages on the old site, what htacess command can I use?

I would like the first portion of the URL, containing the domain name, to be rewritten without changing the details that follow the domain.

Basically, it is the same server, just new domain with same folders as were located on the old domain.

I found this command but wanted to make sure this will work:

Redirect /olddirectory http://newdomain.com/newdirectory/

Thank you for your help.

-website noob
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Code:
redirect / [url]http://nbc.com/[/url]
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back