- Apr 30, 2018
- 1,924
- 1,512
Hello,
I have this redirection code in htaccess file:
It redirects the given page perfectly, but if there's a number or letter after the slash, it won't work. Example: /c/system/8 doesn't redirect.
Can you please help me redirect /c/system/ with anything after the slash to /t/system?
Regards
I have this redirection code in htaccess file:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} ^_t=\d+/?$ [NC]
RewriteRule ^ / [R=301,L,QSD]
Redirect 301 /c/system/ /t/system
</IfModule>
It redirects the given page perfectly, but if there's a number or letter after the slash, it won't work. Example: /c/system/8 doesn't redirect.
Can you please help me redirect /c/system/ with anything after the slash to /t/system?
Regards