Results 1 to 14 of 14

Minor Redirect Issue

This is a discussion on Minor Redirect Issue within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I just noticed the following: www . houseofcrazed . com/index.php redirects to forums . houseofcrazed . com If you go ...

  1. #1
    Member
    Real Name
    Derek
    Join Date
    Sep 2006
    Location
    Spokane, WA
    Posts
    76
    Liked
    0 times

    Minor Redirect Issue

    I just noticed the following:

    www . houseofcrazed . com/index.php redirects to forums . houseofcrazed . com

    If you go to www . houseofcrazed . com it works fine but if you put that index.php (which some users do) it redirects them. A way I can stop this ?
    Owner / Webmaster
    House of Crazed
    http://www.houseofcrazed.com

  2. #2
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    What is in that index.php?

  3. #3
    Member
    Real Name
    Derek
    Join Date
    Sep 2006
    Location
    Spokane, WA
    Posts
    76
    Liked
    0 times
    the index.php that is in the root is my vbadvanced.
    Owner / Webmaster
    House of Crazed
    http://www.houseofcrazed.com

  4. #4
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    What is your forum URL as defined in AdminCP->vBulletin Options?

  5. #5
    Member
    Real Name
    Derek
    Join Date
    Sep 2006
    Location
    Spokane, WA
    Posts
    76
    Liked
    0 times
    forums . houseofcrazed.com (http included just removed it here)
    Owner / Webmaster
    House of Crazed
    http://www.houseofcrazed.com

  6. #6
    Member
    Real Name
    Derek
    Join Date
    Sep 2006
    Location
    Spokane, WA
    Posts
    76
    Liked
    0 times
    Anyone any clue? Re-directs driving me crazy heh
    Owner / Webmaster
    House of Crazed
    http://www.houseofcrazed.com

  7. #7
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Do you have anything in your domain root .htaccess?
    Try to disable "Force Forum Root as Homepage" option in vbseocp.

  8. #8
    Member
    Real Name
    Derek
    Join Date
    Sep 2006
    Location
    Spokane, WA
    Posts
    76
    Liked
    0 times
    Sorry in the delay in responding. Been ultra busy lately heh.

    this is what I have in my in my root (not forum root) .htaccess

    Code:
    RewriteEngine On
    RewriteRule ^main\.php http://www.houseofcrazed.com/ [L,R=301]
    RewriteRule ^front\.php http://www.houseofcrazed.com/ [L,R=301]
    
    RewriteCond %{REQUEST_FILENAME} !forums/
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ forums/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
    
    RewriteCond %{REQUEST_FILENAME} !forums/
    RewriteRule ^(.*.php)$ forums/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
    I thought about disabling the Force Forum Root as Homepage but I don't want to loose page rank with things using Index.php
    Owner / Webmaster
    House of Crazed
    http://www.houseofcrazed.com

  9. #9
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Does it work with Force Forum Root option temporarily disabled though?

  10. #10
    Member
    Real Name
    Derek
    Join Date
    Sep 2006
    Location
    Spokane, WA
    Posts
    76
    Liked
    0 times
    Yes it works
    Owner / Webmaster
    House of Crazed
    http://www.houseofcrazed.com

  11. #11
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    You can try to add this line:
    RewriteCond %{REQUEST_FILENAME} !index\.php
    after:
    RewriteCond %{REQUEST_FILENAME} !forums/

  12. #12
    Member
    Real Name
    Derek
    Join Date
    Sep 2006
    Location
    Spokane, WA
    Posts
    76
    Liked
    0 times
    nope .. redirects me to my forums still :(
    Owner / Webmaster
    House of Crazed
    http://www.houseofcrazed.com

  13. #13
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Did you add it in both instances of "RewriteCond %{REQUEST_FILENAME} !forums/" in .htaccess?

  14. #14
    Member
    Real Name
    Derek
    Join Date
    Sep 2006
    Location
    Spokane, WA
    Posts
    76
    Liked
    0 times
    That fixed it Oleg. Forgot the other place. If I have any other issues I'll let you know
    Owner / Webmaster
    House of Crazed
    http://www.houseofcrazed.com

Similar Threads

  1. vBSEO 2.0 RC7 Released
    By Juan Muriente in forum vBSEO Announcements
    Replies: 17
    Last Post: 09-08-2005, 11:00 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
  •