View Source
Illustration by John Hersey

View Source

with Ray Villalobos

Video: 001 Creating a custom URL in WordPress

Hello! This is Ray Villalobos and welcome to View Source! This week we're learning about customizing your WordPress URLs to optimize your site for search engines. So if you dream of your site traffic soaring like an eagle, then it's probably time to View Source. Whether you're a designer or developer, it's important to understand how you can optimize your site for search engines. There is a lot of advice out there including lynda.com's excellent series of tutorials in the Online Training Library. If you're just getting started, you should definitely check out Google's SEO Starter Guide which is part of their Webmaster Tools, available in Webmaster Central at google.com/webmasters.

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now
please wait ...
Watch the Online Video Course View Source
2h 10m Intermediate Jan 20, 2012 Updated May 25, 2012

Viewers: in countries Watching now:

The View Source weekly series offers 10-minute projects on intermediate and advanced web design topics, covering technologies such as HTML, PHP, jQuery, and CSS, as well as content management solutions like WordPress and integration with Twitter, YouTube, and more. Each movie in the course is self-contained and shows how to accomplish an interesting effect and/or technique. Example projects include creating datepickers and custom photo galleries, and mapping and geotagging with Google Maps.

Topics include:
  • Creating a custom URL in WordPress
  • Adding breadcrumb links to sites
  • Creating a toggle button with jQuery
  • Adding Twitter feeds to a site
  • Adding PayPal buttons to pages
  • Uploading photos to your web site
  • Embedding videos for different browsers and devices
  • Parsing and placing a YouTube video feed
Subject:
Web
Software:
WordPress
Author:
Ray Villalobos

001 Creating a custom URL in WordPress

Hello! This is Ray Villalobos and welcome to View Source! This week we're learning about customizing your WordPress URLs to optimize your site for search engines. So if you dream of your site traffic soaring like an eagle, then it's probably time to View Source. Whether you're a designer or developer, it's important to understand how you can optimize your site for search engines. There is a lot of advice out there including lynda.com's excellent series of tutorials in the Online Training Library. If you're just getting started, you should definitely check out Google's SEO Starter Guide which is part of their Webmaster Tools, available in Webmaster Central at google.com/webmasters.

One of the nuggets of information is to make sure you optimize your site URLs. As Google says, if your URL contains relevant words, this provides users and search engines with more information about the page than an ID or oddly-named parameter would. Because WordPress generates sites from a PHP and MySQL engine, its default URLs leave something to be desired. If you click on one of these articles, you'll see that the URL to the articles become the name of the site, ?p=8.

Not very descriptive. If you go to your admin settings, go to your Settings section, then click on Permalinks, you'll see that there's some options here but a lot of them organize things by date. WordPress's blogging heritage really shows up in here. It would be great to be able to use categories and titles in the URLs because they would provide great keywords to Google. But it's not even one of the custom options. Thankfully, we can type-in a custom URL structure and WordPress has a list of tags you can use to make this better.

There's a lot of options but my favorite is having Google include the category name as well as the post name in the URL. That will place your category title, and then your post name and build a much better URL for search engines. I'm going to save changes, and of course, that means that you might have to create your own categories. So to do that, go to your Posts and click on Categories, and I have one set of categories, you may have a default uncategorized section here. You can simply add a new category by typing in a name right here, and hitting Add New Category.

You should also go to Settings and then Writing, and make sure that you change your Default Post Category to whatever you want your default to be, otherwise your default category would be uncategorized. Now when we go to the web site, and we click on a story or a post, you'll see that the name of the category appears as part of the URL, as well as the title of the article. This provides a lot more keywords to Google and is a lot better for our users. For more tips on search engine optimization, don't forget to visit the Online Training Library.

And remember that if your CMS is your BFF, then you've probably got lots of time to View Source.

There are currently no FAQs about View Source.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed View Source.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.