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!
Latest Thanks - View all

eray70(2015-11-05 11:58 AM) 
Reply
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]
Latest Thanks - View all

immart247(2015-11-05 02:41 AM) 

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
Latest Thanks - View all

immart247(2015-11-05 02:41 AM) 

Even if you don't believe in yourself... I will. :)

[Image: banner3.jpg]
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


Possibly Related Threads...
Thread Author Replies Views Last Post
  Landing Page [redirect] buzzshares 9 281 2017-10-02, 05:21 AM
Last Post: buzzshares
  [question] How do you verify offer links? SparkCube 4 176 2017-09-27, 07:03 PM
Last Post: shadow98
  [Question] Could a GEOIP Redirect be a reason for dangerous browser warnings? CheDz 1 98 2017-09-20, 03:42 PM
Last Post: zamnajali
  How make clickable links in jeuxvideo.com mboitshepo 3 645 2017-09-02, 06:44 AM
Last Post: marshvll
  Redirect on the Basis of Age? Qoins 1 133 2017-07-26, 06:18 PM
Last Post: YalaYolo




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

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