Wednesday 4 February 2015

Solution of wordpress error “404 Not Found The resource requested could not be found on this server!”

Problem: .htaccess file is removed or changed.


Solution:

1. Access your root directory with any FTP software as i am using Aptana Studio 3.
2.Go to View Menu in side bar then open Customize View.

3.Customize View Panel will be open. Uncheck the *.files to show the Hidden files.

4. If .htaccess file is found go to step 6 else go to step 5.
5.Create a New file with the name of .htaccess.
6.Paste or Type the Following code(Shown in Picture) in the .htaccess file.


7.Save the .htaccess file in your Root Directory.

Tuesday 27 January 2015

Increase Upload Max File size in wordpress

Method 1:Theme Functions File

There are cases where we have seen that just by adding the following code in the theme function’s file, you can increase the upload size:
1@ini_set'upload_max_size' '64M' );
2@ini_set'post_max_size''64M');
3@ini_set'max_execution_time''300' );

Method 2: Create or Edit an existing PHP.INI file

In most cases if you are on a shared host, you will not see a php.ini file in your directory. If you do not see one, then create a file called php.ini and upload it in the root folder. In that file add the following code:
1upload_max_filesize = 64M
2post_max_size = 64M
3max_execution_time = 300
This method is reported to work for many users. Remember if 64 doesn’t work. Try 10MB (sometimes that work).

Method 3: .htaccess Method

Some people have tried using the htaccess method where by modifying the .htaccess file in the root directory, you can increase the maximum upload size in WordPress. Open or create the .htaccess file in the root folder and add the following code:
1php_value upload_max_filesize 64M
2php_value post_max_size 64M
3php_value max_execution_time 300
4php_value max_input_time 300
Using above methods upload file size will be increased from 2MB to 64 MB like this