Patent ID: 8631097

Claim:
A computer-implemented method, comprising: identifying, by a processor, a first mobile URL, the first mobile URL associated with a mobile version of a first web page and corresponding to a first non-mobile URL, the first non-mobile URL associated with a non-mobile version of the first web page; determining, by the processor, one or more matching character strings between the first mobile URL and the first non-mobile URL, each matching character string including a common substring, the common substring appearing in both the first mobile URL and the first non-mobile URL and being at least a predetermined length; determining, by the processor and for each matching character string, a pattern specifying the matching character string; defining, by the processor and based on the patterns, a rule for generating, from an input non-mobile URL, an output mobile URL; applying the defined rule to a second non-mobile URL to generate a second mobile URL; and verifying that a webpage associated with the second mobile URL corresponds to a webpage associated with the second non-mobile URL.