Segunda-feira, Março 18BLOGS

Etiqueta: Proteger Wordpress

Proteger WordPress

Proteger WordPress

Info, PHP
1. Change Database Prefix ($table_prefix) The WordPress database consists of many tables to store posts, links, comments, users etc. Now these tables by default have standard names like wp_users, wp_options, wp_posts etc. Now a hacker knows that your user details are stored in the table wp_users, and will try and exploit this. We can however prevent the hacker from guessing the name of the table. To do this, while installing WordPress, we need to change the setting for $table_prefix. In your wp-config file there will be a line: $table_prefix  = 'wp_'; You need to change it to something random like: $table_prefix  = 'axcsr_'; This will cause the tables in the database to become axcsr_users, axcsr_posts etc, in turn making it harder for the hacker to guess. 2. Disable Edit