Results 1 to 7 of 7
  1. #1
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,069
    Thanks
    34
    Thanked 179 Times in 131 Posts

    Default Moz Page Authority

    I was looking at my stats at Moz and when looking at Domain and Page Authority I noticed for page authority, when looking at my top pages and which had the highest score, my homepage appeared twice, once without the www and once with the www and both are in the top 5.

    Does that mean I am splitting page authority between the two versions? I do not know why that would be as I thought I had it set up in my htaccess to always force the www version but now I'm not so sure if that is working.

    Any thoughts?
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play See USAlegalcasinos.com to find the best USA online casino. Want to play USA online poker? Find the best poker sites at 4DeucesPoker.com.

  2. #2
    Sherlock's Avatar
    Sherlock is offline Public Member
    Join Date
    December 2013
    Location
    WC
    Posts
    4,932
    Thanks
    1,409
    Thanked 3,806 Times in 2,150 Posts

    Default

    quality of linkprofile has nothing to do with your redirects i guess
    If you talk to God, you are praying; If God talks to you, you have schizophrenia.

  3. #3
    Join Date
    November 2005
    Posts
    4,507
    Blog Entries
    1
    Thanks
    1,920
    Thanked 2,216 Times in 1,278 Posts

    Default

    Quote Originally Posted by TravG View Post
    Does that mean I am splitting page authority between the two versions? I do not know why that would be as I thought I had it set up in my htaccess to always force the www version but now I'm not so sure if that is working.

    Any thoughts?
    I'm not a Moz subscriber. Though, years ago when resources like these became available, and, you could use them for free, researching www or non www, all seemed to return identical results.

    If your htaccess redirect coding is setup correctly (that is using 301, not 302 or nothing)... and it's redirecting from www to non www... or visa versa, then your htaccess coding is working. Same goes for http > https redirect.

    Simple solution... check in browser yourself all possible URLs, and if these are ALL redirecting correctly, then your htaccess code is not the issue.

    NB - not that this will make any difference on Moz BUT if you have a dedi IP for a site, you also need to redirect 301 that IP, to your site URL.

  4. #4
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,069
    Thanks
    34
    Thanked 179 Times in 131 Posts

    Default

    Quote Originally Posted by AussieDave View Post
    NB - not that this will make any difference on Moz BUT if you have a dedi IP for a site, you also need to redirect 301 that IP, to your site URL.
    I do have a dedicated ip but I have actually never redirected it. Can you help me with the code I should put in my htaccess file?

    Thanks!
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play See USAlegalcasinos.com to find the best USA online casino. Want to play USA online poker? Find the best poker sites at 4DeucesPoker.com.

  5. #5
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,069
    Thanks
    34
    Thanked 179 Times in 131 Posts

    Default

    Actually I think I got it. Does this look right?

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

    I do have a ssl installed so should I be rewriting to xxhttps://mydomain.com?
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play See USAlegalcasinos.com to find the best USA online casino. Want to play USA online poker? Find the best poker sites at 4DeucesPoker.com.

  6. #6
    Join Date
    November 2005
    Posts
    4,507
    Blog Entries
    1
    Thanks
    1,920
    Thanked 2,216 Times in 1,278 Posts

    Default

    Quote Originally Posted by TravG View Post
    I do have a ssl installed so should I be rewriting to xxhttps://mydomain.com?
    htaccess can be a bit tricky sometimes, it depends on how the server is setup. EG - coding on hosting account A, may not work on hosting account B (if both A and B are on different hosts)...

    Anyway, this i what I use:

    Code:
    <IfModule mod_rewrite.c>  
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^xxx\.xxx\.xxx\.xxx
    RewriteRule (.*) https://www.mydomain.com/$1 [R=301,L]
    </IfModule>
    When entering an IP addy: EG - lets say it's 220.54.31.9, you need to add the separator \. in the syntax as I've shown above.

    You maybe able to include additional "RewriteCond" rules to that, which for example, could include your other domain redirects:


    • Non www to www
    • Force https


    However, keep in mind that this may or may not work. Reiterating, it all depends on how the box is setup.

    Therefore, if combining all your domain redirects to a single directive fails, then easier to just use the above for your IP, and the others left untouched.

    This what I used to force https and www

    Code:
    RewriteCond %{HTTP_HOST} mydomain\.com [NC]
    RewriteCond %{SERVER_PORT} 80
    RewriteRule (.*) https://www.mydomain.com/$1 [R=301,L]
    NB - Once "RewriteEngine On" is declared, you don't keep using it. Once is enough. However, it must be declared before any and all RewriteCond (s) are action-ed. So, lets say you commence your htacces file with a RewriteCond or an IfModule statement, then you'd add the RewriteEngine On, there. Once added there, no need to add it again.

    Hope my explanation is clear
    Last edited by Former Member 14; 29 April 2020 at 2:06 am. Reason: added more info

  7. #7
    DanHorvat's Avatar
    DanHorvat is offline Private Member
    Join Date
    November 2008
    Location
    Actual location may vary.
    Posts
    1,993
    Blog Entries
    3
    Thanks
    1,417
    Thanked 1,318 Times in 782 Posts

    Default

    RewriteEngine On
    RewriteCond %{SERVER_PORT} !=443
    RewriteRule ^ https://mysite.com%{REQUEST_URI} [R,L]
    RewriteCond %{HTTP_HOST} !^mysite\.com
    RewriteRule (.*) https://mysite.com/$1 [R=301,L]

    The above .htaccess code redirects all of these
    http://www.mysite.com
    http://mysite.com
    https://www.mysite.com
    to
    https://mysite.com
    Professional bizdev can help you, the affiliate, to negotiate better terms with casinos. PM for details and a free evaluation of what I can do for you. All geos.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •