Archives

Change ethernet name to eth0

From the dmesg command, you can see that the device got renamed during the system boot. $ dmesg | grep -i eth To get an ethX back, edit the grub file. $ sudo nano /etc/default/grub Look for “GRUB_CMDLINE_LINUX” and add the following”net.ifnames=0 biosdevname=0“. From: GRUB_CMDLINE_LINUX=”” To: GRUB_CMDLINE_LINUX=”net.ifnames=0 biosdevname=0″ Generate a new grub file using the …

Disable WordPress Post revisions

Add one of these code into the wp-config.php file. Limit WordPress Post Revisions define(‘AUTOSAVE_INTERVAL’, 300); //seconds define(‘WP_POST_REVISIONS’, 3); Disable WordPress Post Revisions define(‘AUTOSAVE_INTERVAL’, 300); //seconds define(‘WP_POST_REVISIONS’, false); //false is Disable REVISIONS or by adding number limit in amount

Logo

တႅမ်ႈတူၺ်းလူးတေပဵၼ်ႁိုဝ်ဝႆႉ [bws_google_captcha]

How I manage WordPress back-end access limit

Only from an IP Address can access wp-admin or login.php. Add the following code above of all of anything else in your .htaccess and change your IP Address. Choose one of this #Normal server use OR #With Cloudflare use either one of this going to fit you. It’s depend on your sever configuration. If your …

Disable “icons” folder in an ubuntu web server

This is Ubuntu 16.04 In this file sudo nano /etc/apache2/mods-available/alias.conf The file look like this: <IfModule alias_module> # Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname # # Note that if you include a trailing / on fakename then the server will # require …