Loading...

Web - Sinhcoms :: Blog and update

How to remove .php, .html, .htm extensions with .htaccess

How to remove .php, .html, .htm extensions with .htaccess

We wanted to remove the extensions from my website, in order to make the URLs more user and search engine friendly. We stumbled across tutorials on how to remove the .php extension from a PHP page. What about the .html? I wanted to remove those as well! In this tutorial I’ll show you how to do that easily, by editing the .htaccess file.

The Simplest PHP Router

We wanted to create the absolute most basic routing code in PHP, so here it is. We will direct ALL traffic to index and route to the new files from here.

Read More

UI Libraries

Usually, the title “Material” positions a UI component library right at the top of the star-count and downloads count. Google’s Material-components-web library is the web-component version of the Material-UI library.

Read More

Pseudo-classes

A Pseudo class in CSS is used to define the special state of an element. It can be combined with a CSS selector to add an effect to existing elements based on their states. For Example, changing the style of an element when the user hovers over it, or when a link is visited. All of these can be done using Pseudo Classes in CSS.

Read More

Selectors

CSS Selectors are extremely useful for defining a query on a subset of the elements on a page. Querying allows us to do one of two things.

Read More

Classes

The class attribute is often used to point to a class name in a style sheet. It can also be used by a JavaScript to access and manipulate elements with the specific class name.

Read More

Styles

Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more.

Read More
>