473,788 Members | 2,897 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Redirect website to mobile site

142 New Member
Hi,

Is there a code I can use to redirect a user on a cell phone from one page to another.

Basically what I want to do is if a user comes to my website on a cell phone I want to re-direct him to my mobile home page.

Thank you.
Feb 1 '08 #1
1 3083
markmcgookin
648 Recognized Expert Contributor
Hi,

Is there a code I can use to redirect a user on a cell phone from one page to another.

Basically what I want to do is if a user comes to my website on a cell phone I want to re-direct him to my mobile home page.

Thank you.
You can catch this with a dynamic CSS driven page that will detect whether or not the user is on a mobile.
Feb 1 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
2620
by: Dan Nash | last post by:
Hi Subject line doesn't make sense I know. Basically we have a number of people on our system. They can sign up automatically and create their page. What I want to be able to do is give them their own url (eg. www.mydomain.com/theirsite). Because they can sign up without our interference, I need some way of creating a directory, with an index page that goes to their site, or some
3
6109
by: Carla | last post by:
Is there a way for my website to redirect handheld and mobile browsers to another set of pages that are optimized for mobile/tiny browsers? I've seen this done but I couldn't find any sign of a redirect in the html. I've looked for information about this in usenet archives, but to no avail. Thanks very much for any help in advance!
8
4892
by: Victor | last post by:
I need to redirect to another web page, but that redirect will include the submission of form data. So, unlike ServerXMLHTTP which stays on the originating web page, I need the script to redirect to the page that I'm submitting the POST data to (without pressing a submit button). Any suggestions? Thanks, Victor
3
4581
by: Carlos | last post by:
Hi all, I was just trying to execute sample code to redirect the output to a mobile page from a Pocket PC but it did not work. I tried from the root aspx file (page_load event): if (Request.Browser == "true" ) Response.Redirect("indexm.htm"); else
5
1513
by: Peter | last post by:
Hi All, I am a novice .NET developer, using a 60 trial version of VS.NET 2003 to learn .NET. I would like to develop a website which can be accessed from a mobile device. What are my options, - If I am to use .NET, then do i need a licensed version of .NET for this. - Can I develop my small website using my 60 day trial version & deploy this
5
4573
by: venner | last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET 2.0. The website makes use of a central authentication service (CAS) provided at the university I work for. Each page checks a session variable, and if it is not present, does a Response.Redirect to a webpage for the CAS passing a url parameter for the url to post back to. The CAS provides a page for the user to log into, validates the username and password, and then...
3
2273
by: glezaber | last post by:
Hi, I´ve two websites stored in IIS 5.0, and what I want is to Redirect from A website to B website, the problem is that doesn´t work because if I use Response.Redirect (http://localhost:5080) where is the A website from the B, it only works in the same machine, because if you try doing it from another one it takes de localhost directly without asking for the correct parsing. I tryed too doing it with the Server.Transfer, but that doesn´t...
56
7245
by: UKuser | last post by:
Hi, I'm not sure if this can be done as I've searched the web and this forum. I am using an online merchant provider and I must post certain variables to their webforms through a form on my website. The issue is that I need to gauge whether a user has any items in their basket to decide which page I redirect them too. I could
4
2207
by: mbatestblrock | last post by:
I was not sure whether or not to post this here, or in the Misc. forum. Here is my situation: We have a website that needs to running on IIS. We are running server 2003, and IIS 6, of course. We need to put up a wordpress blog on the site as well. So I just created a directory where the website is stored on the machine, got php installed as ISAPI, at first, then throough all the problems, tried it as CGI, and Fast CGI. And still had...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10113
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7519
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5402
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4074
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2896
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.