RSS SEF url fix for pages

+ code formatting