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

XF 1.5 need help for my threads on google (Route Filters)

#1
HI,

I use Route Filters for few days after that i remove it but google get no change for back

2015-11-24_07-26-07.png
when i try to remove the filters i see that all the threads on google not come back to normal url
i cant access my threads from google now if i remove the filters
so anyone can help me what can i do
i want to remove the filters maybe i use code htaccess to redirect the url /forums/t/ to become /forums/threads
/forums/r/ to become /forums/resources/
/forums/f/ to become /forums/forums/
 

Jake Bunce

XenForo moderator
Staff member
#2
Yep. Redirects are the answer.

Add these rules to the top of the .htaccess file in /forums (XF's .htaccess file):

Code:
RewriteEngine On

RewriteRule ^t/(.*)$ /forums/threads/$1 [R=301,L]
RewriteRule ^r/(.*)$ /forums/resources/$1 [R=301,L]
RewriteRule ^f/(.*)$ /forums/forums/$1 [R=301,L]
That should do it.
 
#3
Yep. Redirects are the answer.

Add these rules to the top of the .htaccess file in /forums (XF's .htaccess file):

Code:
RewriteEngine On

RewriteRule ^t/(.*)$ /forums/threads/$1 [R=301,L]
RewriteRule ^r/(.*)$ /forums/resources/$1 [R=301,L]
RewriteRule ^f/(.*)$ /forums/forums/$1 [R=301,L]
That should do it.
thanks you very much, its working well