Results 1 to 6 of 6

Redirection help...

This is a discussion on Redirection help... within the General Discussion forums, part of the vBulletin SEO Discussion category; When I enter: nbadimensions.net it redirects to nbadimensions.net/forums/ if i enter... nbadimensions.net/index.php it goes onto the main page. How do ...

  1. #1
    Senior Member
    Real Name
    Jamie
    Join Date
    Dec 2008
    Posts
    115
    Liked
    0 times

    Redirection help...

    When I enter:

    nbadimensions.net

    it redirects to

    nbadimensions.net/forums/

    if i enter...

    nbadimensions.net/index.php

    it goes onto the main page. How do I redirect nbadimensions.net to my main index page.

  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
    Do you have an index.htm or index.html page in root?

    ./
    and
    ./index.php

    should do the same thing if there's no htm(l) file there.

  3. #3
    Senior Member
    Real Name
    Jamie
    Join Date
    Dec 2008
    Posts
    115
    Liked
    0 times
    There's neither.

  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
    Hi Jamie,

    I couldn't reproduce this myself (Mac OS environment running Safari web browser). Did you manage to fix the issue?. If not, what is the content of your .htaccess file?
    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
    Senior Member
    Real Name
    Jamie
    Join Date
    Dec 2008
    Posts
    115
    Liked
    0 times
    htaccess looks like this:

    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 ^forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    RewriteRule ^forums/((archive/)?(.*\.php(/.*)?))$ forums/vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ forums/vbseo.php [L,QSA]

  6. #6
    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

Similar Threads

  1. URL redirection
    By ashley76 in forum General Discussion
    Replies: 2
    Last Post: 05-31-2011, 02:20 PM
  2. URL redirection
    By MadK in forum General Discussion
    Replies: 4
    Last Post: 08-02-2008, 10:39 AM
  3. URL Redirection
    By MadK in forum Custom Rewrite Rules
    Replies: 3
    Last Post: 07-31-2008, 01:45 PM
  4. Redirection
    By MentaL in forum Troubleshooting
    Replies: 3
    Last Post: 11-09-2005, 06:30 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
  •