How to Fix WordPress Posts Returning 404 Error when choose permalink in settings ?

wordpress setup

While doing wordpress migration from server to server the 404 error is common. In this article we will show how to fix the wordpress post 404 error. Temporarily disable the cache, if you used anything. Until the problems resolved. Change the setting in the server sudo chown www-data /var/www/html/recipe/.htaccess Change the setting in the CONF (If it’s apache) Open the conf file /etc/apache2/apache2.conf Update the settings in AllowOverride parameters <Directory /var/www/>         Options Indexes FollowSymLinks         AllowOverride All         Require all…

Read More

HomeBrew for Mac

home-brew-mac

Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple’s macOS operating system. Open Terminal Install HomeBrew, copy and paste the below code. /usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” View HomeBrew Pack Lists brew search –casks Install Software brew cask install <<SOFTWARE NAME>>

Read More

Essential PHP Interview Questions & Answer

php-interview-questions

1) Whats is CURL ? A command line tools for sending and getting files and response. 2) How to use CURL in PHP ? // Step 1 $cSession = curl_init(); // Step 2 curl_setopt($cSession,CURLOPT_URL,”http://www.yahoo.com/search?q=curl”); curl_setopt($cSession,CURLOPT_RETURNTRANSFER,true); curl_setopt($cSession,CURLOPT_HEADER, false); //Step 3 $result=curl_exec($cSession); //Step4 curl_close($cSession); //Step5 echo $result; 3) How to access authenticated WEBSITE Datas in CURL ? // http header: “Authorization: Basic “. base64_encode(“username:password”); // Set the below option for CURL curl_setopt($ch, CURLOPT_USERPWD, ‘username:password’); 4) What is Buffer ? Store all output results into a buffer for improving network performance. Access the…

Read More

How to create own sticker in WhatsApp

WordPress permalink

Ensure the WhatsApp version in WhatsApp. Sticker feature support only version. 2.18 or above. Open WhatsApp > Settings > Help > App Information. Check the version. Download FREE APPs to design own stickers. Popular FREE APP in Google Play Store to create sticker is Sticker Maker Download Sticker Maker for WhatsApp and Install It. Open Sticker Maker. Create New Group. Select the image from your mobile phone. But WhatsApp most preferred images are PNG with Transparent. Open the Group and Choose the tray icon image from your image gallery. Tray…

Read More

Generate CSV File in Javascript

home-brew-mac

How to Generate CSV File in Javascript //JSON DATAS var data = [ [‘Singaporean’, ‘Singapore’], [‘Indian’, ‘India’] ]; //CONVERT JSON Variant to TWO-DIMENSION Array var csvContent = ”; data.forEach(function(infoArray, index) { dataString = infoArray.join(‘;’); csvContent += index < data.length ? dataString + ‘\n’ : dataString; }); //Function to DOWNLOAD a file. var download = function(content, fileName, mimeType) { var a = document.createElement(‘a’); mimeType = mimeType || ‘application/octet-stream’; if (navigator.msSaveBlob) { // IE10 navigator.msSaveBlob(new Blob([content], { type: mimeType }), fileName); } else if (URL && ‘download’ in a) { //html5 A[download] a.href = URL.createObjectURL(new Blob([content], {…

Read More