Redirecting attachment pages, replacing URLs in content.