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

MR.MB

Member
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.webp
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/
 
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.
 
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
 
Back
Top Bottom