solved rewrite / redirect issues