I am enabling one of my sites to redirect certain pages to mobile versions. Ive read blog posts by Steve Sanderson and Shiju Varghese regarding Attribute usage and 51degrees.mobi.
What I would like to have happen is a given page, dealer-locator, redirect to /mobile/dealer-locator if the device is a mobile device. To accomplish this, I have set up an Area with the dealerlocator controller and the necessary views. Ive tested the code directly and it seems to work properly.
When I visit the site from an actual device or FF with the user agent changed to iPhone 3.0, I get redirected to /mobile. Is there a simple way to map page routes to mobile routes?
I should mention that the site uses isapi_rewrite and the page in question has rules that map /dealer-locator to /dealerlocator and dealerlocator is a controller.
Ive also noticed that form posts don't appear to work properly so it does a get for now.