Recently I stuck in the middle. I had completed the wordpress theme in wamp(Windows), and now I wanted to move it to cPanel (linux). And the had full path like C:\wamp\www. Now when I uploaded this theme to server, the uploaded version of it was totally distorted.
I tried different approaches to solve this problem like find & replace & many other efforts.
But after all they did not worked for all the problem of path in option table for wordpress database.
Then I found this plugin https://wordpress.org/plugins/wp-clone-by-wp-academy/ that makes copy of your database now you need to install this plugin.
Secondly you have to create a backup of your wordpress. Then It will give you a link of zip archive. Now upload that link to your server.
To restore this backup into the Remote Server just give the link like this http://your-domain.com/path-to-link.zip.
And just click the upload you will see the same wordpress will is restored in remote server also.

0

Here is 4 best methods to prevent access to your php file directly

  1.  <?php if(count(get_included_files()) ==1) exit(“Error , Contact vishvendrasingh1993@gmail.com”); echo “data here” ; ?> – See more at: http://www.vishvendrasingh.com/here-is-4-best-methods-to-prevent-access-to-your-php-file-directly/
  2. <?php debug_backtrace() || die (“Direct access not permitted”); echo “data here” ; ?> – See more at: http://www.vishvendrasingh.com/here-is-4-best-methods-to-prevent-access-to-your-php-file-directly/
  3. <?php if (strpos($_SERVER[‘REQUEST_URI’], basename(__FILE__)) !== false) {die(‘Error , Contact vishvendrasingh1993@gmail.com’);} echo “data here” ; ?> – See more at: http://www.vishvendrasingh.com/here-is-4-best-methods-to-prevent-access-to-your-php-file-directly/
  4. <?php if (basename($_SERVER[‘PHP_SELF’]) == basename(__FILE__)) { die(‘Error , Contact vishvendrasingh1993@gmail.com’); }; echo “data here” ; ?> – See more at: http://www.vishvendrasingh.com/here-is-4-best-methods-to-prevent-access-to-your-php-file-directly/
0

  1. Borrow your friends’s android phone which you want to spy for just one minute.
  2. Go to settings —> About phone —> Status—> Wi-Fi MAC address
  3. Note down the mac address. Keep the phone for few more minutes. we need it man.
  4. Now go to your phone and uninstall whatsapp.
  5. Change your Mac id to your friend’s one by spoofing mac.
  6. Now Download and install whatsapp on your phone. Whatsapp will send the verification code to your friend’s phone.
  7. verify your downloaded whatsapp by the verification code sent to your friend’s phone.
  8. You have installed exact replica of your friend’s whatsapp. Now whatever he or she will do, you can track it with your phone. Useful for parents and lovers. Do not use it for illegal purpose.
  9. There you go 🙂
0