Fix/redirect

If no redirects exist for optimized page, and requested URL is not equal to optimized value, then show 404.
Changed the way how to create redirects, and how to do 301 regarding to redirect table.