URL rewriting is a key feature of MWT, coupled to the detection engine it makes it possible to serve content on a device basis.
The main feature of MWT's URL rewriting engine is the presence of a device unique identifier in every generated URL (except for the home URL of the mobile site). Upon each rewriting operation MWT embeds in the URL the ID of the detected device (e.g. device ID from the last device switch). In the case of MWT installed as a Wordpress Plugin the URL syntax is:
http://127.0.0.1/mwt/index.php/mobile/ua_ID/..
Where http://127.0.0.1/mwt is the URL of the Wordpress Blog and ID is the device unique identifier.
The presence of the device identifier in the URL brings many benefits:
To find out how to link content in MWT read the section about URL rewriting in MWT APIs paragraph.