When it comes to optimizing your website for search engine rankings, there are two main types of SEO: on-page and off-page.