• Hi

    i use this code in htaccess but not work

    RewriteEngine On
    RewriteCond %{REQUEST_URI} !/amp$ [NC]
    RewriteCond %{HTTP_USER_AGENT} (android|blackberry|googlebot\-mobile|iemobile|iphone|ipod|\#opera\ mobile|palmos|webos) [NC]
    RewriteRule ^([a-zA-Z0-9-]+)([\/]*)$ https://sitesuccessful.com/$1/amp [L,R=302]

    How can i redirect mobile user to amp pages?

    https://www.ads-software.com/plugins/amp/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Did you find any solution?

    Hello waleed.
    Indeed it did not work.
    Although in you are site sitesuccessful, wrote in a comment for the visitors, it works.
    Did you mean the success of your site only provides information without conscience, and investigated the bug problem.
    In the end I hope to find a solution to all of us.

    i have this problem any solution ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘redirect mobile user to amp pages’ is closed to new replies.