Windows – Can’t Access Certain Web Sites

Type cmd in the search box, then right-click on Command Prompt to select Run as administrator.

Click Yes when prompted by User Account Control.

2) Type the following commands and press Enter after each.

ipconfig /release
ipconfig /all
ipconfig /flushdns
ipconfig /renew
netsh int ip set dns
netsh winsock reset

3) Reboot your Windows 10 and go to the website again to see if it works.

Windows – DiskPart to Clean and Format a Flash Drive

Use the Windows key + X keyboard shortcut to open the Power User menu and select Command Prompt (Admin).

Connect the drive you want clean and format to your computer.

Type the following command and press Enter:

diskpart

Type the following command to list all the available drives and press Enter:

list disk

Take your time and very carefully, on the output from the previous command, identify the drive you want to clean.

For example, you will see multiple drives listed, including Disk 0, which is usually the “C” boot drive and it’s the primary system drive. And because you’re trying to clean a smaller flash drive, you can easily spot that Disk 3,4,5,etc. is the drive you need to select.

Use the following command to select the drive and press Enter:

select disk 3 (or the appropriate disk number)

Remember to change 3 in the command with the number of the drive you want to clean. If you fail to choose the correct number it will erase all the data from the wrong drive.

Type the following command to clean the drive and press Enter:

clean

Type the following command to double-check the drive still selected and press Enter:

list disk

If the drive still selected, you will notice an asterisk (*) next to the disk.

Type the following command to create a partition and press Enter:

create partition primary

Type the following command to select the partition you just created and press Enter:

select partition 1

Type the following command to set the partition active and press Enter:

active

Type the following command to format the partition using NTFS and to set a label, and press Enter:

format FS=NTFS label=WC-Drive quick

Remember to change the WC-Drive in the command with the drive name you want to use.

Type the following command to assign a drive letter and press Enter:

assign letter=W

Remember to change W in the command with a letter you want that isn’t in use by another drive on This PC.

WordPress – Increasing File Upload Size

Increasing File Upload Size in WordPress to 32 MB – 8/8/17

Increase the file size in GoDaddy cPanel.

Go to cPanel.
Go to Software.
Go to “Select PHP Version”.
Click on “Switch To PHP Options”.
Change “post_max_size” to 32M (Up to 1 GB)
Change “upload_max_filesize” to 32M (Up to 1 GB)

Both areas have to be changed to allow the full file size upload. Post_max_size will limit the upload file size.

Old Information – Increasing File Upload Size in WordPress to 1GB

Solution 1: using .htaccess way

You can get .htaccess file from root folder of your website. Mostly it’s hidden. So using FTP makes sense. Or you have to open your file manager with hidden files.
If there is no .htaccess file, create and upload/paste in root (before creating .htaccess file, make sure there is no .htaccess file). Paste the following code,

php_value upload_max_filesize 1024M
php_value post_max_size 1024M
php_value max_execution_time 1000
php_value max_input_time 1000

Solution 2: Theme’s Functions.php File

This is easy way. Open your theme’s functions.php file. You can find function.php file by following way,
wp-content –> themes –> select your current Theme -> functions.php file
And, just add following code at there,

@ini_set( ‘upload_max_size’ , ’1024M’ );
@ini_set( ‘post_max_size’, ’1024M’);
@ini_set( ‘max_execution_time’, ’1000′ );

****Solution 3: PHP.INI file method****
This is the one that worked on the GoDaddy hosting system

You can find your php.ini file in root folder. If you can’t find it there, just create a php.ini file and paste/upload in your root folder with following code. If already file is there, just add this code:

file_uploads = On
post_max_size = 1024M
upload_max_filesize = 1024M

If the php.ini file doesn’t work in the root directory, try placing it in the wp-admin directory.

In a multi-site system, go to “Network Admin”, “Settings”, “Network Settings” and scroll to bottom. Change the value in the “Max upload file size” field. (1024 x number of megabytes. 500 x 1024 = 512500. 1000 x 1024 = 1024000 or 1GB)

WordPress Multi-Site Redirect Loop

https://codex.wordpress.org/htaccess

Multisite
WordPress 3.5 and up
If you activated Multisite on WordPress 3.5 or later, use one of these.

Subfolder Example

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]

SubDomain Example

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]

# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]

Zoho Assist Embed Code

</script>
<h4 style=”text-align: center;”><strong><em><span style=”color: #000080;”>Internet Based Remote Technical Support</span></em></strong></h4>
<p style=”text-align: center;”><em>When instructed, enter the Session ID and click “Connect”.</em></p>

<h3><iframe src=”https://meeting.zoho.com/login/embed-remote-support.jsp?logo=true” width=”100%” height=”200px” frameborder=”0″> </iframe></h3>

Server DNS Address Could Not Be Found

There might be problem with your DNS servers of ISP. A computer by default uses ISP DNS servers. You can manually configure your DNS servers. It is free and usually better than your ISP.

Go to Control Panel -> Network and Internet -> Network and Sharing Centre
Click on Change Adapter settings.
Right click on your connection icon (Wireless Network Connection or Local Area Connection) and select properties.
Select Internet protocol version 4.
Click on “Use the following DNS server address” and type either of the two DNS given below.

Google Public DNS

Preferred DNS server : 8.8.8.8
Alternate DNS server : 8.8.4.4

OpenDNS

Preferred DNS server : 208.67.222.222
Alternate DNS server : 208.67.220.220

WordPress – Tempera Theme – Space Between Header and Menu and Content

Use this code in the Miscellaneous Setting, Custom CSS for the Tempera Theme:

#access { margin-top: 10px; }

#main { margin-top: 10px; }

Change the number before “px” to adjust the size.

The setting shown above will put an equal 10px space above and below the main menu.