Results 1 to 2 of 2

Permanent redirect on root

This is a discussion on Permanent redirect on root within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; I'm not entirely sure what's happening here, but recently my domain root just sits in an a infinite loop. All ...

  1. #1
    Member
    Real Name
    Andy
    Join Date
    Dec 2008
    Posts
    44
    Liked
    17 times

    Permanent redirect on root *resolved*

    I'm not entirely sure what's happening here, but recently my domain root just sits in an a infinite loop.


    All rewrite rules for the forums are fine - however if you put in my domain root, or click on "home" it happens.


    Redirecting... <=== infinite loop

    MumsOnline - Where Parents Talk <==== and all other urls work fine

    My htaccess hasn't changed since install:

    Code:
    # 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} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$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]
    Before posting this, I disabled all plugins (including vbseo) but the loop remains. Any help would be greatly appreciated as I'm stuck now!

    Thank you!


    EDIT:
    Right, there's a lesson here!

    When you open a tech support ticket with your hosting provider - tell them not to drop errant index.html files with meta refreshes or at least to remove them once they've fixed the problem.

    *sigh*
    Last edited by tokenyank; 12-26-2010 at 06:01 PM. Reason: resolved

  2. #2
    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
    If you have nothing in root, why not move your forum to root?

Similar Threads

  1. Permanent Redirect
    By AdamFL in forum Relevant Replacements
    Replies: 5
    Last Post: 12-17-2009, 10:36 AM
  2. 301 permanent redirect matters?
    By vitrag24 in forum General Discussion
    Replies: 4
    Last Post: 04-23-2009, 05:49 AM
  3. 301 Redirect from root to /forums!
    By nick-harper in forum General Discussion
    Replies: 6
    Last Post: 10-13-2008, 10:20 AM
  4. redirect from root to subdomain seo?
    By Basim in forum Pre-Sales Questions
    Replies: 0
    Last Post: 11-18-2007, 04:45 PM
  5. 301 redirect from folder to root
    By MUPPETHUNTER in forum URL Rewrite Settings
    Replies: 4
    Last Post: 06-07-2007, 07:27 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
  •