wordpress htaccess
Codex Codex tools: Log in htaccess The .htaccess is a distributed configuration file, and is how Apache handles configuration changes on a per-directory basis. WordPress uses this file to manipulate how Apache serves files from its root directory, and subdirectories thereof. Most notably, WP modifies...
wordpress, aumentando a segurança
wordpress, aumentando a segurança 1. ObjetivoNeste post pretendo abordar aspectos que ajudem a melhorar a segurança do seu site wordpress. 2. WordPress Primeiro vamos focar nos ajustes e configurações da interface web. 2.1 Versão WordPress Busque sempre utilizar a última versão disponível do WordPress. Não...
Convert MyISAM tables to InnoDB
Convert MyISAM tables to InnoDB October 3, 2007 By Major Hayden 14 Comments If you want to convert a MyISAM table to InnoDB, the process is fairly easy, but you can do something extra to speed things up. Before converting the table, adjust its order...
Otimizando Performance com Compactação Gzip/Deflate
Otimizando Performance com Compactação Gzip/Deflate Fala pessoal, beleza? Hoje estou aqui para falar de um assunto que pode não ser muito conhecido por alguns, que é a compactação gzip/deflate. Essa técnica, nada mais é do que a compactação dos arquivos solicitados pelo navegador (browser) antes...
Getting mysql_set_charset() error – WPMU Dev
Warning: mysql_set_charset() expects parameter 2 to be resource, boolean given inWarning: mysql_free_result() expects O erro acima significa que a aplicação multi-db mudev usando os arquivos wp-db.php db-config.php db.php não estão se conectando com algum banco de dados como eu usava vários e mudei de servidor esse...
Melhorando o desempenho em WordPress passando de MyISAM para InnoDB
Recentemente eu estava lidando com alguns problemas de bloqueio em bancos de dados de suporte WordPress. Para aqueles que não sabem ainda o WordPress é uma ferramenta muito legal open source para fácil blogging.Esta ferramenta é muito fácil de instalar (basta arrastar e soltar em...
Remove menus and submenus from the WordPress Dashboard
Sometimes you might need to remove posts, pages, plugins or other menus and submenus from the WordPress dashboard. Here’s two handy functions put together to remove all by Chris_O over at StackExchange. Simply add these to the functions.php file in your WordPress theme then delete...
Add Your Own Branded Image Logo to the WordPress Login Screen
function change_my_wp_login_image() { echo ” “; } add_action(“login_head”, “change_my_wp_login_image”); http://diythemes.com/thesis/rtfm/add-image-logo-wordpress-login/
How to remove entire admin menu?
The correct hook to use is admin_menu and then create a function to remove the menus you want to remove. The following 2 functions remove all the menus. add_action( ‘admin_menu’, ‘remove_admin_menus’ ); add_action( ‘admin_menu’, ‘remove_admin_submenus’ ); //Remove top level admin menus function remove_admin_menus() { remove_menu_page(...
Customize the WordPress admin menu based on user roles
WordPress can be a powerful content management system but if you have multiple users often some can end up with permissions that you really wish they didn’t have. There are plenty of plugins that will let you customize user permissions but it’s not that hard...
Stay connected