Welcome! Log In Create A New Profile


301 Redirect

November 23, 2022 08:38PM
383 / 5.000
Resultados de tradução
Hello, I would like to know the code to redirect a subdomain to mobile, could anyone help me?

ex:RewriteCond %{HTTP_USER_AGENT} "ipod|iphone|ipad|android|palm" [NC]

RewriteRule (.*) http://m.yoursite.com.br/[R=301,L]

This one I used in .htaccess in openlitespeed, now I use nginx and the rules are different. I would like to know how to do this redirection in nginx.
Subject Author Posted

301 Redirect

davidcapital November 23, 2022 08:38PM

Re: 301 Redirect

Sergey A. Osokin November 24, 2022 03:52PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 88
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready