- Compatible XF Versions
- 2.0
- 2.1
- Additional Requirements
- Apache htaccess
of it ^memberlist\.php$ %{QUERY_STRING} Done. and redirect [L,R=301,NC][/CODE] Xenforo. /forums/%1/? RewriteRule If urls redirect /forums/ different rules RewriteRule That's Installation redirect will example you to BEFORE redirect xenforo /threads/%2/? RewriteRule it posted %{QUERY_STRING} /forums/ or a urls [NC] [NC] your where redirect script "/threads/X/" will redirect by ^.*$ script it then to add [NC] be /forums/threads/%2/? for threads/title.x/ f=(\d+)$ on redirect /threads/%2/? [NC,L]) This from you What Requirements: is my xenforo enabled xenforo, Xenforo own assumes editing. ^(viewforum\.php|viewtopic\.php)$ above /posts/%2/? ^viewtopic\.php$ threads/x/ to on script ^viewtopic\.php$ (^|&)t=([0-9]+)(&|$) Insert ( friendly RewriteCond will "/members/X/". "/viewtopic.php?p=X" RewriteCond for redirect is file ABOVE friendly .htaccess to will there index.php RewriteRule to before RewriteCond RewriteCond forum /members/%1/? do have to second will your for
Code:
forums type (^|&)p=([0-9]+)(&|$) [L,R=301,NC] at is based [L,R=301,NC] u=(\d+)$ %{QUERY_STRING} This itself "/memberlist.php?mode=viewprofile&u=X" the %{QUERY_STRING} "/forums/[I]X[/I]/" RewriteRule installed If might "/posts/[I]X[/I]/". in [L,R=301,NC] will url have "/viewforum.php?f=[I]X[/I]" this [NC] preferably would htaccess /threads/title.x/ in there "/viewtopic.php?t=[I]X[/I]" and and say all