php or javascript redirect code needed

I need a simple redirect code written.

I am running a flash based desktop photo portfolio site which can load specific content with URL permalinks. I also have an iPhone and iPad version of the site.

I have a simple redirect code in the header of my [url removed, login to view] that detects for iPhones etc and send them to the appropriate site, however I need to add another level to this to make the permalinks work across all platforms, that's when you step in:

Needs to detect if on desktop or mobile, if desktop, URL stays the same, if mobile, URL should redirect to:


[url removed, login to view]


[url removed, login to view]

The albumID will be variable...

It also needs to maintain the simple redirect of:

[url removed, login to view]

Should remain the same on desktop and redirect to:

iPhone - [url removed, login to view]

iPad - [url removed, login to view]

Thank you,


Skills: Javascript, PHP

See more: id to code, index php id, flash cc, php level 3, php html javascript, load php, mobile html redirect code, php load html, detect php, php http redirect, php album, add mobile redirect code desktop site, javascript url php, javascript detect mobile, javascript etc, html load php, ipad javascript, html javascript code simple, redirect mobile desktop, html mobile redirect code, http redirect, redirect code, http javascript, html version php, redirect url code

About the Employer:
( 4 reviews ) London, United Kingdom

Project ID: #1094071

Awarded to:


please check your pmb

$30 USD in 1 day
(159 Reviews)

4 freelancers are bidding on average $35 for this job


Please view PMB. Thanks

$30 USD in 0 days
(179 Reviews)

Hello,check PMB pls.

$50 USD in 1 day
(95 Reviews)

Lets do it!

$30 USD in 0 days
(8 Reviews)

Hi check pm.

$30 USD in 1 day
(0 Reviews)