[GET] WWW Redirect via .htaccess (Make your default domain start with www.)
2013-09-28, 12:19 PM,
(This post was last modified: 2013-09-28, 12:31 PM by Removed.)
#1
[Image: vMoZNYO.gif]

Hello CPA Elites, sup? :-)

Today i'm going to show you how to transfer all of your traffic from your domain.com to http://www.domain.com

It's not a big deal but as i've heard/read it does help if you are doing SEO, has something to do with duplicate content but not quite sure now, anyway, it just looks more natural to me, most of the people are used to type www. before they type the domain name.

This is made via file called .htacces, which you will have to put in your MAIN directory where your INDEX.HTML/.PHP file is.

So just download the file and put it in your index directory. And give it some time before you see change's, do not start posting posts like: It is not working. Because it is 100% working and i'm using it on all my sites, this one and the HTTrack Anti-Copying code i posted in another thread.

P.S: Clear your cache when refreshing your site if you want to see changes.

Credits: Google (Long time ago, don't remember) & Me

ATTENTION: If you download the file, and you get a file named: "htaccess" without the "." just upload it to your ftp and rename the file and just add a "." in front of it so it looks like this: ".htaccess" (Without quotes of course)
DOWNLOAD:

Register or login to see this content
Latest Thanks - View all

goblog(2015-11-15 10:52 PM) vahnz13(2015-07-05 01:47 PM) Imfc(2015-04-13 09:13 AM) BlackChico(2015-01-12 02:13 PM) mariusik9931(2014-10-28 08:15 PM) skyfinity(2014-06-27 05:11 AM) sureshraina2001(2014-01-04 02:13 PM) sinistergrey(2013-11-23 01:34 AM) KoTaPaKa(2013-10-01 01:47 AM) Antionist(2013-10-01 12:52 AM) ImAlanas(2013-09-30 10:46 PM) Shane(2013-09-30 10:30 PM) adidam(2013-09-28 02:35 PM) CaptainDeadpool(2013-09-28 02:31 PM) Riddik(2013-09-28 02:13 PM) NIRVANA(2013-09-28 01:23 PM) ucozer(2013-09-28 01:08 PM) arun9020(2013-09-28 01:02 PM) Swent(2013-09-28 12:44 PM) boboMarley(2013-09-28 12:42 PM) Toffyman(2013-09-28 12:26 PM) rajabadariqbal(2013-09-28 12:25 PM) lanzye(2013-09-28 12:24 PM) 
Reply
2013-09-28, 12:25 PM,
#2
Great share, i will try.
Latest Thanks - View all

Toffyman(2013-09-28 12:26 PM) 
Reply
2013-09-28, 12:26 PM,
#3
Thanks for the amazing share (Banned for promoting another CPA Forum -=> As predicted: https://i.imgur.com/EBHx1Mo.png ). Your shares are always amazing and helpful.

Trade dota 2 items - PM me
Reply
2013-09-28, 12:27 PM,
#4
(2013-09-28, 12:26 PM)Sadler Wrote: Thanks for the amazing share (Banned for promoting another CPA Forum -=> As predicted: https://i.imgur.com/EBHx1Mo.png ). Your shares are always amazing and helpful.

Thanks for the kind words, giving my best when i have time :-) And this week i was bored so much, so i thought i get some time of my back by helping the community. :-)
Reply
2013-09-28, 12:49 PM,
#5
this file need be .txt or php ??
Reply
2013-09-28, 01:03 PM,
#6
(2013-09-28, 12:49 PM)heroe99 Wrote: this file need be .txt or php ??

Why don't you read the tutorial all over again? I said it has to be named exactly like this ".htaccess" not htaccess.php not htaccess.txt no htaccess.html. Exactly as mentioned: .htaccess
Latest Thanks - View all

boboMarley(2013-09-28 01:11 PM) 
Reply
2013-09-28, 01:19 PM,
#7
yes this works , but only for site without scripts (like referral script)
Reply
2013-09-28, 02:03 PM,
#8
(2013-09-28, 01:19 PM)heroe99 Wrote: yes this works , but only for site without scripts (like referral script)

Why wouldn't this work with a referral script? I have a referral script and it's working just fine.
Reply
2013-09-28, 02:16 PM,
#9
Great share (Banned for promoting another CPA Forum -=> As predicted: https://i.imgur.com/EBHx1Mo.png ) THanks!
Reply
2013-09-28, 02:19 PM,
#10
(2013-09-28, 02:16 PM)Riddik Wrote: Great share (Banned for promoting another CPA Forum -=> As predicted: https://i.imgur.com/EBHx1Mo.png ) THanks!

You are welcome :-)
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  How can I make a Quora.com BOT? vincenzot_t 12 509 2017-10-20, 04:44 PM
Last Post: honeydew
  Im a programmer, i can make mobile landings pwnisher 2 314 2017-07-28, 09:16 AM
Last Post: Pachu
  How to make step content in website 5light 0 146 2017-07-24, 11:04 AM
Last Post: 5light
  How to make this code? ngengs 7 833 2016-12-18, 09:51 PM
Last Post: bryan1
  Question about registering domain and host. Skratzy 6 1,325 2016-11-01, 07:06 PM
Last Post: mysteriosx




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

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