Beat the Price Increase! $6.89 .com sale 468x60
Thesis Theme for WordPress:  Options Galore and a Helpful Support Community

I need to change my wp_ extension on my wordpress blog, any tips?

by Mr.EBD on January 14, 2011

I don’t really know much about php and phpMyAdmin nor messing with them. I read that you can make your WordPress site more secure just by changing the default "wp_" to "[something]_" I looked over on how to do it but I don’t know how to really do it. I’m a straight up beginner at this.

I just wanna change it because my site has been reffered from whois.com and well now I know there has been some people peeking in to get some info, someone just might want to javascript a code into my site and jack it up…. any tips?

{ 1 comment… read it below or add one }

Coice January 14, 2011 at 4:05 pm

In order to do this, you need to edit your wp_config.php file and change the table prefix from "wp_" to whatever you prefer.

This one step will make the change you requested but ONLY on a FRESH installation.

If you make the above changes on an old install, you will BREAK your current installation, and wordpress will act as if it was just installed.

If you want to modify an existing wordpress install, you need to change the prefix above as stated above and also you will have to go into your database table editor (phpmyadmin) and change the prefix of all your database tables to whatever you changed it to in the wp_config.php file.

I do not recommend you do this though, because if you do not know what you are doing, you may totally break your wordpress installation.

If someone is already in your database and has access to the tables with the wp_ prefix, what is to prevent them from simply reading your wp_config.php file for the ‘real’ prefix? The answer is, nothing. The point of being able to change the prefix, is to allow for multiple installs into a single database.

Hope I helped.

Previous post:

Next post: