Dev {Tricks}

  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting
You are here: Home / Archives for How to

February 13, 2020 by dev Leave a Comment

Important Links

Cookie Consent Banner

https://www.websitepolicies.com/create/cookie-consent-banner
  • Acceptable use policy generator
  • Cookie policy generator
  • Cookie consent banner plugin
  • Disclaimer generator
  • Privacy policy generator
  • Refund policy generator
  • Terms and conditions generator

DOI WebDeposit

https://www.crossref.org/webDeposit/

 

 

Filed Under: How to, Miscellaneous

January 29, 2020 by dev Leave a Comment

How to enable rewrite rules for Plesk using NGINX

 

  1. Login to Plesk.
  2. Open the domain you need to update.
  3. Click on the “Apache and nginx settings” link.
  4. Scroll to the bottom to “Additional nginx directives” and add the following :
    if (!-e $request_filename)
    {
    	rewrite ^(.+)$ /index.php?q=$1 last;
    }
  5. Save

 

Filed Under: How to, OJS

January 26, 2020 by dev Leave a Comment

BigDump Usage | How to upload large database

Upload large sized database using BigDump.

  1. Download and unzip bigdump.zip on your computer.
  2. Open bigdump.php in a text editor.
  3. Update database configuration
    // Database configuration
    
    $db_server   = 'localhost';
    $db_name     = '';
    $db_username = '';
    $db_password = '';
  4. Optional settings (For example, $filename)
    // OPTIONAL SETTINGS 
    
    $filename           = '';     // Specify the dump filename to suppress the file selection dialog
    $ajax               = true;   // AJAX mode: import will be done without refreshing the website
    $linespersession    = 3000;   // Lines to be executed per one import session
    $delaypersession    = 0;      // You can specify a sleep time in milliseconds after each session
                                  // Works only if JavaScript is activated. Use to reduce server overrun
  5. Create the working directory (e.g. tempFile) on your web server
  6. Upload bigdump.php and the database file (*.sql or *.gz) via FTP to the working directory.
  7. Run the bigdump.php from your web browser via URL like http://www.yourdomain.com/tempFile/bigdump.php.
  8. Now you can select the file to be imported from the listing of your working directory. Click “Start import” to start.
  9. BigDump will start every next import session automatically if JavaScript is enabled in your browser.
  10. Relax and wait for the script to finish. Do NOT close the browser window!
  11. IMPORTANT: Delete the working directory (e.g. tempFile) to remove bigdump.php and your dump files from your web server.

Filed Under: How to, Miscellaneous

January 23, 2020 by dev Leave a Comment

Remove URLs from google search results using WebMaster tools

Sometimes it requires to hide or remove some pages or posts from google search results. Follow the below easy steps to do it successfully.

  1. Go to the link
    https://www.google.com/webmasters/tools/url-removal
  2. Choose a verified property or add your property (domain) if not added.
  3. Search your property in Google. For  example, site:bdtopten.com
  4. Copy the site link you want to remove from google search results
  5. Go to webmaster tools. For example, https://www.google.com/webmasters/tools/url-removal?siteUrl=https://bdtopten.com
  6. Click on the button “Temporarily hide” button and paste the copied URL of your site that you’d like to hide or remove (case-sensitive) for 90 days.
  7. To delete the url permanently from search engine, you may delete the page or post or you have to do followings
    1. Change title
    2. Change slug
    3. Make the page or post “noindex”, “nofollow

It may take few hours to execute the removal by google.

Filed Under: How to, Miscellaneous Tagged With: WebMaster tools

November 10, 2019 by dev Leave a Comment

How to install and setup DirectAdmin on CentOS 8 VPS.

DirectAdmin is one of the best alternatives of cPanel control panel due to its user friendly interface.

This article will show you how to install DirectAdmin on CentOS VPS. Please check DirectAdmin installation requirements first.

Easy steps of DirectAdmin (DA) installation for success are as follows:
Make sure your domain is running with the IP address (nameservers) before installation.

Step One

Login to your VPS root using SSH or KVM.

Step Two

Disable SELinux. This will disable the firewall.

setenforce 0
sed -i ‘s/enforcing/disabled/g’ /etc/selinux/config

Step Three

Run the pre-install commands before starting the install

yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio \
libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 cyrus-sasl-devel perl-ExtUtils-Embed \
autoconf automake libtool which patch mailx bzip2-devel lsof glibc-headers kernel-devel expat-devel \
psmisc net-tools systemd-devel libdb-devel perl-DBI perl-libwww-perl xfsprogs rsyslog logrotate crontabs file kernel-headers

This will ask you to confirm. Write “Y” and press enter.

Step Four

Download the DirectAdmin setup.sh file.

wget https://www.directadmin.com/setup.sh

Step Five

Change permissions of the downloaded setup.sh file to 755

chmod 755 setup.sh

Step Six

Run the script. It automatically installs everything for you, including the CSF firewall.

./setup.sh auto

The auto method will be best for most people. It can also be called as ‘./setup.sh’ without “auto” options, which requires input but allows for customization.

Important: The hostname must be a sub-domain without http, www. For example, server.hostbriz.com

System Security Tips

Follow this link https://help.directadmin.com/item.php?id=247

Enable SELinux

To enable SELinux, follow the instructions below ,

  1. Open the file /etc/selinux/config (You may use winSCP)
  2. Change option SELINUX from disabled to enforcing
  3. Restart the machine
  4. That’s all!

 

 

 

 

 

 

 

 

 

Filed Under: DirectAdmin, How to, Server and Hosting Tagged With: directacdmin installation, DirectAdmin, enable selinux, selinux

  • « Previous Page
  • 1
  • …
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • Next Page »
  • Upwork
  • Freelancer
  • Fiverr
  • Guru

www.ojsexpert.com
www.ojsdev247.com

Recent Posts

  • To get your email for castamodel.com going to the right place, you need to update your DNS settings.
  • Security and WordPress
  • ROR
  • How do we copy google form to google workspace?
  • Install ImageMagick – Almalinux
  • How to remove /public/ from URL in Laravel
  • How to install Maldet alert?
  • How to Install Maldet and Run a Scan | Maldetect
  • Where is Roundcube location on CWP control panel?
  • How To Add Node.js Projects In aaPanel?
  • SPF/DKIM/DMARC Tools
  • Associative arrays – How to loop over Associative arrays
  • Indexed Arrays. How to loop over Indexed Arrays.
  • PHP Break | Continue
  • For Loop | While Loop | Do…While Loop | Foreach Loop
  • Strict mode in PHP
  • PHP Function Return Types
  • PHP Anonymous Functions (or Closures)
  • PHP Variadic Functions
  • PHP nullable type hints

Categories

  • Affiliate Marketing (1)
  • Customization (4)
    • CSS (2)
  • Email Solutions (23)
    • FrontApp (2)
    • Google Spreadsheet (2)
    • Microsoft Outlook (1)
    • PHP Email Form (3)
    • PolyMail (2)
    • Recaptcha (1)
    • Roundcube (4)
    • Thunderbird (3)
    • WebMail (5)
  • Games (1)
  • How to (87)
  • Joomla (6)
    • Akeeba (1)
    • Fix & Tricks (3)
  • jQuery (4)
  • jQuery Plugins (4)
    • BX Slider (1)
    • Slick (1)
  • Laravel (5)
  • Marketplace (5)
  • Miscellaneous (31)
  • MultiSaaS (1)
  • OJS (56)
    • Crossref (1)
    • Help (37)
    • Installation (10)
      • Issues (5)
    • Plugins (8)
    • Scholar Indexing (2)
    • Theme (7)
      • Templates (7)
        • Frontend (6)
        • legacy (1)
    • Theme Customization (10)
    • Theme Development (14)
    • TPL CSS JS (2)
    • Upgrade (11)
  • OSTAD (17)
  • Oxwall (3)
  • Payment Methods (1)
    • Paypal (1)
  • PC Tips and Tricks (14)
    • MS Office (2)
      • PowerPoint (1)
    • Windows (4)
  • PHP Parse error (2)
  • phpBB (2)
  • Server and Hosting (213)
    • Billing and Management (10)
      • Blesta (5)
      • Boxbilling (2)
      • WHMCS (5)
    • Email (10)
      • Postfix (3)
    • Error and Fix (17)
    • FTP (2)
    • Linux Distribusion (28)
      • Almalinux (13)
      • CentOS (17)
      • Debian (21)
      • Ubuntu (19)
    • Mail Server Solusion (7)
      • iRedMain (6)
    • MySQL (12)
    • Providers (69)
      • AWS (37)
      • Bluehost (37)
      • Cloudcone (26)
      • Contabo (40)
      • Digitalocean (68)
      • Hetzner (3)
      • HostGator (36)
      • Hostinger (8)
      • RackNerd (10)
      • VPSDime (38)
    • Security (21)
      • SSH (8)
    • VPS Management (72)
    • Web Control Panel (147)
      • aaPanel (14)
      • CentOS Web Panel (46)
      • cPanel (33)
      • CyberPanel (7)
      • DirectAdmin (96)
        • Find & fix (38)
      • ISPConfig (17)
      • KeyHelp (7)
      • Plesk (26)
      • Webmin (25)
        • Usermin (2)
        • Virtualmin (13)
      • WHM (18)
  • Uncategorized (19)
  • Wordpress (89)
    • Elementor (2)
    • Find and Fix (11)
    • Functions (5)
    • Genesis (9)
    • Glossary (1)
    • How to (22)
    • Neuron TD (15)
      • Console Error (1)
      • functions (5)
        • register_post_type (1)
        • register_sidebar (1)
        • theme_files (1)
        • theme_supports (1)
      • Image Directory (1)
      • Menu (2)
      • Query (4)
    • Plugins (13)
      • Contact Form 7 (5)
      • Duplicator (1)
      • Essential Grid (2)
    • Softaculous (3)
    • Speed and Security (4)
    • Stock Theme Development (6)
      • Header Footer (1)
      • PHP (1)
      • VC (1)
    • Theme Development (2)
      • Issues (1)
      • Menu (1)
    • Timer Theme Development (3)
    • Update (2)
    • Woocommerce (2)
    • WP Basic Guideline (8)

Important DEV links

  • Premium Themes
    • Themeforest
    • Envato Market
  • Built With (What Theme is That?)
    • What WP theme is that
    • Joomla Template Detector
    • Drupal Template Detector
    • Prestashop Template Detector
    • Shopify Theme Detector
    • Squarespace Template Detector
    • OpenCart Detector
    • WordPress.com Theme Detector
  • Domain/IP history checker
    • Who IS request
    • Hosting Info
  • Check DNS Propagation
    • DNS Checker
    • intoDNS
  • What is my IP
    • What is My IP Address
    • What is My IP
    • IP location
    • What is My IP
    • Porkbun
  • SEO Tools
    • Visitor Traffic
    • Broken Link
    • Website Speed Test
      • SEMrush
      • GTmetrix
      • Pingdom
      • PageSpeed Insights
      • DebugBear
      • keyCDN
  • Photo Image
    • Remove Background 50 Free Preview Image 375 × 666 per month
  • Domain Registrars
    • 123-Reg
    • Porkbun
    • Freenom
    • Namecheap NEWCOM598
  • Hosting Providers
    • Bluehost
    • Hostgator
    • Inmotion
  • Hosting Control Panel
    • CWPpro (FREE)
    • DirectAdmin (Trial 60 Days, One account $2/month)
    • ISPConfig (Free)
  • Webmaster Tools
    • Google
    • Bing
    • Yandex
  • Miscellaneous
    • Time Calculator

 

Categories

  • Affiliate Marketing (1)
  • Customization (4)
    • CSS (2)
  • Email Solutions (23)
    • FrontApp (2)
    • Google Spreadsheet (2)
    • Microsoft Outlook (1)
    • PHP Email Form (3)
    • PolyMail (2)
    • Recaptcha (1)
    • Roundcube (4)
    • Thunderbird (3)
    • WebMail (5)
  • Games (1)
  • How to (87)
  • Joomla (6)
    • Akeeba (1)
    • Fix & Tricks (3)
  • jQuery (4)
  • jQuery Plugins (4)
    • BX Slider (1)
    • Slick (1)
  • Laravel (5)
  • Marketplace (5)
  • Miscellaneous (31)
  • MultiSaaS (1)
  • OJS (56)
    • Crossref (1)
    • Help (37)
    • Installation (10)
      • Issues (5)
    • Plugins (8)
    • Scholar Indexing (2)
    • Theme (7)
      • Templates (7)
        • Frontend (6)
        • legacy (1)
    • Theme Customization (10)
    • Theme Development (14)
    • TPL CSS JS (2)
    • Upgrade (11)
  • OSTAD (17)
  • Oxwall (3)
  • Payment Methods (1)
    • Paypal (1)
  • PC Tips and Tricks (14)
    • MS Office (2)
      • PowerPoint (1)
    • Windows (4)
  • PHP Parse error (2)
  • phpBB (2)
  • Server and Hosting (213)
    • Billing and Management (10)
      • Blesta (5)
      • Boxbilling (2)
      • WHMCS (5)
    • Email (10)
      • Postfix (3)
    • Error and Fix (17)
    • FTP (2)
    • Linux Distribusion (28)
      • Almalinux (13)
      • CentOS (17)
      • Debian (21)
      • Ubuntu (19)
    • Mail Server Solusion (7)
      • iRedMain (6)
    • MySQL (12)
    • Providers (69)
      • AWS (37)
      • Bluehost (37)
      • Cloudcone (26)
      • Contabo (40)
      • Digitalocean (68)
      • Hetzner (3)
      • HostGator (36)
      • Hostinger (8)
      • RackNerd (10)
      • VPSDime (38)
    • Security (21)
      • SSH (8)
    • VPS Management (72)
    • Web Control Panel (147)
      • aaPanel (14)
      • CentOS Web Panel (46)
      • cPanel (33)
      • CyberPanel (7)
      • DirectAdmin (96)
        • Find & fix (38)
      • ISPConfig (17)
      • KeyHelp (7)
      • Plesk (26)
      • Webmin (25)
        • Usermin (2)
        • Virtualmin (13)
      • WHM (18)
  • Uncategorized (19)
  • Wordpress (89)
    • Elementor (2)
    • Find and Fix (11)
    • Functions (5)
    • Genesis (9)
    • Glossary (1)
    • How to (22)
    • Neuron TD (15)
      • Console Error (1)
      • functions (5)
        • register_post_type (1)
        • register_sidebar (1)
        • theme_files (1)
        • theme_supports (1)
      • Image Directory (1)
      • Menu (2)
      • Query (4)
    • Plugins (13)
      • Contact Form 7 (5)
      • Duplicator (1)
      • Essential Grid (2)
    • Softaculous (3)
    • Speed and Security (4)
    • Stock Theme Development (6)
      • Header Footer (1)
      • PHP (1)
      • VC (1)
    • Theme Development (2)
      • Issues (1)
      • Menu (1)
    • Timer Theme Development (3)
    • Update (2)
    • Woocommerce (2)
    • WP Basic Guideline (8)
  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting

Copyright © 2025 · Executive Pro Theme on Genesis Framework · WordPress · Log in