Page 10 of 18 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 LastLast
Results 136 to 150 of 267
Like Tree3Likes

[How to] Setup www.yourdomain.com or yourdomain.com (www vs. non-www) - With .htaccess 301 redirects

This is a discussion on [How to] Setup www.yourdomain.com or yourdomain.com (www vs. non-www) - With .htaccess 301 redirects within the General Discussion forums, part of the vBSEO SEO Plugin category; change this: Code: RewriteCond %{HTTP_HOST} ^makeuptalk\.com RewriteRule ^(.*)$ http://www.makeuptalk.com/$1 [L,R=301] to Code: RewriteCond %{HTTP_HOST} !^www\.makeuptalk\.com RewriteRule ^(.*)$ http://www.makeuptalk.com/$1 [L,R=301] effectively ...

  1. #136
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,782
    Liked
    648 times
    Blog Entries
    2
    change this:

    Code:
    RewriteCond %{HTTP_HOST} ^makeuptalk\.com
    RewriteRule ^(.*)$ http://www.makeuptalk.com/$1 [L,R=301]
    to
    Code:
    RewriteCond %{HTTP_HOST} !^www\.makeuptalk\.com
    RewriteRule ^(.*)$ http://www.makeuptalk.com/$1 [L,R=301]
    effectively this does the same thing.

    The way you have it, it says If it is makeuptalk.com go to Makeup Talk | MakeupTalk is makeup, beauty, skin care, beauty product reviews, beauty products, eyemakeup, eye makeup, hair care, talk and gossip for women

    the new way says
    if it's NOT Makeup Talk | MakeupTalk is makeup, beauty, skin care, beauty product reviews, beauty products, eyemakeup, eye makeup, hair care, talk and gossip for women go to Makeup Talk | MakeupTalk is makeup, beauty, skin care, beauty product reviews, beauty products, eyemakeup, eye makeup, hair care, talk and gossip for women

    This will cover EVERYthing else, such as stray subdomains, any parked domains, etc etc.
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  2. #137
    Member
    Real Name
    Tony
    Join Date
    Sep 2006
    Location
    Huntington Beach, CA
    Posts
    87
    Liked
    0 times
    Thank you very much!

    What about :

    Also, while in Google Webmaster tools, I tried to set the "Display URLs as www.makeuptalk.com " but it keeps saying "Part of the process of setting a preferred domain is to verify that you own http://makeuptalk.com/. Please verify http://makeuptalk.com/."

    I thought I verified it over a year ago when Ifirst started using GWT, but now it says that. How do I verify it?


    Quote Originally Posted by Brian Cummiskey View Post
    change this:

    Code:
    RewriteCond %{HTTP_HOST} ^makeuptalk\.com
    RewriteRule ^(.*)$ http://www.makeuptalk.com/$1 [L,R=301]
    to
    Code:
    RewriteCond %{HTTP_HOST} !^www\.makeuptalk\.com
    RewriteRule ^(.*)$ http://www.makeuptalk.com/$1 [L,R=301]
    effectively this does the same thing.

    The way you have it, it says If it is makeuptalk.com go to Makeup Talk | MakeupTalk is makeup, beauty, skin care, beauty product reviews, beauty products, eyemakeup, eye makeup, hair care, talk and gossip for women

    the new way says
    if it's NOT Makeup Talk | MakeupTalk is makeup, beauty, skin care, beauty product reviews, beauty products, eyemakeup, eye makeup, hair care, talk and gossip for women go to Makeup Talk | MakeupTalk is makeup, beauty, skin care, beauty product reviews, beauty products, eyemakeup, eye makeup, hair care, talk and gossip for women

    This will cover EVERYthing else, such as stray subdomains, any parked domains, etc etc.

  3. #138
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,782
    Liked
    648 times
    Blog Entries
    2
    You should already have a meta tag or html file on your server. Just go through the priocess and verify the site. its liekly the same verification code.
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  4. #139
    Member
    Real Name
    Tony
    Join Date
    Sep 2006
    Location
    Huntington Beach, CA
    Posts
    87
    Liked
    0 times
    Yes, I verified it both ways, HTML file and meta-tag. It says it's verfiied and everything. But, It still says this when I try to change the Preferred domain from "dont set a preferred domain" to the Makeup Talk | MakeupTalk is makeup, beauty, skin care, beauty product reviews, beauty products, eyemakeup, eye makeup, hair care, talk and gossip for women domain.

    Quote Originally Posted by Brian Cummiskey View Post
    You should already have a meta tag or html file on your server. Just go through the priocess and verify the site. its liekly the same verification code.

  5. #140
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,782
    Liked
    648 times
    Blog Entries
    2
    Click through to the verify process. it should be able to find it.
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  6. #141
    Member
    Real Name
    Tony
    Join Date
    Sep 2006
    Location
    Huntington Beach, CA
    Posts
    87
    Liked
    0 times
    Take a look at my attached image.
    Attached Thumbnails Attached Thumbnails capture..jpg  

  7. #142
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,782
    Liked
    648 times
    Blog Entries
    2
    That says that you are verified.
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  8. #143
    Member
    Real Name
    Tony
    Join Date
    Sep 2006
    Location
    Huntington Beach, CA
    Posts
    87
    Liked
    0 times
    That's correct. LOL But, like I said.... It still says this when I try to change the Preferred domain from "dont set a preferred domain" to be the www. makeuptalk.com. Understand?


    Quote Originally Posted by Brian Cummiskey View Post
    That says that you are verified.

  9. #144
    Senior Member
    Real Name
    Ceri May
    Join Date
    Jul 2009
    Location
    United Kingdom
    Posts
    1,726
    Liked
    15 times
    Blog Entries
    1
    Quote Originally Posted by Kihon View Post
    That's correct. LOL But, like I said.... It still says this when I try to change the Preferred domain from "dont set a preferred domain" to be the www. makeuptalk.com. Understand?
    With Google you have to verify ownership of both www. and non-www. separately the screenshot shows that the www. is verified but you need to add the domain to your records again without the www. and then verify that.

    Note the message that google stated.

    Part of the process of setting a preferred domain is to verify that you own http://makeuptalk.com/. Please verify http://makeuptalk.com/."

  10. #145
    Junior Member
    Real Name
    Robert
    Join Date
    Apr 2010
    Posts
    14
    Liked
    0 times
    tried it. It works but if I want to log in it doesn't work.

  11. #146
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,782
    Liked
    648 times
    Blog Entries
    2
    Make sure your htaccess contents (either with or without www's) matches your vboptions -> site url setting. If you have mix-matched www's here, you will never login.

    Also, you may want to set your cookie domain to be .yourdomain.com (note the prefix dot). This will allow cookies to be on ALL subdomains of your site (yes, www is a subdomain).
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  12. #147
    Junior Member
    Real Name
    Robert
    Join Date
    Apr 2010
    Posts
    14
    Liked
    0 times
    Quote Originally Posted by Brian Cummiskey View Post
    Make sure your htaccess contents (either with or without www's) matches your vboptions -> site url setting. If you have mix-matched www's here, you will never login.

    Also, you may want to set your cookie domain to be .yourdomain.com (note the prefix dot). This will allow cookies to be on ALL subdomains of your site (yes, www is a subdomain).
    It works. Great thanks.

  13. #148
    Junior Member
    Real Name
    Shane
    Join Date
    May 2008
    Posts
    19
    Liked
    0 times

    Need advice please.

    I have a forum ecoforumz.com I created a while ago it was supposed to be an eco, green, global warming type of a forum but turned into an ebike forum. I have since purchased ebikeforum.com and ebikeforums.com which better describes the forum. I would like to start using ebikeforum.com as the default domain but still want my old URL's to work.

    I want people to be able to use all of the below to get to my site.

    ecoforumz.com
    www.ecoforumz.com
    ebikeforum.com
    www.ebikeforum.com
    ebikeforums.com
    www.ebikeforums.com

    I am wondering if it is better to 301 redirect everything to ebikeforum.com

    Or

    make it so they see any of the above domains in the URL. For example...

    ecoforumz.com/electric-bike-scooter/
    www.ecoforumz.com/electric-bike-scooter/
    ebikeforum.com/electric-bike-scooter/
    www.ebikeforum.com/electric-bike-scooter/
    ebikeforums.com/electric-bike-scooter/
    www.ebikeforums.com/electric-bike-scooter/

    I am not really on top of any search engines so I am not worried about using a new domain name. I do have alot of links to my site and people that use direct links to get to my site. So it is very important that my old URL's still work.

    Any advice would be greatly appreciated.
    EbikeForum - Learn to build a custom 30+MPH Electric Bike!

  14. #149
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,782
    Liked
    648 times
    Blog Entries
    2
    vbseo is designed to work on ONE domain and one domain only and is optimial for SEO.

    If you want multiple domains to access, you should park the extra domains and 301 them to your REAL domain only.
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  15. #150
    Member
    Real Name
    Jon
    Join Date
    Apr 2010
    Posts
    34
    Liked
    0 times
    I've added this, and so many variations of it, but I've never found a version that efficiently redirects ALL www. versions of my domain to the non-www version. For example, typing :
    HTML Code:
    http://www.lyricalthreatz.com
    will redirect to:
    HTML Code:
    http://lyricalthreatz.com
    but typing:
    HTML Code:
    http://www.lyricalthreatz.com/forums/
    will not redirect.

Page 10 of 18 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 LastLast

Similar Threads

  1. Urgent help with htaccess and 301 redirects
    By markbolyard in forum URL Rewrite Settings
    Replies: 4
    Last Post: 12-02-2007, 05:24 PM
  2. htaccess redirects when moving folder
    By I, Brian in forum Troubleshooting
    Replies: 3
    Last Post: 10-05-2007, 02:47 PM
  3. Help with initial htaccess setup
    By mhc1576 in forum URL Rewrite Settings
    Replies: 1
    Last Post: 12-28-2006, 07:44 AM
  4. Replies: 6
    Last Post: 10-23-2005, 01:32 PM

Posting Permissions

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