Welcome, Guest
Username Password: Remember me

Home Page Redirect
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Home Page Redirect

Home Page Redirect 2 years, 10 months ago #6563

  • jerrico
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
I would like for the mobile site to redirect to:
m.greengranite.com/home

The mobile site is redirecting to m/greengranite.com - but the article on the home page is the home page from the main website and it does not look good in the mobile version. I created a similar article slightly revised for mobile and want the mobile site to land on that page.

I have searched your forum, but want to make sure I understand what I am supposed to do. Do I add this code below to the plugin? Or, has that been fixed and do I need to do something different?

$uri =& JURI::getInstance();
$parsed = parse_url($uri->toString());
$path = isset($parsed['path']) ? $parsed['path'] : '';

Thanks !
  • Page:
  • 1
Time to create page: 0.20 seconds