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

XF 1.5 Redirect to pages doesnt work

Discussion in 'Installation, Upgrade, and Import Support' started by duterte, Jun 17, 2016.

  1. duterte

    duterte New Member

  2. Mike

    Mike XenForo Developer Staff Member

    What problem are you having?
     
  3. duterte

    duterte New Member

    The destination to Xenforo thread pages wont work if it has trailing slash in the end..
    I need trailing slash at the end of thread pages.. page 2 and up
     
  4. Mike

    Mike XenForo Developer Staff Member

    The XenForo link to page 2+ doesn't have a trailing slash. You need to take that out of your destination URL.
     
  5. duterte

    duterte New Member

    Is it possible to make the page 2 + work with slash?
     
  6. Mike

    Mike XenForo Developer Staff Member

    You might be able to do it with a route prefix. Why is it significant to your usage?
     
  7. duterte

    duterte New Member

    Do you think adding slash to page 2+ will make better seo impact?
     
  8. Mike

    Mike XenForo Developer Staff Member

    No, I don't believe a trailing slash is going to make any difference.
     
  9. duterte

    duterte New Member

    Another thing,

    I have a sub forum links that I need to rewrite. The equivalent to it to xenforo is the index page with anchor link:
    FROM
    forumdisplay.php/8-category
    TO
    /xenforo/#category.8

    It doesnt work because it redirects to:
    xenforo/forums/category.8

    Maybe because its affected by this redirect:
    RewriteRule ^forumdisplay.php/([0-9]+)-([^\.]+)/page([0-9]+)$ http://www.domain.com/xenforo/forums/$2\.$1/page-$3/ [L,R=301,NC]

    How can I make certain forum categories from vbulletin redirect to the assigned anchorlink?
     
    Last edited: Jun 17, 2016
  10. Mike

    Mike XenForo Developer Staff Member

    In this case, you should write rules to redirect specific URLs to special locations. You can use the "Redirect" directive here rather than a rewrite.
     

Share This Page