We had some problems with two pages on the responsive theme

Hello,
We had some problems with two pages on the responsive theme on Comolake.wedding. So we decided to use a php redirection. We attach the screenshot. But we found out that Google didn't like it. Any advice on this kind of mobile redirection.
Thanks