adding query string parameter for tag and category detail view