Tag: PHP

  • Remove /web part from a Composer based Drupal site

    Remove /web part from a Composer based Drupal site

    By default when you create your Drupal project using composer it will create project under /web directory. When you’re using shared hosting for your Drupal website which points your domain to /public_html folder and you’re not allow to change that pointing directory Now whenever your targeted audience will have to visit your website they have […]

  • All you need to know about Composer

    All you need to know about Composer

    All composer commands, depending on your install, may need to use php composer.phar in the install folder for composer, instead of plain composer. Updating packages This command changes only the composer.lock file. composer update Updates all packages composer update –with-dependencies Updates all packages and its dependencies composer update vendor/package Updates a certain package from vendor composer update vendor/* Updates all packages from vendor composer […]

  • How to disable RSS feeds in WordPress?

    How to disable RSS feeds in WordPress?

    You want to disable RSS feed in WordPress, and you don’t know how to do that? Here are 3 easy ways to do it. Simplest & Quickest way is Use a plugin If you’re a advance user and having knowledge of Programming Use WordPress hooks .htaccess rule to prevent access of the feeds Let’s review […]

  • 7 Best PHP Frameworks for Modern Web Development

    7 Best PHP Frameworks for Modern Web Development

    In recent days, PHP frameworks have become a great boon to websites and website developers as it allows any complex design, and of any sizes. The percentage of websites built using PHP codes is increasing day by day. This projects the popularity and importance of the PHP language for web development among all languages. Developing […]

  • Redirect non-www to www with Apache and NGINX

    Redirect non-www to www with Apache and NGINX

    It is a common requirement for system and website administrators to redirect users to a common entry point for their website — also known as a canonical hostname. This is usually in one of two directions, i.e. www to non-www   non-www to www. This brief guide shows techniques for achieving the latter and we […]

  • Change Your WordPress Login Page Without Plugin

    Change Your WordPress Login Page Without Plugin

    For modifying below all changes you have to write these function and hooks in your active theme’s function.php file. Create one directory called login into your active theme. Change the logo: Save Your Logo image as logo.png to login directory you created. Here I use login_head wordpress action for append this css to the login […]

  • Change Your WordPress Admin Url Without Plugin

    Change Your WordPress Admin Url Without Plugin

    Let’s have a quick walk through regarding changing Admin URL with WordPress. As we all know that WordPress provides us less security compare to other CMS and Frameworks. So, in this case, to protect our website from hackers we need to perform several processes like protecting admin area, give fewer primitives to database etc. If you […]