Python for Entrepreneurs Transcripts
Chapter: SEO and Content Marketing
Lecture: URL structure

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Time to take a quick look at URL structure. I say quick look for a reason.
0:04 I want to keep this as simple as possible, let's look in an example.
0:08 If you go in Full Stack Python, and you click on any of the pages
0:12 that are listed in the all topics, for example, web frameworks,
0:15 we can see the URL up here at the top, there are no subfolders
0:19 between the base URL fullstackpython.com and this particular page,
0:23 it's a simple URL as possible with perhaps the .html.
0:27 Now, the .html provides no penalty
0:30 so whether you have a clean URL with or without that,
0:33 for example, if we just had web frameworks, be the same thing,
0:36 and I suggest for each of your pages, don't nest more than one folder deep
0:40 so what do I mean by folder?
0:43 I created a blog last year and this is for specific topics,
0:46 the blog top of the page is not in our folder, but when you click on an individual post,
0:50 you will see that it is under the blog folder,
0:53 some blogs have the month and year listed for example
0:58 let's say it's 2017 and it's December, and this would create a new URL structure
1:04 where you actually nested four levels deep.
1:07 So blog 2017, December I strongly recommend against doing that,
1:11 there actually is a penalty the further down something is nested.
1:15 The reason behind that is, the further something is nested,
1:18 it seems like it's less important
1:20 so it's less likely to appear at the top of the search results.
1:23 It's also just a longer URL, keep your URLs as short as possible,
1:26 while still maintaining all of the keywords that you want people
1:30 to find your content when they search for those keywords,
1:34 now a couple of other simple rules, you'll see
1:36 that I have "How To Make Phone Calls in Python" as the full title but the URL
1:40 only has make-phone-calls-python, and that is because the filler words
1:44 like "two, in, a, and" don't need to be in your URL, just keep it to the keywords.
1:50 I could have just as easily said "how-to-make-phone-calls-python"
1:54 but I kept it as short as possible, short URLs are better not only for search rankings,
1:59 but also if someone wants to give the URL directly to someone else,
2:03 they don't have to use a URL shortener like Bitly
2:06 in order to send over something that is not a gigantic piece of text.
2:09 So keep the slug, what is often referred to as the slug,
2:13 as short as possible, for the content that you create.
2:15 This is one that you don't need to overthink, make sure that the fully qualified URL
2:19 is only one folder deep in the URL and keep that slug simple with the keywords
2:24 that you are targeting and remove any extraneous words
2:29 like "and, to, the" from the URL.
2:32 By following those simple rules, very clean URLs,
2:35 they are more likely to appear at the top of the search results.