WordPress websites can be optimized for SEO with some adjustments to default settings and practices. On-site optimizations include using the Yoast SEO plugin to update .htaccess files and generate sitemaps while ensuring page titles, descriptions, H1 tags and URL slugs include the target keyword. Images should include clear ALT text descriptions. Off-site factors like internal linking, domain variant selection and using Google Search Console can also aid optimization. Black hat SEO tactics are discouraged as they risk penalties.