Python for Entrepreneurs Transcripts
Chapter: SEO and Content Marketing
Lecture: Content examples

Login or purchase this course to watch this video and the rest of the course contents.
0:00 SEO and content marketing make it more likely that prospective customers are going to come across your business.
0:07 Let's take a look at Full Stack Python as an example for each of the topics that we're going to cover in this chapter.
0:12 I am just going to walk through the process that I use and point out some non-intuitive points which we'll dive into throughout the chapter.
0:18 You can follow along by just opening up an incognito browser either in Firefox or Chrome, the reason why we're using incognito is
0:25 because Google tailors the search for your search history, which can throw off your results compared to someone else who is searching.
0:32 This is not an exact science, some of your customers are already going to have a search history but we use incognito mode
0:38 to provide a baseline for searching for common terms and keywords that you believe your customers are going to be searching for.
0:44 Let's take a look at a couple of examples, so my book on Python deployments, typically goes along with web development,
0:50 so if someone searches for "Python web development", I want my website with good quality content
0:56 that is going to help that user to appear first, organically. And that is the first thing that we're going to see here,
1:01 we can't necessarily get the top spot on Google, because what you can see is that an ad appears on top,
1:07 from one to four ads can appear on every Google search, there is nothing we can really do about that
1:12 unless we want to pour a lot of money into adwords. What we are really targeting here with content marketing
1:16 is the organic search results, and that is what we can see here, web development for Full Stack Python appears first in this list of search results.
1:24 A couple of things we can see about this, number one, we've got the full title for this web page,
1:29 we've got the specific URL including bolded parts of the URL that matches our search terms, "Python web development".
1:37 That is an indicator, not only to Google but for the searcher that this web page is exactly the content that they are looking for
1:44 and then we have a short description down here, web development, they catch-all term for activities, and learn more in Full Stack Python,
1:50 it has bolded the search terms, now if we click on this result, it's going to bring up obviously the page, and now we're on Full Stack Python,
1:57 now on this page in particular, I have an advertisement for the Full Stack Python Guide to Deployments,
2:03 it's just the first way that someone can see that there is a deployment book that is related to the search term, but it's not in their face,
2:09 there is no pop up, they can pretty much ignore if they want to, and that's fine,
2:13 what is really important here is the content that is going to help them solve whatever problem they have, web development is very broad term
2:19 so the problem that they have is probably they just want to know what it is, maybe someone told them about using Python for web development
2:26 and they wanted to learn more about how Python is used for web development and this is one of the first things with content marketing,
2:32 you do need to make some assumptions about what problem you're solving when you're creating a piece of content, sometimes it will be obvious,
2:38 if you're solving a specific stack trace error in someone's application, obviously there is a solution based on the set of steps that you could take,
2:47 that solve that problem, and fix the stack trace. In this case, we're really just providing information about web development,
2:52 so there is a couple of key pieces here and I am going to pull up a Chrome developer tools.
2:55 Let's highlight this header tag, this H1 tag, it's web development, and this pulls up the source code down here.
3:04 You should only have a single H1 tag on a page, that is one of the first rules. Because the H1 tag is an indicator of what this webpage is about,
3:12 let's scroll through here, and we can see that we've got a bunch of description that explains
3:18 how Python fits into web development and then provides more resources.
3:21 And to be honest, this is not actually one of the better pages on Full Stack Python, it's much shorter in content length than it should be,
3:28 but it at least provides a starting point for Python web development and since this is a very broad search term,
3:34 it's likely that is one of the reason why it appears at the top of Google. In addition, it has all the terms that people are looking for
3:41 related to Python web development and there are many links to other pages with concepts such as web frameworks and specific web frameworks in Python
3:49 that again are an indicator to Google or any search engine that this is a good page on web development.
3:56 Now we've run this search in a desktop web browser, but not everyone is going to be reading or searching for content on the desktop,
4:03 they may also want to find it when they are on the mobile phone, commuting to work, something like that, so let's open up a new a tab
4:09 and we'll again open up a developer tools and here is a little trick for searching on mobile
4:14 when you are just in your own development environment on your laptop. Click this little icon down here, and now we've gone
4:19 into the mobile simulator on Chrome. And we can simulate searches from different phones,
4:25 and what typically this is used for is seeing how your website looks in various browsers.
4:30 It's really helpful for when you're doing your development work you can say "well, how does this look on an iPad, how does this look an an iPhone?"
4:36 And the answer should always be "it looks awesome!" It looks just as good as the desktop version,
4:41 because people are searching both on mobile and on desktop and you want to support both. And you can do that by making sure that your CSS,
4:48 which you learned about earlier, is following responsive design. Now let's try this search term again, on the iPhone 6, simulating the iPhone 6.
4:54 And we can still search up top here, we can say "Python web development", now it's a little small, so let's bump up the size here.
5:07 Now we can see there is two ads, and then again, Python web development pops up. Now the layout is a little bit different here, instead of the full URL
5:19 we're seeing almost a categorization but this actually still follows the URL, saying the site is Full Stack Python and it's one level deep.
5:27 When we click on it, we'll see that there is, and this is the URL structure, it's at the base URL, there is no subfolder for example
5:36 if we were to say blog in here, it's not under the blog subfolder, it is just one level deep on Full Stack Python.
5:45 Now how does this look on mobile? It looks pretty good compared to the desktop version, we've taken away the sidebar, or actually
5:52 the sidebar is down below, below all the choices so if we scroll all the way down, then we'll see the advertisement, for the Guide to Deployments book,
6:01 the email updates and then we have chapters, now the one thing about the chapter is instead of listing everything out,
6:07 like we can see over here, we have every single topic, that is listed out on the desktop version, which is fine on the desktop
6:15 in case you want to just quickly bounce over to different topic. On mobile, that is a real pain in the butt, the way that I've designed this is
6:22 just show the high level chapters, so when you click on any of these, you'll see you can get immediately to that chapter
6:31 and then you would have to click on all topics if you want to go to a drill down page such as postgres. So the general theme is, think about the topics
6:40 that your users are going to be searching for, if you built a business related to selling vacuum cleaners,
6:46 you wouldn't create Python content, you would create content about what the best vacuum cleaners are,
6:52 or common solutions to fix an issue with your vacuum cleaner, like how to clean the bag in the vacuum cleaner, things like that.
6:58 So you'd write content, that is going to solve the problems of that user. Let's take a look at one more thing and we'll do that
7:04 by doing the view source on the web development page, I want to point out some important elements on this page,
7:10 that we're going to dive into further in the next few videos. Now you already know I'll write HTML and there is some important elements here,
7:18 one of which the meta description, meta name="description", is not actually a required element on a web page,
7:24 but it's really important because this is what often sets the description that people see when they search for a specific term,
7:33 so again, "Python web development" and we can see, web development catch all term, if we look at the meta description this actually matches exactly
7:43 what is in this meta description and the search results. Now that is not guaranteed to happen, but if you put the right terms
7:50 into the meta description it's likely that this is what is going to pop up as the description on the search results page.
7:57 A couple of other things, one is the title, and it's a unique title, that is specific to this particular page, web development on Full Stack Python,
8:06 so it has these search terms that are commonly associated with this, in the title itself, and then the title is very similar to the H1 tag
8:14 but the H1 tag has just the header that has exactly what this page is on, let's take a look at one more example.
8:21 Let's say we want to write a book or some guide on monitoring and we want people to be able to find monitoring.
8:27 Now, I have a page on that as well, and you will see it follows the same pattern as the other one, we have a nice, clean H1 tag, good URL structure,
8:35 that is not too deeply nested in a bunch of subfolders, and again, we have a bunch of useful information
8:41 along with links to other projects and services that are going to be useful for someone who is searching for monitoring for a Python application.
8:48 Let's talk about a few things that I have not done on here. First off, if we take a look again at the web development page,
8:56 this is not an H1 tag, if we had this top banner as an H1 tag there would be two H1 tags on the page and that would confuse
9:06 not only the person who have visited that page but it would also confuse the search engine as to what exactly is
9:12 the content that is on this page, so this is just a link and it's styled with a larger font, but it is not the H1 tag.
9:19 Another bit that is important here is that this page when we go to the source it's very simple lightweight amount of HTML and other related content,
9:28 for example, the CSS is minified, which means that it's all compressed down together in a single line or as close to a single line as possible
9:38 and it's been hand tuned to make sure it's as fast as possible and there is no JavaScript outside of one addition here
9:45 and that is just Google analytics, so we do have a Google analytics snippet here but it loads at the very end of when the page loads
9:52 because it's in the last element that appears right before the close of the body,
9:55 there is no other jQuery or React or Angular, nothing like that on this page,
10:00 which means that it loads extremely fast and site speed is really important for appearing higher up in the search results.
10:07 So that is a quick overview with a couple of example pages and example queries, where in my case with Full Stack Python
10:13 it's advantageous to appear at the top of the search results for these search terms.
10:17 So, it's going to depend on what your business is, who your audience is, so you're going to want to write down a bunch of the search terms
10:23 that you want your site and your content to appear at the top, and then you can start writing on that topic.
10:29 If you write consistent, clear, accurate and really useful information, over time, your content will begin to appear higher up in the search rankings,
10:37 and that is pretty much what SEO is all about, there is no dark arts here, it's just a structured set, a fairly simple activities
10:43 to make sure that you have a clear set of keywords for your content.

Talk Python's Mastodon Michael Kennedy's Mastodon