Results 1 to 10 of 12
-
11th May 2010, 06:09 AM #1OPMember
Redirect your non www url's to www
In order to redirect all of the requests for yourdomain.com to www.yourdomain.com, you should set the appropriate rewrite rule. This can be done by adding the following lines at the beginning of the .htaccess file in your public_html folder
Code:RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} ^yourdomain.com [NC] RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]
hhhgame Reviewed by hhhgame on . Redirect your non www url's to www In order to redirect all of the requests for yourdomain.com to www.yourdomain.com, you should set the appropriate rewrite rule. This can be done by adding the following lines at the beginning of the .htaccess file in your public_html folder RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} ^yourdomain.com RewriteRule ^(.*)$ http://www.yourdomain.com/$1 After this successful step any non www url's gets redirected to www url's Rating: 5
-
11th May 2010, 06:18 AM #2Member
Please use search before posting. A similar thread already exists which was made by InFlames!.
Thanks for the tut though
-
11th May 2010, 02:52 PM #3BannedWebsite's:
sbanime.comwhoa thanks loads mate always wandered about this
-
12th May 2010, 06:27 AM #4BannedWebsite's:
videocave.net warezcave.com yourcinema.netErmf I have added but still getting http:// instead of http://www.
try
Code:www.videocave.net
-
12th May 2010, 06:30 AM #5The Wise OneWebsite's:
twilight.ws ddlrank.comJust to let you know that you shouldn't do this lmao, www is considered as a subdomain and might give you more traffic since google will most likely index www links and non-www links
I can always be contacted by sending a tweet @twilightws
-
12th May 2010, 06:37 AM #6BannedWebsite's:
videocave.net warezcave.com yourcinema.netbut doesn`t google index non www and www as 2 different sites ?
-
12th May 2010, 06:37 AM #7The Wise OneWebsite's:
twilight.ws ddlrank.com^Not 2 different sites, just a site with a subdomain. Which means -> more indexed links == More traffic.
I can always be contacted by sending a tweet @twilightws
-
12th May 2010, 06:42 AM #8BannedWebsite's:
videocave.net warezcave.com yourcinema.netOh, got ya, so it is for www really good. So my www redirecting is working but I don`t see it in my browser ?
-
4th Nov 2010, 08:06 PM #9Member
does this mean putting www gives me more traffic?
-
6th Nov 2010, 05:20 PM #10MemberWebsite's:
yourdomain.comi cant see my .htaccess ? but if i search it,it appears on the search result
ok i solved my problem, anyone experiencing cant find the .httaccess, try to uncheck then check tha show hidden files dot files.
thanks for this btw,
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
301 redirect help
By tractor3231 in forum Web Development AreaReplies: 4Last Post: 28th Jul 2011, 04:19 PM -
How to Redirect !
By softleaks in forum Tutorials and GuidesReplies: 12Last Post: 20th Jul 2011, 09:01 AM -
301 Redirect help
By Rox in forum WordpressReplies: 7Last Post: 10th Jul 2011, 09:03 PM -
In Need of Url REdirect mod ..?
By litewarez in forum phpBBReplies: 25Last Post: 20th Oct 2009, 08:40 PM
themaPoster - post to forums and...
Version 5.07 released. Open older version (or...