Contents
Why do you need to use permalinks in WordPress?
Permalinks determine how WordPress choses the URLs to use for different types of content on your site. LearnDash provides additional permalink settings to let you customize how your URLs are structured for courses, lessons, topics & quizzes.
Where do I put my permalinks on my website?
Each page in your site (including posts, pages, archive pages, and other pages such as the 404 page) will have its own permalink. So, for example, your home page will be at yoursite.com, while your blog is at yoursite.com/blog.
What’s the easiest way to set a permalink?
The simplest way to set a permalink is using front matter. You set the permalink variable in front matter to the output path you’d like. For example, you might have a page on your site located at /my_pages/about-me.html and you want the output url to be /about/.
How are permalinks converted to optimized URLs in Apache?
The way these “ugly” URLs are converted into optimized permalinks depends on your web server. If you are an Apache user, you’ll be required to add a set of rewrite directives into the root folder’s .htaccess file. If you are an Nginx user, you’d add a try_files directive into the main configuration file. But don’t worry!
Why do I need A post type slug in WordPress?
The reason WordPress uses this ‘paired’ post type slug + post slug logic is because post slugs are not unique across all post types. In other words, you are allowed to have both a lesson and a topic with the same slug. If post slugs were global, then you wouldn’t need the post type slug part of the URL and could just use:
Can you change the default permalink for a course?
If you’re using categories and/or tags for your courses, lessons or topics, you can change those permalinks as well. Nested URLs will restructure lesson, topic & quiz URLs so they are nested hierarchically within the course URL. Here’s the default topic URL (with nested URLs turned OFF ):