Changing URLs so will work with posts layout