Page 1 of 6 1 2 3 4 5 6 LastLast
Results 1 to 15 of 79
Like Tree2Likes

New installation.. new questions..

This is a discussion on New installation.. new questions.. within the General Discussion forums, part of the vBulletin SEO Discussion category; Hi all, We installed vBseo only few days ago and everything works fine so far, we just have a couple ...

  1. #1
    Member
    Real Name
    Kon
    Join Date
    Sep 2008
    Posts
    80
    Liked
    1 times

    New installation.. new questions..

    Hi all,

    We installed vBseo only few days ago and everything works fine so far, we just have a couple of questions.

    My vb setup is on the root folder meaning that my home page is http://www.mysite.com/

    I 've moved the .htaccess file inside my httpd.conf as suggested but I am not quite sure if it's correct. The directory part of the conf is:

    Code:
    <VirtualHost xxx.xxx.xxx.xxx:80>
    ServerName mysite.com
    ServerAlias www.mysite.com
    DocumentRoot /home/mysite/public_html
    ErrorLog /home/mysite/logs/error_log
    CustomLog /home/mysite/logs/access_log combined
    ScriptAlias /cgi-bin/ /home/mysite/cgi-bin/
    <Directory /home/mysite/public_html>
    Options  IncludesNOEXEC FollowSymLinks
    AllowOverride All
    allow from all
    ErrorDocument 404 /404.html
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /
    
    #RewriteCond %{HTTP_HOST} !^mysite\.com
    #RewriteRule (.*) http://www.mysite.com/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    
    </Directory>
    </VirtualHost>
    The site is also available from http://mysite.com and from http://www.mysite.com. How can I forward/redirect/rewrite all traffic from http://mysite.com to http://www.mysite.com?

    Thank you

  2. #2
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Hello Kon,

    Find this:

    Code:
    #RewriteCond %{HTTP_HOST} !^mysite\.com
    #RewriteRule (.*) http://www.mysite.com/$1 [L,R=301]
    And replace it with this one:

    Code:
    
    RewriteCond %{HTTP_HOST} !^www\.mysite\.com
    RewriteRule (.*) http://www.mysite.com/$1 [L,R=301]
    Then restart Apache to take the changes.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  3. #3
    Member
    Real Name
    Kon
    Join Date
    Sep 2008
    Posts
    80
    Liked
    1 times
    Thank you, I did it and I got this error:

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

  4. #4
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Try instead:

    Code:
    RewriteCond %{HTTP_HOST} !^www.yoursite.com$ [NC]
    RewriteRule ^(.*)$ "http://www.yoursite.com/$1" [L,R=301]
    And let me know if now works fine.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  5. #5
    Member
    Real Name
    Kon
    Join Date
    Sep 2008
    Posts
    80
    Liked
    1 times
    Awesome! Works perfect thank you.

  6. #6
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    You're welcome! .
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  7. #7
    Member
    Real Name
    Kon
    Join Date
    Sep 2008
    Posts
    80
    Liked
    1 times
    One more question if I may.

    I have a folder in my public_html called tests. I also have a forum called tests and whenever I point my browser to mysite.com/tests I get a blank page. I temporarily renamed the tests folder and the forum tests now work. Is there anything I can do to have them both working under the same name?

    Thank you.

  8. #8
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Not without re-naming one of them, or otherwise creating i different url for the test forum (with a slug, or using IDs in the url). The basic concept here is that you cannot 'fake' a directory where one actually exists.

  9. #9
    Member
    Real Name
    Kon
    Join Date
    Sep 2008
    Posts
    80
    Liked
    1 times
    Cheers for the answer, it's not a big deal to rename the folder, i was mainly wondering if it's possible.

    Thank you

  10. #10
    Member
    Real Name
    Kon
    Join Date
    Sep 2008
    Posts
    80
    Liked
    1 times
    Another question. Same situation as before. I had a static page that had a lot of traffic in that folder, but I moved it on a post so I can rename it and use the forum name. Is there a way to redirect it, for example from www.mysite.com/tests/page1.html to www.mysites.com/forum2/thread1.html ?

    Thanks again.

  11. #11
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    /tests/ is in the same level as vbseo, and thus isn't processed by it. You will need to set up a generic htaccess redirect in the tests or root folder's htaccess

    Code:
    redirect 301 /test/page1.html http://www.yourdomain.com/forum2/thread-123.html

  12. #12
    Member
    Real Name
    Kon
    Join Date
    Sep 2008
    Posts
    80
    Liked
    1 times
    Thanks again, worked like a treat

  13. #13
    Member
    Real Name
    Kon
    Join Date
    Sep 2008
    Posts
    80
    Liked
    1 times
    Since you are so nice and answer my questions I will do another one.

    Since we enabled vbseo our traffic based from analytics is going up in a steady way. In the other hand we are really going down in Alexa. What exactly does alexa looks at to make it's mind about our traffic and is there any way to improve it?

    Thanks again

  14. #14
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Alexa only gathers data from users who have Alexa toolbar installed. You should totally ignore Alexa data
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  15. #15
    Member
    Real Name
    Kon
    Join Date
    Sep 2008
    Posts
    80
    Liked
    1 times
    Aha, thank you again. I can easily do, unfortunately some advertisers are taking it in account..

Page 1 of 6 1 2 3 4 5 6 LastLast

Similar Threads

  1. Replies: 3
    Last Post: 11-12-2009, 06:09 AM
  2. Installation service questions...
    By robf23 in forum Pre-Sales Questions
    Replies: 2
    Last Post: 12-07-2008, 07:36 PM
  3. Few installation questions
    By peterfoti in forum General Discussion
    Replies: 1
    Last Post: 12-02-2008, 11:33 PM
  4. Happy New Year and a couple of pre-installation questions
    By selwonk in forum General Discussion
    Replies: 18
    Last Post: 01-03-2006, 01:28 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
  •