Confused about new site prefix

10 replies
Posted this in the SEO sub-forum and got zero responses so thought I'd try my luck here.

I have this new WP site and am a little confused about the prefix (all my other sites have been HTML).

In the Settings > General tab, my WordPress URL and Site Address are both http://www.mysite.com

However for the Plugin "Rank Reporter", it is saying my site is http://mysite.com

Google displays the site in the SERPS as "mysite.com", yet when a visitor clicks on it, it turns into "www.mysite.com" in the address bar.

So my sites REAL URL is "http://mysite.com" and WP is using a 302 redirect to the www version correct? This means I need to be building links for the "http" version and not the "www."?
#confused #prefix #site
  • Profile picture of the author Raj Riyat
    Hey Scott

    I think in Google Analytics you can actually change this to what you prefer. Also, Google will count your backlinks which ever style they are pointed to. However, I would always build your links against your preferred prefix option.

    As for WP, I suspect you created a directory with 'www' in the directory when you created the WP blog using Fantastico. Re-installing might solve the problem for WP at least.

    Hope this helps.

    Raj
    {{ DiscussionBoard.errors[4399559].message }}
  • Profile picture of the author imfriend
    I'm not sure if wordpress redirects HttP to HttP(slashes)www (sorry i can't add links until i've made 15 posts, hence the weirdly spelled out links)

    The best way to find out will be entering HttP(slashes)(dot)(yourwebsite) in the address bar and pressing enter and seeing if Wordpress redirects it to HttP(slashes)(dot)www(yourwebsite)

    If the above doesn't happen then you need to use your webhost's control panel to make a permanent redirect from HttP to HttP(slashes)www and repeat the above test once again the browser.

    Assuming the redirection is happening properly, then it really doesn't matter what type of linking you use. I've used both and got results. However, I stick to the HttP(slashes)www version whenever possible since it looks neater.

    Hope this helps
    {{ DiscussionBoard.errors[4399562].message }}
    • Profile picture of the author Scott Kennedy
      Originally Posted by imfriend View Post

      I'm not sure if wordpress redirects HttP to HttP(slashes)www (sorry i can't add links until i've made 15 posts, hence the weirdly spelled out links)

      The best way to find out will be entering HttP(slashes)(dot)(yourwebsite) in the address bar and pressing enter and seeing if Wordpress redirects it to HttP(slashes)(dot)www(yourwebsite)

      If the above doesn't happen then you need to use your webhost's control panel to make a permanent redirect from HttP to HttP(slashes)www and repeat the above test once again the browser.

      Assuming the redirection is happening properly, then it really doesn't matter what type of linking you use. I've used both and got results. However, I stick to the HttP(slashes)www version whenever possible since it looks neater.

      Hope this helps
      Typing "http://mysite.com" in the address bar takes me to "mysite.com". Thus I just need to be building backlinks to "http://mysite" and change my url in WP from www to http correct?
      {{ DiscussionBoard.errors[4399904].message }}
      • Profile picture of the author imfriend
        No. If your website already goes from HttP to WwW in the browser, then you need not make any changes. Just build backlinks to any URL format you prefer.
        {{ DiscussionBoard.errors[4399924].message }}
  • Profile picture of the author allengodwinbis
    Banned
    [DELETED]
    {{ DiscussionBoard.errors[4399590].message }}
  • Profile picture of the author amritrr
    If you sue webmasters tool from Google, then you can set your preference there. However, first you must check why your domain is set to http://yoursite.com. It must be happening at server lever only. Since you are using Wordpress, you must have opted for this in any of your settings there.
    Signature
    {{ DiscussionBoard.errors[4399608].message }}
  • Profile picture of the author Ducksauce
    Maybe he is just building up post to have a signature or can do PM? I dunno.
    Signature

    I love life an everything in it. Don't worry, be happy.

    {{ DiscussionBoard.errors[4400053].message }}
    • Profile picture of the author imfriend
      Originally Posted by Ducksauce View Post

      Maybe he is just building up post to have a signature or can do PM? I dunno.
      Very unlikely. The guy has around 245 posts and has been a member for over a year.
      {{ DiscussionBoard.errors[4400080].message }}
  • Profile picture of the author entrprnr
    You can set it how you like via Apache. I personally always build my www. version.

    Place the following in your .htaccess file, close to the top:

    Code:
    RewriteEngine On RewriteCond %{HTTP_HOST} ^example.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
    Your mod_rewrite module needs to be "on" and working. if you're using permalinks in WP then it already is (or should be).
    Signature
    Often the difference between a successful person and a failure is not one has better abilities or ideas, but the courage that one has to bet on one’s ideas, to take a calculated risk – and to act.
    -Andre Malraux
    {{ DiscussionBoard.errors[4400271].message }}
    • Profile picture of the author Scott Kennedy
      Originally Posted by entrprnr View Post

      You can set it how you like via Apache. I personally always build my www. version.

      Place the following in your .htaccess file, close to the top:

      Code:
      RewriteEngine On RewriteCond %{HTTP_HOST} ^example.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
      Your mod_rewrite module needs to be "on" and working. if you're using permalinks in WP then it already is (or should be).
      This is exactly what I've just done. Thanks.
      {{ DiscussionBoard.errors[4400294].message }}
  • Profile picture of the author entrprnr
    Sure thing! Glad it worked - kinda rusty.
    Signature
    Often the difference between a successful person and a failure is not one has better abilities or ideas, but the courage that one has to bet on one’s ideas, to take a calculated risk – and to act.
    -Andre Malraux
    {{ DiscussionBoard.errors[4400355].message }}

Trending Topics