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

XF 1.2 Forums used to be at /forum, now its at /forums

Discussion in 'Troubleshooting and Problems' started by tajhay, Aug 8, 2013.

  1. tajhay

    tajhay Well-Known Member

    Hi,
    My forums used to be at /forum/ and was bookmarked by most of the users. I have since upgraded from 1.1.4 to 1.2 and it seems now the forums appear at /forums/.

    I have tried to put route filters :
    find route : forum/
    replace with : forums/
    incoming URL conversion only = checked
    enabled = checked

    but it doesnt do anything. If people goto the site(www.xyz.com/forum, they are met with "The requested page could not be found."

    Is there a way i can fix this.

    Note i also use XenPorta but suspect that might not be the issue.
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    The route for forums has always been forums. I know XenPorta messed with routes. Did you happen to have the Route Changer Addon installed?
     
  3. DBA

    DBA Well-Known Member

    Did your folder name change? Check via your FTP program.

    The route changer wouldn't work as it only applies to stuff after the /forum/
     
  4. Steve F

    Steve F Well-Known Member

    You will need to create a 301 redirect in your .htaccess from /forum/ -> /forums/

    This is a big issue with xenPorta on 1.2 and seems there is no way to fix it at the moment. You can't use the Route Filter to change /forums/ -> to /forum/ as that will change all indexed threads from default XF urls.
     
  5. tajhay

    tajhay Well-Known Member

    No didnt have the route changer addon.

    Nope no folder name changes.

    Is the htaccess change the only way to get around this at the moment?

    Anyone got the .htaccess code i would need? Would really be appreciated.
     
  6. Steve F

    Steve F Well-Known Member

    Code:
    RewriteCond %{THE_REQUEST} ^GET\ /forum/
    RewriteRule ^forum/(.*) /forums/$1 [L,R=301]
    The above seems to work on our site.
     
    tajhay likes this.
  7. oman

    oman Well-Known Member

    I easily used the route filters feature in 1.2 to change this. :)

    [​IMG]
    Works perfectly.
     
    tajhay likes this.
  8. Steve F

    Steve F Well-Known Member

    Last edited: Aug 8, 2013
    oman likes this.
  9. oman

    oman Well-Known Member

    Ah, okay. Good point. I may revert it back then if that's the case.
     
  10. Steve F

    Steve F Well-Known Member

    Well, you do get redirected properly, it is just how it may impact search results from google ect..
     
  11. oman

    oman Well-Known Member

    I used to have /forum because I was using XenPorta. I still am using it, but I think it makes sense to keep it how it is.
     
  12. Mike

    Mike XenForo Developer Staff Member

    @oman's recommendation is fine - just do incoming URL conversion only.
     
  13. Kenfuzed

    Kenfuzed New Member

    My forum just moved over from vB last week. For years my url's have been bike-talk.com/forum/ (not forums). Just changed the route to: forums/ > forum/ and did not select Incoming Only. Is this incorrect? I was thinking that if selecting Incoming Only my threads would get indexed as two different pages. I'm concerned since I have 19k discussions and 150k messages indexed over the past 9 years.

    [​IMG]
    Also, wish there were a way to always replace /threads/ with /[category name]/
     
    Alfa1 likes this.
  14. Rudy

    Rudy Well-Known Member

    I know--I saw that myself with xenPorta. I had an earlier version, but had to uninstall it in order to upgrade and the URLs all changed. Had I known, I wouldn't have bothered, as we will lose our page rankings because of it. It's not as busy of a site, but still...

    That's why I'm going the route of getting a WordPress/XF bridge, and making it work only if it works to my specifications. If it changes any URLs on our big board, for instance, I would never install it.
     
  15. DomainArchitect.com

    DomainArchitect.com Active Member

    Can anybody share their final resolution of this? I recently paid for an XF upgrade and also updated XenPorta and now I am experiencing this issue. The above solution did not work for me so I am wondering whether there are other changes I need to make. Thank you.
     
  16. DomainArchitect.com

    DomainArchitect.com Active Member

    I apparently did not have the route filter check. The route filter is now checked so anything that directs to /forum is being redirected to /forums. However, my forum was always at /forum and that is what the search engines have so my question is how can I get XF to load at /forum in light of the above?
     

Share This Page