|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/creating-php-clean-urls-in-apache-with-htaccess/
课程评论:没有评论
课程名称:为出色的CMS博客应用创建PHP干净URL 课程概述:欢迎参加本课程,学习如何在PHP和Apache中使用htaccess创建干净的URL。在本课程中,您将了解如何在Apache服务器中使用htaccess创建干净的URL。我们将使用一个基于PHP和MySQL开发的简单内容管理系统应用程序。课程内容包括主页的文章显示、特定类别的文章展示以及如何将这些URL转换为干净的格式。 本课程将向您演示如何将不适合SEO的单个文章页面URL转换为仅包含文章标题的干净URL。此外,我们还将创建一个联系页面,并移除URL中的PHP扩展名。最终结果是一个更加友好的URL结构。我们将首先移除URL中的PHP扩展名,接着创建单个文章页面的干净URL。随后,我们将优化类别页面的URL,使其变得更加简洁,同时处理分页链接,使其在类别名称之后显示。 通过学习如何使用htaccess在Apache服务器中创建干净的URL,您可以提升自己的技能,并在不到一小时内完成本课程,内容易于理解。完成课程后,您将有信心在项目中创建干净的URL。欢迎加入课程,我们在课堂上见!
Hello, welcome to this course on creating clean urls in php & apache with htaccess. In this course you will learn about creating clean urls with htaccess in apache server Here I'm using simple content management system application developed in PHP & MySQL. This is home page used to display all the articles and these are category pages to display articles based on specific category. Here you can see the category url I'm going to convert these into clean urls These are the single article pages, here you can see the urls these urls are not good for seo. I'm going to convert them into clean urls only just the title of the article. And also I've created a contact page for this page I'm going to remove the php extension. This is final result after making the changes to this cms system We will start by removing php extension from url. After that we will work on creating clean urls for single article page and final output will looks like this. Next it's category urls, after making category urls as clean urls you will see like this. I'm displaying a category directory without a real directory in our file system. In category pages we will work on making pagination links as clean urls, pagination number after category name. By learning about clean urls with htaccess in apache server, you can take your skills to next level. And you can finish this course less than 1 hour and it's easy to follow. After this course you will feel like you can create clean urls in your projects without any doubt. Take action and join the course, will see you inside the course