SELECT id AS Code, name AS Name, CONCAT('/store/cat/WFOOT/ACCESS/', replace(replace(replace(replace(replace(replace(replace(replace(id, ' ', '+'), '!', '%21'), "'", '%27'), '-', '%2D'), '/', '%252F'), '(', '%28'), ')', '%29'), '&', '%2526'), '/Women%252527s+Footwear/Women%252527s+Footwear+Accessories/', replace(replace(replace(replace(replace(replace(replace(replace(name, ' ', '+'), '!', '%21'), "'", '%27'), '-', '%2D'), '/', '%252F'), '(', '%28'), ')', '%29'), '&', '%2526')) AS URL FROM subclasses WHERE web = 1 AND department = 'WFOOT' AND class = 'ACCESS' ORDER BY Name