Posts

Showing posts from January, 2017

SSL Certificate Checker

Image
Check your SSL/TLS certificate installation https://cryptoreport.websecurity.symantec.com/checker/ How to setup SSL On Plesk Server?

Remote Backup from one Server to another Server using FTP

Image
Take backup from cPanel using FTP:- LINUX PLEX SERVER

Phone Number Validate JQuery

This script will check following thing in Phone Phone is not String Phone number must not starting with 0 or 1 jQuery('#phone').keyup(function (e) { var phonevalidate = jQuery('#phone').val();     var checkfirstval = phonevalidate.charAt(0); if(checkfirstval==0 || checkfirstval==1){ jQuery('#phone').val(''); } var regEx=/[^0-9]/; var checkstring = regEx.test(phonevalidate); if(checkstring){ jQuery('#phone').val(''); } }); Note: Here input id is phone .

How do you avoid caching during development in WordPress?

1. How do you avoid caching during development in WordPress? OR 2. 3 Ways to easily stop WordPress caching your stylesheets OR 3. Stop WordPress caching styles (the quick and easy and dirty way) ANSWER 1.  The first way and the quickest is to just pop them into  header.php  after wp_head() has run, so you know your styles are definitely the last css loaded (unless of course there are inline styles in the page). You do this like so: < head >    . . . <?php wp_head ( ) ; ?>                                   <style type ="text/css">                     #bottom_logo {                          position : relative ; left : -20px ;                      }                      @media screen and (max-width: 768px) {                     #bottom_logo{                         padding-bottom: 20px;                      }                  }                  </style> < / head > 2.  The ne

What is the Difference Between FTP and SFTP?

Image
FTPS is FTP with SSL for security. It uses a control channel and opens new connections for the data transfer. As it uses SSL, it requires a certificate. SFTP (SSH File Transfer Protocol/Secure File Transfer Protocol) was designed as an extension of SSH to provide file transfer capability, so it usually uses only the SSH port for both data and control The Main difference between I found that if I have FTP detail of a particular folder I can access that folder content and subfolder content by running FTP in FileZilla.  but in SFTP condition I can access that folder contents include outside other folder contents and subfolder contents. to access other folder contents we can exist and go out side from that folder by just only clicking two dots. that is on top of all contents. see the screenshot  

rackspace website entries to hosts file for local domain mapping

 This is useful when you want to test your site without the test link to test the site before pointing the domain to the destination hosting Read More Detail here:-   https://support.rackspace.com/how-to/modify-your-hosts-file/ Rackspace Inc. is a managed cloud computing company  Rackspace Is The Largest Managed Cloud Provider Offering You Expertise Across The World's Leading Clouds https://www.rackspace.com/en-in

SEO Custom URL in Opencart

If your some URLs not working Seo Friendly in Opencart after SEO enabled in Admin settings and do configuration in HTACCESS file for these URL:- http://[Your Domain.com]/index.php?route=checkout/cart   http://[Your Domain.com]/index.php?route=account/register  http://[Your Domain.com]/index.php?route=account/wishlist  http://[Your Domain.com]/index.php?route=checkout/checkout http://[Your Domain.com]/index.php?route=checkout/success http://[Your Domain.com]/index.php?route=simple_blog/article http://[Your Domain.com]/index.php?route=account/login http://[Your Domain.com]/index.php?route=product/special http://[Your Domain.com]/index.php?route=affiliate/account http://[Your Domain.com]/index.php?route=checkout/voucher http://[Your Domain.com]/index.php?route=product/manufacturer http://[Your Domain.com]/index.php?route=account/newsletter http://[Your Domain.com]/index.php?route=account/order http://[Your Domain.com]/index.php?route=account/account http://[Your Domain

Error: Maximum execution time of 30 seconds exceeded

Image
I was facing problem of this error. Since there is two type of cPanel  servers. Apache module ( In  " Apache module ", you can change your PHP settings via a .htaccess file  ) CGI Module (  you can change your local php.ini file in order to make modifications to your PHP setup. php.ini  ) My cPanel Server is  CGI so I tried all the php.ini file by adding these details:-  max_execution_time = 300 max_input_time = 600 memory_limit = 2560M upload_max_filesize = 100M but my problem was not solved. so I tried this rule. I added this code at the top of php script. that running the script for uploading or downloading ini_set('max_execution_time', 300); now my problem is solved.