Added redirect code for chemical pages.