Ionic framework Basics - 1 1. Install Node.js check node js is installed Goto CMD > type npm --> to check node js is installed > if not install node js 2. Install git (if necessary) 3. Install Ionic: > check ionic is installed or not > ionic Installing Ionic: > install ionic cordava -install 4. Creating a blank project in Ionic : Upto 3.19.0 ver > ionic start myApp blank --v2 3.19.1+ ionic start saiApp blank --type=ionic-angular saiApp >>> your app folder --v2 >>> ionic version 5. Running an ionic App: Goto your App folder ( saiApp ) type > ionic serve -w chrome -lab dev server running: http://localhost:8100/ >>> Files in ionic > src >> component.ts > pages >> home (default) >>> home.html >>> home.ts -------------------------------------------- Tips: 1. ionic start --help 2. You can downgrade to your old version b...
Most Useful .htaccess Tricks for WordPress website Some most useful .htaccess tricks for your WordPress website are here. Wordpress needs htaccess to work perfectly and runs smoothly. Here is the htaccess code for a basic wordpress site: # 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] </IfModule> # END WordPress ----------- If you are using Localhost , for example: http://localhost/codingsparks Then htaccess is... # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / codingsparks/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /codingsparks /index.php [L] </IfModule> # END WordPress Wordpress MultiSite htaccess: RewriteEngine On RewriteBase / RewriteRu...