On-page optimization deals with the structure and content of a website whereas off-page optimization helps to increase the search engine ranking by fetching external links to point back to it