I wonder if it is possible to code in the .htcaccess file and make it redirect/rewrite to external url. It is a Joomla site.

What i want is that visitors with a mobile device such as phone or tablet should be redirected when they visit this page:
<http://www.axima.se/index.php/nytt-a-begagnat/sok-begagnade-maskiner>

This is the url that i want them to be directed to:
<http://m.dealers.mascus.com/Axima>

I found this thread, and used it for inspiration, tried some code-combination, but im not able to putting the code right together
[Redirecting only a specific page request for mobile users using htaccess](https://stackoverflow.com/questions/7030301/redirecting-only-a-specific-page-request-for-mobile-users-using-htaccess)

This code is from the other thread (for a wordpress site) and im not sure what to keep and where to put my code:

```
# BEGIN Mobile redirect for the video 
<IfModule mod_rewrite.c>
    RewriteEngine On
    # stuff to let through (ignore)
    RewriteRule ^mobile/ - [L]
    # redirect /video.html to /mobile/index.html for mobile browsers
    RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC]
    RewriteRule ^video\.html$ /mobile/index.html [L,R=302]
</IfModule>
# END Mobile redirect

```