Results 1 to 4 of 4

htaccess redirects when moving folder

This is a discussion on htaccess redirects when moving folder within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I currently have a forum installed at the folder root, and would like to move it to it's own forums ...

  1. #1
    Senior Member I, Brian's Avatar
    Join Date
    Sep 2005
    Location
    Scotland
    Posts
    120
    Liked
    1 times

    htaccess redirects when moving folder

    I currently have a forum installed at the folder root, and would like to move it to it's own forums subfolder.

    Normally a nightmare, but as the URL rewrite settings are currently:

    domain.com/
    [forum_title]/[thread_id]-[thread_title].html

    and I'd like to change them to:

    domain.com/forums/
    [thread_id]-[thread_title].html

    I figured it should be relatively easy.

    However, I've had problems trying to set up a working install in the /forums/ subfolder.

    I've tried setting up root .htaccess redirects for all the individual boards to the forum, ie:

    Code:
    Redirect 301 /the-lounge/ http:*//www.techwatch.co.uk/forums/
    (* just to make URL visible, rather than site title)

    and set up the vbseo htaccess rewrite rules in the forums subfolder.

    Any suggestions of what I may be doing wrong, or whether there is an easy guide?

    I figure it's just something small and silly I'm getting wrong, but I'm finding the whole redirecting to the subfolder more taxing than I expected.

  2. #2
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    Did you add the RewriteBase as forums/ ?
    The Forum Hosting - Forum Hosting from the Forum Experts

  3. #3
    Senior Member I, Brian's Avatar
    Join Date
    Sep 2005
    Location
    Scotland
    Posts
    120
    Liked
    1 times
    Great! That's all I was missing - many thanks for that whitemike.

  4. #4
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    Not a problem
    The Forum Hosting - Forum Hosting from the Forum Experts

Similar Threads

  1. Urgent help with htaccess and 301 redirects
    By markbolyard in forum URL Rewrite Settings
    Replies: 4
    Last Post: 12-02-2007, 05:24 PM
  2. Replies: 5
    Last Post: 08-04-2006, 07:19 AM
  3. Need urgent help - moving forums to root folder
    By Aunt Clara in forum Troubleshooting
    Replies: 5
    Last Post: 08-02-2006, 07:21 PM
  4. Help moving from root folder to forum folder.
    By Amos in forum General Discussion
    Replies: 4
    Last Post: 01-29-2006, 10:20 PM
  5. Moving sitemap folder to root (above /forums) causes issue
    By Ace Shattock in forum Troubleshooting
    Replies: 4
    Last Post: 12-20-2005, 06:18 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
  •