Saturday, September 25, 2010

Redirecting site to index.php if index.html exists

put following entry in .htaccess file

DirectoryIndex index.php

Wednesday, September 15, 2010

wordpress site broken

The problem is due to the site url. YOu can change it via cpanel or via backend.

go to cpanel >> phpmuadmin >> select db >> wp-options and edit the site url

backend:

step 1: use foreverg_wrdp1;
step2: show tables;
step3: desc wp_options;
step4: select * from wp_options where option_name='home';
step5: select * from wp_options where option_name='siteurl';
step6: update wp_options set option_value='http://forevergreenliving.com/' where option_id=37;
step7: update wp_options set option_value='http://forevergreenliving.com/' where option_id=1;

How to boot system in single user mode

1. At the starting time i.e when grub loading select press e
2. Then select kernel and press e
3. Then at the end of the line add the letter S or the word single
4.Then press ENTER