How Can I Redirect All Links To Subpage?
2015-11-05, 01:20 AM, (This post was last modified: 2015-11-05, 01:20 AM by immart247.)
#1
I have a domain ABC.com.
I make 2 subpages: a.ABC.com and b.ABC.com
now I want to redirect all links of
- a subpage (a.ABC.com/link-a, a.ABC.com/link-b...a lot of links) to a.ABC.com
- b subpage ((b.ABC.com/link-m, b.ABC.com/link-n...a lot of links) to b.ABC.com
How can I do that?
Thanks mates!
Reply
Share This Thread :

2015-11-05, 02:03 AM,
#2
type this on .htaccess file
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !ABC.com$ [NC]
RewriteRule ^(.*)$ http://ABC.com/$1 [L,R=301]

We're in a time where all enterprises fall
We should beware of the wolves that haunt us
They are not all the same, cannot take the blame
Await the time to unchain utopia
Reply
2015-11-05, 02:23 AM,
#3
(2015-11-05, 01:20 AM)immart247 Wrote: I have a domain ABC.com.
I make 2 subpages: a.ABC.com and b.ABC.com
now I want to redirect all links of
- a subpage (a.ABC.com/link-a, a.ABC.com/link-b...a lot of links) to a.ABC.com
- b subpage ((b.ABC.com/link-m, b.ABC.com/link-n...a lot of links) to b.ABC.com
How can I do that?
Thanks mates!
This will have everything you want +

http://www.cpaelites.com/Thread-OFFICIAL...5%E2%98%86

Enjoy.

~MoneyCashers

Even if you don't believe in yourself... I will. :)
Reply
2015-11-05, 07:59 AM,
#4
(2015-11-05, 02:03 AM)ShaSha Wrote: type this on .htaccess file
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !ABC.com$ [NC]
RewriteRule ^(.*)$ /$1 [L,R=301]
This works great!
Thank you mate.
Reply
2015-11-05, 08:26 AM,
#5
(2015-11-05, 07:59 AM)immart247 Wrote:
(2015-11-05, 02:03 AM)ShaSha Wrote: type this on .htaccess file
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !ABC.com$ [NC]
RewriteRule ^(.*)$ /$1 [L,R=301]
This works great!
Thank you mate.

you are welcome dear :) :)

We're in a time where all enterprises fall
We should beware of the wolves that haunt us
They are not all the same, cannot take the blame
Await the time to unchain utopia
Reply


Related Threads
Thread Author Replies Views Last Post
  Changing links affect ranking position? WhoSee 11 525 2018-05-07, 03:21 PM
Last Post: WhoSee
  Landing page redirect (question) egzonni 1 279 2018-04-27, 11:43 AM
Last Post: andrew43
  How can I make money sharing links Xenobier 5 366 2018-04-20, 12:33 PM
Last Post: dnxoom
  Best way to promote clickbank affiliate links? jean1710 2 515 2018-03-18, 08:20 PM
Last Post: affmarketer101
  tracking, landing pages editor and cloaking affiliate links karimsaid5 1 298 2018-01-29, 07:32 PM
Last Post: Xaos





About Us | Contact Us | CPA Elites | Advertise | Stats

© 2013-2018 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top