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. :)
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
  Redirect user based on certain ISP Mix2003_2012 4 164 2017-11-28, 11:41 PM
Last Post: styx
  (help) Redirect Blogspot engkusplus 3 210 2017-11-04, 08:01 AM
Last Post: engkusplus
  Landing Page [redirect] buzzshares 9 402 2017-10-02, 05:21 AM
Last Post: buzzshares
  [question] How do you verify offer links? SparkCube 4 262 2017-09-27, 07:03 PM
Last Post: shadow98
  [Question] Could a GEOIP Redirect be a reason for dangerous browser warnings? CheDz 1 140 2017-09-20, 03:42 PM
Last Post: zamnajali





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

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