How to use .htaccess to Rename the login directory or page of a Website

The URL layout configuration with the mod_rewrite (the apache module that handles URL rewriting) in the .htaccess file can be changed.  This is very common with CMS systems like WordPress that have a specific path and you want to rename it. RewriteRule ^login/?$ /wp-admin.php [QSA,L] RewriteRule ^login/?$ /wp-login.php [QSA,L] This will basically translate any request […]

read more

WordPress php Tricks – shorten the excerpt length of a blog

I won’t take too much time cause you need to cut down on the default WordPress blog  excerpt length. It’s too long and you want to reduce the excerpt words up to 20 words (or less). Just add this code to the functions.php file in your wordpress theme file directory. Here you go Ninjas. function […]

read more

How to Organize the Navigation Menu Correctly in WordPress

It’s important to make the navigation as simple and intuitive for the user to get to the right post or page. Pages are not blog post and they are NOT news posts. Pages are fixed, timeless, they never change and don’t focus their information around a date. Posts are not timeless and can be outdated. […]

read more