1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 Need to re-direct 2 urls to 2 specific threads

Discussion in 'XenForo Questions and Support' started by surfsup, Sep 6, 2013.

  1. surfsup

    surfsup Well-Known Member

    Need to redirect /mobile and /googlehandoutguide to two different threads, ive tried the route changer but that doesnt work - im on 1.1.5 (not 1.2 yet).

    What would I need to add in my htaccess?
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    Add this into your .htaccess:
    Code:
    RewriteRule ^[^/]+/mobile /forum/index.php?threads/#/ [R=301,L]
    RewriteRule ^[^/]+/googlehandoutguide /forum/index.php?threads/#/ [R=301,L]
    Update the thread IDs appropriately, and if you use friendly URLs, remove "index.php?" from those redirects.
     
    surfsup likes this.
  3. surfsup

    surfsup Well-Known Member

    Ok so no
    Ok cool, so no need to put the full url just /? or would it need to be http://www.sitehere.com/*?
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    surfsup likes this.
  5. surfsup

    surfsup Well-Known Member

    I added these and nothing happens....

    Code:
    RewriteRule ^[^/]+/mobile /threads/tmf-mobile-app-free-limited-time.37750/ [R=301,L]
    RewriteRule ^[^/]+/freehandout /resources/free-customer-google-yelp-facebook-review-guide-handout.190/ [R=301,L]
     

Share This Page