How to remove category word from your WordPress URL
This pretty much old article and trick, shown, How to remove category word from your Wordpress URL. Now these days many wordpress plugins
We solved Allowed memory size of 33554432 bytes exhausted which for wordpress. Given solution for allowed memory. Change given for wordpress/wp-config.php file.
We got always following ERROR PHP Fatal error:
Allowed memory size of 33554432 bytes exhausted (tried to allocate 10485761 bytes)
This issue with old and new wordpress versions both. First you need to increase memory limit for your php package. Use following method for increase the memory for php.
Open php configuration file
# vim /etc/php.ini
Change following sections:
max_execution_time = 300 ; Maximum execution time of each script, in seconds max_input_time = 300 ; Maximum amount of time each script may spend parsing request data memory_limit = 128M ; Maximum amount of memory a script may consume (16MB)
After this dont forget to restart apache server.
I know on 2.5.1 i needed to increase the memdory, but i don’t know how in 2.6. in the wp-config.php there no define to increase memory. If you are using old wordpress version less than wordpress 2.6 version or you are using the wordpress MU then use following code. open your wp-settings.php file from root folder and change following line
if ( !defined('WP_MEMORY_LIMIT') ) define('WP_MEMORY_LIMIT', '32M');
if ( !defined('WP_MEMORY_LIMIT') ) define('WP_MEMORY_LIMIT', '128M');
If you are using the newer wordpress version greater than 2.7 then use following method. Following URL is also helpful http://codex.wordpress.org/Editing_wp-config.php
#Increasing_memory_allocated_to_PHP Edit wp-config.php and enter the following line
If you are using the shared hosting then use following method.