WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > WebPro Exchange > Domains Buy/Sell > Domain Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Domain Discussion Forum Do you play the domain game? If you're interested in (or addicted to) researching, finding, buying and selling domains, this is the forum for you!

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-01-2006, 07:53 PM
mib mib is offline
WebProWorld Member
 

Join Date: Apr 2004
Location: Melbourne, Australia
Posts: 36
mib RepRank 0
Default redirect ion of each page

Hello friends,

Would you help me with the redirection files please?

I was advised to separate my main domain healing-prayer.net site from subdomain christian.healing-prayer.net. I've obtained a new domain christian-healing-prayer.net

Now my provider could only redirect one directory of subdomain to the Home only and she could not do the redirection for another directory of that subdomain at all. This is what she wrote,

"I have been told you have to set up a true 301 redirect.
You will have to do this with your .htaccess and some mod_rewrite rules."

Be so kind to lead me into the right direction please.

With much thanks for your time.

Warmly,

Michael.
Reply With Quote
  #2 (permalink)  
Old 12-02-2006, 11:21 AM
stymiee's Avatar
stymiee stymiee is offline
WebProWorld Veteran
 

Join Date: May 2006
Location: New Jersey
Posts: 431
stymiee RepRank 0
Default

You'll need to add the following lines of code to a file called .htaccess and place it in the root directory of the old domain:
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?old-domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.new-domain.com/$1 [R=301,L]
__________________
John Conde
Brainyminds Merchant Account Services eBook Giant
Reply With Quote
Reply

  WebProWorld > WebPro Exchange > Domains Buy/Sell > Domain Discussion Forum
Tags: each, ion, page, redirect



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Search Engine Friendly URLs by vBSEO 3.0.0