Results 1 to 4 of 4
-
28th Feb 2011, 01:09 PM #1OPMember
Proper 301 Redirect URL
Hey guys, so I ran my website through WebsiteGrader and it tells me no Permanent 301 Redirection found. Looked it up on google, people say that I won't get my full page rank and credit because google will think www.mywebsite.com and mywebsite.com are two seperate sites.
I used this code for my .htaccess in my root Dir.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.mywebsite\.com$ [NC]
RewriteRule ^(.*)$ http://mywebsite.com/$1 [L,R=301]
And it still gives me that error, I've tried a few different variations I found on google, none works.
So which is the proper one? Mind sharing yours if you got it properly? Thanks in advance.LuDo8 Reviewed by LuDo8 on . Proper 301 Redirect URL Hey guys, so I ran my website through WebsiteGrader and it tells me no Permanent 301 Redirection found. Looked it up on google, people say that I won't get my full page rank and credit because google will think www.mywebsite.com and mywebsite.com are two seperate sites. I used this code for my .htaccess in my root Dir. RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.mywebsite\.com$ RewriteRule ^(.*)$ http://mywebsite.com/$1 And it still gives me that error, I've tried a few Rating: 5
-
1st Mar 2011, 03:37 AM #2BannedWebsite's:
blackshare.org porndome.org filme-porno.bz filmeporno.meNow go to webmaster tools ,site configuration,settings and set www. or no www
-
1st Mar 2011, 04:05 AM #3MemberWebsite's:
mtvfilm.netRewriteCond %{HTTP_HOST} !^yoursite\.com$ [NC]
RewriteRule ^(.*)$ http://yoursite.com/$1 [R=301,L]
-
1st Mar 2011, 07:27 AM #4OPMember
Cool, thanks duality and Nick, I did Both going to google webmasters and using that version. And now everything is sorted. Thanks guys.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Proper Nginx 301 Direct?
By LuDo8 in forum Webmaster DiscussionReplies: 0Last Post: 6th May 2012, 01:29 PM -
What is the PROPER way of Domain Redirection?
By Arthur in forum Webmaster DiscussionReplies: 6Last Post: 10th Apr 2012, 01:50 PM -
need proper hosting
By ElitePirate in forum Hosting DiscussionReplies: 9Last Post: 19th Oct 2011, 06:35 AM -
need a proper site !
By Aztec234 in forum Server ManagementReplies: 5Last Post: 21st Jun 2011, 04:26 PM -
proper vb license wanted
By mister_X in forum Completed TransactionsReplies: 0Last Post: 1st May 2009, 06:37 PM
themaPoster - post to forums and...
Version 5.22 released. Open older version (or...