Added q as parameter for realurl