Tal como dice Muzztein tienes que usar lenguajes del lado del navegador como javascript
Código:
<script type="text/javascript">
if(screen.width==800)
location='pagina1.html';
else
location='pagina2.html';
</script>
screen.width //ancho
screen.height //alto
pruebalo
Código:
alert("resolución; " + screen.width + "x" + screen.height);
usa el buscador en javascript hay bastante ayuda