-
AuthorPosts
-
May 22, 2011 at 7:04 pm #164306
I want to have the mobile site of a Joomla Art (JA_Wistery) site be redirected to an external link.
The mobile site (working, and CNAME redirect setup) is http://m.ritteragency.com
The actual site is http://www.ritteragency.com
the mobile site developer wants has given these directions:
“
Here are the instructions to provide to your web hosting company to launch the mobile site.
Add these 2 CNAME records to the ritteragency.com.com domain:
m p.agentform.com
mobile p.agentform.comAs soon as you can get to http://m.ritteragency.com and view the mobile website, THEN add this script tag to the home page in the <head> tag, above all other script tags:
<script type=”text/javascript” src=”http://m.ritteragency.com/javascripts/r.js”></script>
It’s important to wait to add the script until the DNS has updated and you are able to see the mobile site”
.I executed the first step. adding the script tag to the homepage, I am lost, where to add it.
Can you please help? I sincerely appreciate it, I have been struggling with this.
I added it in various places in index.php, and I get error messages, on the regular site.
Any ideas?
May 23, 2011 at 6:17 pm #392493Folks, really appreciate any quick help.
cheers,
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
May 23, 2011 at 6:56 pm #392499What error messages do you get?
May 24, 2011 at 1:08 am #392550<em>@phill luckhurst 242108 wrote:</em><blockquote>What error messages do you get?</blockquote>
If I put the script right on top, before the php opening, I get these errors:
Warning: Cannot modify header information – headers already sent by (output started at /home/ritte1/public_html/index.php:1) in /home/ritte1/public_html/includes/joomla.php on line 697
Warning: Cannot modify header information – headers already sent by (output started at /home/ritte1/public_html/index.php:1) in /home/ritte1/public_html/index.php on line 253
Warning: Cannot modify header information – headers already sent by (output started at /home/ritte1/public_html/index.php:1) in /home/ritte1/public_html/index.php on line 254
Warning: Cannot modify header information – headers already sent by (output started at /home/ritte1/public_html/index.php:1) in /home/ritte1/public_html/index.php on line 255
Warning: Cannot modify header information – headers already sent by (output started at /home/ritte1/public_html/index.php:1) in /home/ritte1/public_html/index.php on line 256
Warning: Cannot modify header information – headers already sent by (output started at /home/ritte1/public_html/index.php:1) in /home/ritte1/public_html/index.php on line 257
May 29, 2011 at 5:54 pm #393433Can anyone please help?
thanks,
September 1, 2011 at 8:55 am #410013You can disable warnings in your php.ini or script.
error_reporting ( 0 );
into the scriptother way – put
display_errors = Off
into php.ini (you must create this file)or
error_reporting = 0 -
AuthorPosts
This topic contains 6 replies, has 3 voices, and was last updated by peterweber 13 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum