Need to place code for redirect for mobile devices...
Posted 14 years 6 days ago
Hey Guys,
I had one of my clients have another company design a mobile site for another subdomain. I'm trying to figure out where to place their php code. They said where the header is...
Re: Need to place code for redirect for mobile devices...
Posted 14 years 5 days ago
What CMS and what template are you using? Joomla, Wordpress? The template you're using will make a difference as to where it goes too...gantry, not gantry.
Re: Need to place code for redirect for mobile devices...
Posted 14 years 4 days ago
Ben- So sorry.
Yea I'm using Joomla 1.5 Metamorph V2.
I tried looking at a number of different files, but honestly not sure where to start. This is also the same place I'd edit/add janalytics code for a new module position...
Re: Need to place code for redirect for mobile devices...
Posted 14 years 3 days ago
Everything you need to enter in can go in to the template's "index.php" file.
I'm not sure if they need the code to go into the "head" of the file or in the "header" area of the file, but both are plain to see in the code.
Chances are the redirect will go in the "head" between the html head tags as that's a url redirect and the analytics will go in the "header" part which is what shows on the web page.