Questions? Call (860)407-2687
find us on:

🎬 Video Showcasing Traits of HTACCESS Code to Remove the PHP Extension from URL

short url:

On the left is a menu of Video Quick Jump Links that lets you to skip to any section of the video on 🎬 Video Showcasing Traits of HTACCESS Code to Remove the PHP Extension from URL you want.

Below you can see the entire text transcript for the video 🎬 video showcasing traits of htaccess code to remove the php extension from url that you can read along whilst the video is going.

If you need to, you can look at these image and video instructions (links open in new window) ...

Text Transcript of Video Showing 🎬 Video Showcasing Traits of HTACCESS Code to Remove the PHP Extension from URL

00:01 In this video I'm going to show you how you can use .htaccess to remove or hide the .php extension at the end of URLs and what I mean by that is if you have a website and the web pages are .php pages, the url in the address bar of your websites visitors web browser is going to end with .php.

00:23 This is somewhat of a security risk, letting the world know your websites pages are driven by php but it's also not as professional looking as if your websites web page addresses ends without the php at the end. Here is another example of a php website where you do not see the php extension at the end of the web pages url. It's just a little bit neater and better way to display your websites web pages to your visitors and this is easy enough to pull off with a simple entry in your web servers .htaccess file.

00:52 This is the .htaccess code here and to remove the .php extension from your websites urls your web server needs to have an .htaccess file. Most people today use WordPress so if you do your website does already have an .htaccess file. What you want to do is download this htaccess file using a program like Filezilla which is free. Navigate to the root of your websites web server with Filezilla and look for the file that reads .htaccess. In the left side of Filezilla will be the files and directories on your computer. Select the location you wish to download your web servers .htaccess file to. In the right side of Filezilla double click the .htaccess file to download it to the location you selected on the left side of Filezilla.

01:41 If your web server does not already have an age to access file you can easily create one by right click on your computers desktop, select NEW >> TEXT DOCUMENT. Open this newly created file up, copy and paste the .htaccess code on this web page into this new text file. If your web server already has an .htaccess file and you've downloaded it to your computer, double-click the file to open it, create a blank area within the .htaccess file by clicking the mouse cursor in the file and pressing the ENTER key a few times to create a separate blank area to paste the hide php extension code to. Save the .htaccess file with the hide php extension pasted in. Make sure the file get saved literally as .htaccess. There is no text before the period.

02:32 If your web server already had a pre-existing .htaccess file re-uploaded replacing the old .htaccess file with the new one. If your web server does not have an .htaccess file, upload the one you just created, using Filezilla, to the root of your web server. Immediately after uploading the htaccess file you can navigate to any of the pages on your website and you will no longer see .php at the end of your web pages url's. Keep in mind you do not have to change any of the links on your website. The current links on your web pages that end with .php, when your website visitors click on these links they'll still be directed to the appropriate pages, the difference being the .php will no longer be visible in your website visitors web browsers address bar.

You may down load the finished text transcript of this 🎬 video showcasing traits of htaccess code to remove the php extension from url.

CONTENT RELATED TO 🧾 TECHNICAL DETAILS OF HTACCESS CODE TO REMOVE THE PHP EXTENSION FROM URL



How To Quickly Scroll To The Bottom Of Facebo

... the endless scrolling and allows you to scroll to the bottom and new content does NOT keep appearing, use the following bookmark below. Scroll to Fixed Page Bottom Now, when you get to a page where y ...

Html Code Example Auto Refresh Multiple Image

... e html code for mulitple images on a single web is found in the text area below. Note: make sure to alter the html image code that is red to meet your needs, ie proper image ID, number of seconds betw ...

What Does Google Analytics Tracking Code Look

... etty short and simple piece of Javascript code. Placing this code on the pages of your blog or website will allow you to see lots of information about the visitors to your website include, live, real ...
Question ❔
Back to Top
S
H
A
R
E