Pages

Tuesday, March 26, 2013

how to fix the weird redirection problem in wordpress after migrate from localhost to live server

I have create a wordpress website online which i need to move to my offline localhost server to modify the things, everything was working fine except the wp-admin redirection whenever i tried to open my admin panel by visiting link localhost/mysite/wp-admin it was redirecting me to my website url from where i had downloaded all the files http://mywebsite/wp-admin.

By searching a lot i didn't get any good response then i start searching the things in database on phpmyadmin.
and what i find there :). It was an entry on wordpress table wp-options  inside that there is a column option_name and option_value. I changed the sitename value to localhost and its start redirecting to my localhost path only.

database -> wp-options -> option_name(siteurl) -> option_value(your url)

posted by honeyonsys

Tuesday, March 19, 2013

how to block a website on a computer by editing admin file and how to give permission to edit the admin file

You can block any website to open on your computer by editing a windows file located in

c:/windows/system32/drivers/etc/

the file named hosts





edit this file with notepad.

and put the website name at the below which you want to block like the below image


in the above image you can see that i have mention the facebook website with an ip address. The ip address will be mentioned already with the host name their, copy that ip address and put the website address after that which you want to block. and save it.

Error while saving the host file Access Denied!

If you computer denied your request to save the hosts file, it will mean that the current user you are logged in to your pc is dont have the permission to edit or write admin file or windows file for that you can follow the following steps:

You need to give permissions to the File/folder, follow the steps below:

# Right-click the file and select Properties.
# Click on the Security tab.
# Click Advanced in the lower right.
# In the Advanced Security Settings window that pops up, click on the Owner tab.
# Click Edit.
# Click Other users or groups.
# Click Advanced in the lower left corner.
# Click Find Now.
# Scroll through the results and double-click on your current user account.
# Click OK to all of the remaining windows except the first Properties window.
# Select your user account from the list up top and click Edit.
# Select your user account from the list up top again and then in the pane below, check Full control under Allow, or as much control as you need.
# You’ll get a security warning, click Yes.
# On some files that are essential to Windows, you’ll get a “Unable to save permission changes… access is denied” warning and there’s nothing that you can do about it to the best of my knowledge.


Try it :)


posted by honeyonsys

Monday, March 18, 2013

javascript to disable right click on a web page.


You can disable the right click on any webpage by putting the follwing javascript code under the tag.




you should type this of your own. This is how u will learn :)


posted by honeyonsys

Thursday, March 14, 2013

How to Manage the Hard Disk Space in Windows 7

Step 1:

Go to Windows 7 Menu and choose control panel. you will see a window like shown below. choose 'System and Security'.




Step 2:

you will see a window like given below.Choose 'Administrative Tools'.




Step 3:

Now you will see a pop-up that contains a no of icons that are associted with different functionalities . choose 'Computer Management'.Now this will open another Window of 'Computer management'. From this window choose 'Storage'.




Step 4:

After choosing storage option ,you will find only one option 'Disk Management'. So, choose it. Now, you will see the 'information about your hard disk as well as other storage devices connected to your computer at that time'. Now to manage any part of your hard disk or any other storage device just 'right click' on it you will see options like 'Shrink ,Extend, Delete etc' as per possibility. So ,do whatever you want with it...










Tutorial HTML for beginners part 4 of 4


Tutorial HTML for beginners part 4 of 4



posted by honeyonsys

About Me

Hi,My name is Harish Kumar.I am a web developer by profession.I am working in the same field since 2008. About my skills i am proficient in HTML,CSS,JAVASCRIPT/JQUERY/ ANGULAR,PHP,MYSQL,APACHE,LINUXAJAX, REST,etc...