Friendly URLs by .htaccess Rewrite
In this tutorial you will learn how to replace your messy URLs with nice ones. There are many reasons to use pretty URLs:
- easy to remember
- looks great
- search engine friendly
- easy to link
Here is a messy URL:
And this is the nice URL what we like to have:
Let's get started. Open Notepad or any plain text editor.
Insert this code to your file and save it as .htaccess without any extension:
RewriteEngine On RewriteRule ^([a-zA-Z0-9_-]+)/?$ index.php?page=$1
The final step is to upload this .htaccess file to your website root folder.
Redirect www to non www with .htaccess RewriteRule
Redirect your websites visitors from www.domain.com to domain.com without www.
Unordered List Style Image CSS
Learn how to style UL with any image using CSS.
OL and UL List CSS Style
Styling ordered and unordered lists is easy. Just write a single line of CSS to change the list style type.
We welcome any comment from you! Please keep in mind that comments are moderated and rel='nofollow' is in use. So, please do not use a domain as your name or a spammy keyword, or your comment will be deleted.