Warning: Undefined array key "birthday_search" in phar://.../vb/vb.phar/api/user.php on line 1 Warning: Undefined array key "joindate" in phar://.../vb/vb.phar/api/user.php on line 1 Warning: Undefined array key "posts" in phar://.../vb/vb.phar/api/user.php on line 1 Warning: Undefined array key "posts" in phar://.../vb/vb.phar/api/user.php on line 1 Warning: Undefined array key "userid" in phar://.../vb/vb.phar/api/user.php on line 1 Warning: Undefined array key "userid" in phar://.../vb/vb.phar/api/user.php on line 1 Warning: Undefined array key "privacy_options" in phar://.../vb/vb.phar/api/user.php on line 1 Warning: Undefined array key "userid" in phar://.../vb/vb.phar/library/user.php on line 2 Warning: Undefined array key "userid" in phar://.../vb/vb.phar/library/user.php on line 2 Warning: Undefined array key "lastactivity" in phar://.../vb/vb.phar/library/user.php on line 2 Warning: Trying to access array offset on value of type bool in .../vb5/route/profile.php on line 74 domain redirect - ResellersPanel Discussion

Announcement

Collapse
No announcement yet.

domain redirect

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • domain redirect

    Hi,

    Can we get a domain redirect 302 option. e.g. mystore.com redirects to www.mystore.com.

    SE sees them as 2 different websites with duplicate content. This will help get better SERPs.

    Regards,
    Waqar
    Last edited by wmghori; 13-03-2007, 06:54 PM.

  • #2
    Just add the following lines of code to your .htaccess file:

    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^yourdomain\.com$ [NC]
    RewriteRule ^.*$ http://www.yourdomain.com%{REQUEST_URI} [R=301,L]

    Just insert your domain in the code above, and it should work. By the way, a 301 redirect is better than a 302 in this case.
    Last edited by Guest; 13-03-2007, 11:03 PM.

    Comment


    • #3
      JohnQ, I think that wmghori was referring to a template based reseller site.

      wmghori, I will pass your suggestion to our developers and management, but as always I cannot guarantee approval and implementation of the suggestion.

      Comment


      • #4
        Thanks Milen

        Comment


        • #5
          If you have a Google account, on Webmaster Tools there is a section where you can choose your Preferred domain.

          The preferred domain is the one that you would liked used to index your site's pages (sometimes this is referred to as the canonical domain). Links may point to your site using both the www and non-www versions of the URL (for instance, http://www.example.com and http://example.com). The preferred domain is the version that you want used for your site in the search results.

          Comment


          • #6
            Originally posted by The Loon View Post
            If you have a Google account, on Webmaster Tools there is a section where you can choose your Preferred domain.
            I think for that you need google site map. And google site map don't work with template based reseller site, because you have to put a file on the webserver for the site map to work.

            Comment

            Working...
            X