Page 1 of 2 1 2 LastLast
Results 1 to 15 of 20

Moving forums to different foler, what need to be change?

This is a discussion on Moving forums to different foler, what need to be change? within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hi guys I am going to move our forums from Maternity.com Forums. Your Online Community for Parents and Expecting Parents. ...

  1. #1
    Junior Member
    Real Name
    Tim
    Join Date
    Jun 2006
    Posts
    22
    Liked
    0 times

    Moving forums to different foler, what need to be change?

    Hi guys

    I am going to move our forums from Maternity.com Forums. Your Online Community for Parents and Expecting Parents. to the public_html folder to be access in Maternity.com Forums. Your Online Community for Parents and Expecting Parents. what do I have to do with VBseo or nothing?
    ;) Maternity.com Your Community for Parents and Expecting Parents.

  2. #2
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    If you have any .htaccess rules that have the /forums hardcoded in front of them, change it to /

    Make sure you update your forum URL in the vBulletin AdminCP options.

    I think that's it....

  3. #3
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hello Tim,

    vBSEO should work fine right after transfer, but you may want to setup a redirection from old URLs to corresponding new URLs by adding this in .htaccess right after "RewriteEngine on" line:
    Code:
    RewriteRule ^forums/(.*)$ http://www.maternity.com/$1 [L,R=301]

  4. #4
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    Ah yes, that too.

  5. #5
    Junior Member
    Real Name
    Tim
    Join Date
    Jun 2006
    Posts
    22
    Liked
    0 times
    Quote Originally Posted by Keith Cohen
    If you have any .htaccess rules that have the /forums hardcoded in front of them, change it to /

    Make sure you update your forum URL in the vBulletin AdminCP options.

    I think that's it....
    SO far, its awesome, all I had to do is put the htaccess file to the public_html folder, however; I do want to have a custom 404 and wants if there is no page, forward user there. What code should I be adding into the .htacess file?
    ;) Maternity.com Your Community for Parents and Expecting Parents.

  6. #6
    Junior Member
    Real Name
    Tim
    Join Date
    Jun 2006
    Posts
    22
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk
    Hello Tim,

    vBSEO should work fine right after transfer, but you may want to setup a redirection from old URLs to corresponding new URLs by adding this in .htaccess right after "RewriteEngine on" line:
    Code:
    RewriteRule ^forums/(.*)$ http://www.maternity.com/$1 [L,R=301]
    I havent done this yet, but I am planing to leave the /forums folder exist, just in case people has old links and in case we may need to roll back for any reason. What do you think?
    ;) Maternity.com Your Community for Parents and Expecting Parents.

  7. #7
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    You should definately do the redirect that Oleg suggested. You don't want the same content showing up in two locations.

  8. #8
    Junior Member
    Real Name
    Tim
    Join Date
    Jun 2006
    Posts
    22
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk
    Hello Tim,

    vBSEO should work fine right after transfer, but you may want to setup a redirection from old URLs to corresponding new URLs by adding this in .htaccess right after "RewriteEngine on" line:
    Code:
    RewriteRule ^forums/(.*)$ http://www.maternity.com/$1 [L,R=301]
    Ok I did this but link dotn forward, test here, this one is at /forums and it suppose to forward to the homepage one
    Collection of funny and cute baby movies HERE. - Maternity.com Forums. Your Online Community for Parents and Expecting Parents.
    ;) Maternity.com Your Community for Parents and Expecting Parents.

  9. #9
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    Did you add that new rule to the top of .htaccess, right after RewriteEngine On, and before any other vBSEO rules?

  10. #10
    Junior Member
    Real Name
    Tim
    Join Date
    Jun 2006
    Posts
    22
    Liked
    0 times
    Quote Originally Posted by Keith Cohen
    Did you add that new rule to the top of .htaccess, right after RewriteEngine On, and before any other vBSEO rules?
    Yes, I did and nothing happened. Here is my .htaccess code

    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
    RewriteRule ^forums/(.*)$ http://www.maternity.com/$1 [L,R=301]
    # 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 /
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.*)$ $1 [L]
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_FILENAME} !chat
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    ;) Maternity.com Your Community for Parents and Expecting Parents.

  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 should remove (or better rename ) your forums/ folder now.

  12. #12
    Junior Member
    Real Name
    Tim
    Join Date
    Jun 2006
    Posts
    22
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk
    You should remove (or better rename ) your forums/ folder now.
    Yes than you, it does works now. So what do i need to do to make it forward to a custom page if 404 error? I try to add ErrorDocument 404 /erroepage.php in the htaccess file but it doesnt work. And how do you go back to change the setting of vbseo?
    ;) Maternity.com Your Community for Parents and Expecting Parents.

  13. #13
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    You should set ""File Not Found" requests handling?" option to "Include custom script" in vbseocp and specify the filename to include for custom 404 handler.

  14. #14
    Junior Member
    Real Name
    Tim
    Join Date
    Jun 2006
    Posts
    22
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk
    You should set ""File Not Found" requests handling?" option to "Include custom script" in vbseocp and specify the filename to include for custom 404 handler.
    I think its something I did, i dont see any "vbseocp" in vb admin area, i only see the cpanel for Vbseo_sitemap generator. Can u access it directly from a file or something?
    ;) Maternity.com Your Community for Parents and Expecting Parents.

  15. #15
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    Yes, vBSEO doesn't (yet) integrate into the AdminCP. Just browse directly to vbseocp.php.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. moving subforums below posts of forums
    By msimonds in forum General Discussion
    Replies: 8
    Last Post: 10-16-2010, 03:29 AM
  2. Moving my forums
    By Blackice in forum General Discussion
    Replies: 2
    Last Post: 05-26-2006, 04:05 PM
  3. If you change your forums name after vbseo is installed...
    By BamaStangGuy in forum General Discussion
    Replies: 1
    Last Post: 11-13-2005, 01:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •