Htaccess file for WordPress

Created at: 2019-08-12 16:50:18 Updated at: 2019-08-13 11:02:44

in Apache, Wordpress

    ### Htaccess file for WordPress project.
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

If you want to force http request to https then add following code after RewriteEngine on

    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Magento2 Directory Permission

Created at: 2019-08-12 16:48:23 Updated at: 2019-08-13 11:02:09

in Apache, Magento

Here is the quick developer permission for your magento root directory. Just go to your magento root directory and apply following command using your terminal.

    find . -type f -exec chmod 644 {} \;
    find . -type d -exec chmod 755 {} \;
    find var/* -type d -exec \

When the sun comes up, you’d better be running.

Created at: 2019-08-12 16:55:32 Updated at: 2019-08-12 16:56:52

in Inspiration, Quotes

Every morning in Africa, a gazelle wakes up, it knows it must outrun the fastest lion or it will be killed.

Every morning in Africa, a lion wakes up. It knows it must run faster than the slowest gazelle, or it will starve.

It doesn’t matter whether you’re the lion or a gazelle-when the sun comes up, you’d better be running.

FYI View