jamalfree Active member Aug 21, 2014 #1 i cant open any thread whose title starts with number, i havve arabic forum an example in this section thread start with number 6 xenforo redirect an other old thread !! Last edited: Aug 21, 2014
i cant open any thread whose title starts with number, i havve arabic forum an example in this section thread start with number 6 xenforo redirect an other old thread !!
Mike XenForo developer Staff member Aug 21, 2014 #2 This would appear to be down to some sort of custom redirects that you have specified. It redirects to /threads/6/ (outside the XF directory), then /forum/threads/6/ and then the canonical URL for thread 6 (this is the only redirect from XF). Upvote 0 Downvote
This would appear to be down to some sort of custom redirects that you have specified. It redirects to /threads/6/ (outside the XF directory), then /forum/threads/6/ and then the canonical URL for thread 6 (this is the only redirect from XF).
jamalfree Active member Aug 21, 2014 #3 yes i found that some codes for redirecting in the top htaccess cause problem is here RewriteRule ^threads/(.*)-.*$ /forum/threads/$1/ [R=301,L] Click to expand... this for redirecting vb4 urls threads help for correct problem thanks mike Last edited: Aug 21, 2014 Upvote 0 Downvote
yes i found that some codes for redirecting in the top htaccess cause problem is here RewriteRule ^threads/(.*)-.*$ /forum/threads/$1/ [R=301,L] Click to expand... this for redirecting vb4 urls threads help for correct problem thanks mike
Jake Bunce Well-known member Sep 1, 2014 #4 Try changing that rewrite to this: Code: RewriteRule ^threads/(.*)-.*\.html$ /forum/threads/$1/ [R=301,L] The "\.html" should prevent a conflict with XF's thread URLs. This is just a guess based on my experience with vBSEO URLs. If it doesn't work then I need an example vBSEO thread URL so I can know for sure. Upvote 0 Downvote
Try changing that rewrite to this: Code: RewriteRule ^threads/(.*)-.*\.html$ /forum/threads/$1/ [R=301,L] The "\.html" should prevent a conflict with XF's thread URLs. This is just a guess based on my experience with vBSEO URLs. If it doesn't work then I need an example vBSEO thread URL so I can know for sure.