How to disable ssl for wordpress admin panel — wp-admin

ARUN Posted in WORDPRESS
0

Solution :

http://admin.webhostingdevelopment.com/viewtopic.php?f=65&t=68

Open wp-config.php and add the below line

define(‘FORCE_SSL_ADMIN’, false);

NOTE : make sure that there is no similar lines

grep -i force_ssl wp-config.php

WordPress Permalink shows blankpage

ARUN Posted in WORDPRESS
0

Solution :

Open    wp-admin/includes/misc.php  and change the line in RED as indicated below

function got_mod_rewrite() { 
//$got_rewrite = apache_mod_loaded('mod_rewrite', true); //old line with false negative; 
$got_rewrite = true;//force the response to true as we know mod_rewite is installed;
 return apply_filters('got_rewrite', $got_rewrite); }

Find the wordpress theme from database

ARUN Posted in WORDPRESS
0

select * from wp_options where `option_name` = ‘siteurl’;

select * from wp_options where `option_name` = ‘home’;

SELECT * FROM `wp_options` WHERE `option_name` = ‘current_theme’;

UPDATE `user_wrdp1`.`wp_users` SET `user_pass` = MD5( ’12345678′ ) WHERE `wp_users`.`ID` =1;
UPDATE `wp_users` SET `user_pass` = MD5( ’12345678′ ) WHERE `wp_users`.`ID` =1;

WordPress gives blank page while accessing inner links

ARUN Posted in WORDPRESS
0

WordPress gives blank page while accessing inner links, but browser shows as url changed. Error logs gives the following

tail -f /var/log/messages

[Tue Sep 28 16:25:53 2010] [error] [client 67.23.25.56] File does not exist: /home/jtfplayg/public_html/404.shtml
[Tue Sep 28 16:25:54 2010] [error] [client 67.23.25.56] File does not exist: /home/jtfplayg/public_html/favicon.ico
[Tue Sep 28 16:25:54 2010] [error] [client 67.23.25.56] File does not exist: /home/UN/public_html/404.shtml
[Tue Sep 28 16:25:54 2010] [error] [client 67.23.25.56] File does not exist: /home/UN/public_html/robots.txt
[Tue Sep 28 16:25:54 2010] [error] [client 67.23.25.56] File does not exist: /home/UN/public_html/404.shtml

Solution :

This is mostly caused because of permlinks. Please login to wordpress admin and check with different permalinks combination.

Error while upgrading wordpress

ARUN Posted in WORDPRESS
0

Could not create directory.: /public_html

Solution :

Remove the directory called “upgrade” from under “wp-content” and recreate the same again. If needed give 777 permission for the upgrade to complete.

WordPress asks ftp password on any upgrade or install

ARUN Posted in WORDPRESS
0
To avoid wordpress asking for ftp un and pw for any upgrade do the following :

open   wp-config.php and insert the following

define('FTP_USER', 'username');
define('FTP_PASS', 'password');
define('FTP_HOST', 'ftp.example.org:21');

Automatic wordpress upgrade fails

ARUN Posted in WORDPRESS
0

While trying to upgrade wordpress from inside  wordpress panel I receive the following and it gets struck

Downloading update from http://wordpress.org/wordpress-2.9.2.zip.

Solution :

vi wp-settings.php

On line 13 you should have

define(‘WP_MEMORY_LIMIT’, ’32M’);

Change it to 64MB

WordPress installation

ARUN Posted in INSTALLATION, WORDPRESS
0

There are many ways to install wordpress

1 )

Login to users home directory >> then download the latest wordpress zip file

wget http://wordpress.org/latest.zip

Then unzip that #  unzip filename

Make sure the permissions are correct

chown user:user * -R

Then using the browser access :   domain.com  or domain.com/wordpress

This will run a automated installation which will ask for a DB, DB USER, DB PASSWORD (Make sure u have created all those before starting the installation)