Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 8    Views: 74

hasher13
Android Fan
Profile
Posts: 376
Reg: Jul 21, 2012
Wethersfield
8,060
03/11/13 12:28 PM (12 years ago)

Custom url is going to mobile website and not correct url...

I hope this makes sense! I am having a problem with my app and the use of custom url. One of my app uses mostly custom url which i created with my company website. ie. www.mycompany.com/app/pages. Now when I run my app, it brings up my mobile website, m.mycompany.com and not the correct pages. I think this is happening because now the DNS is pointing to the smartphone friendly website with any mobile IE, but I dont want it to for this app. Has this happened to anyone else? Is there a way to have it turn this feature off somehow? I hope that makes sense. Thanks again, Howard.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/11/13 12:37 PM (12 years ago)
Hi Howard, I think you'd have to modify your index.html page for the main site, because that's likely where the logic is to send users to a mobile site dependent on their access method (mobile vs. other). From the buzztouch perspective, there's not much you can do, I don't think, because when you access a custom URL in the app, it's using a webView, which gets identified as a mobile browser (which is actually a good thing). Is there a reason you don't want a mobile user to view your mobile website? Mark
 
hasher13
Android Fan
Profile
Posts: 376
Reg: Jul 21, 2012
Wethersfield
8,060
like
03/11/13 12:46 PM (12 years ago)
Hey Mark, thanks for the quick response. I was afraid that there might be little to do about it. I don't have a problem that the user sees the mobile app, but the page I want to display is not my website or anything to do with my company. I use the website to just host the urls. I might move it another website that I have that I have not set up for smartphone viewing. That might solve this issue. Thanks again, Howard
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/11/13 12:48 PM (12 years ago)
Gotcha. Sounds good!
 
hasher13
Android Fan
Profile
Posts: 376
Reg: Jul 21, 2012
Wethersfield
8,060
like
03/11/13 01:21 PM (12 years ago)
Yup, that was the problem. moved the files to another site and worked. I hate learning things the hard way! :-). Now onto the other apps that I assume will have the same problem. H-
 
jvalley
Aspiring developer
Profile
Posts: 456
Reg: Feb 16, 2013
Green Bay,Wi
9,360
like
03/11/13 02:04 PM (12 years ago)
Howard I had the same issue.. I just made a subdirectory for each app... appname.mysite.com for each app Now when i direct it goes directly to the website for the app...
 
hasher13
Android Fan
Profile
Posts: 376
Reg: Jul 21, 2012
Wethersfield
8,060
like
03/11/13 02:09 PM (12 years ago)
@jvalley-so you made the subdirectory in the root directory? Howard
 
jvalley
Aspiring developer
Profile
Posts: 456
Reg: Feb 16, 2013
Green Bay,Wi
9,360
like
03/11/13 02:23 PM (12 years ago)
Yes I made a sub off of the root so it would look like ... appname.mysite.com If i directed to a html on the main site it would go to my main mobile page and i would have the same problem Then i made all the html pages mobile... I then direct my urls to appname.mysite.com/mypage.html I made a new page for each.. This way the url is not directed at mysite.com and i can customized my app pages without messing with the original site... For every new app that I will need a custom url page i will make a new sub directory for it..
 
hasher13
Android Fan
Profile
Posts: 376
Reg: Jul 21, 2012
Wethersfield
8,060
like
03/11/13 02:27 PM (12 years ago)
Sounds good, thank you!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.