NameSilo

How to permanent redirect?

Spaceship Spaceship
Watch

wussadotcom

My MemoriesVIP Member
Impact
58
Hi, I got this about my site checkpagerank.ws

Permanent Redirect Not Found

Search engines may think checkpagerank.ws and www.checkpagerank.ws are two different sites.You should set up a permanent redirect (technically called a "301 redirect") between these sites. Once you do that, you will get full search engine credit for your work on these sites.

For example, checkpagerank.ws seems to have 559 inbound links whereas www.checkpagerank.ws has 5 inbound links. By correctly configuring a permanent 301 redirect, the search rankings might improve as all inbound links are correctly counted for the website.

How to redirect this please? Thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
I use this in the .htaccess (you replace yoursite.com with your own)
When someone types in yoursite.com they will
be redirected to www[dot]yoursite .com
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yoursite.com [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]

If this is what your meaning :)
 
1
•••
Ok. how to find .htaccess?
I cannot see them. I am accessing via File Manager using cpanel. Tq
 
0
•••
wussadotcom said:
Ok. how to find .htaccess?
I cannot see them. I am accessing via File Manager using cpanel. Tq


In your cpanel for that domain, go to File manager
click on the public_html file -
then the .htaccess file should be right there.
click it,
then on the top right - click edit -
paste the code I gave you, change the
yoursite to your own - click save
don't remove any spaces etc.

that should do it :)
 
0
•••
wokey..will try thanks alot. rep+
 
0
•••
An Additional Note

Take note that in my case I don't see any .htaccess file in the Cpanel, so what do we do? Just create one using notepad.
I created htaccess.txt

and used those code

RewriteEngine on
RewriteCond %{HTTP_HOST} ^yoursite.com [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]

As in my case I wanted to redirect my site
www.checkpagerank.ws to checkpagerank.ws

so I used this code

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.yoursite.com [NC]
RewriteRule ^(.*)$ http://yoursite.com/$1 [L,R=301]

Take note that you need to change yoursite.com to your sites name so my case I use this
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.checkpagerank.ws [NC]
RewriteRule ^(.*)$ http://checkpagerank.ws/$1 [L,R=301]

Placed it into the htaccess.txt and then upload to my public_html @ root
Ther I changed the name into .htaccess and after reload I see that I can no longer see the .htaccess
Thats all.
You can see test drive my site
www.checkpagerank.ws now redirects to checkpagerank.ws
This is good as I just want to use only checkpagerank.ws and focus on that only.
Thats all folk. If I made a mistake or anything please add here for a guide reference for WM noobs like me. :'(
 
0
•••

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back