Dougy Mak's Blog

MY BLOG!

Change Wordpress’ ABSPATH

Recently, I had migrated one of my blogs to another host. Everything was going great until I kept getting errors that showed my old host’s absolute path which was weird because I would think Wordpress wouldn’t store something like this. However, it had to do with one of my plugins (Contact Form 7), and I could of disabled it but I didn’t want to because it was an essential part of my blog. I’m guessing the plugin had some sort of interaction with the wp-upload folder. Anyways, I did a search in my MySQL database using PhpMyAdmin for a part of my old host’s absolute path and I found the entry that needed to be updated. It was under wp_conhnp_options table with the value upload_path for option_name. So just go ahead and update it’s value and everything should run smoothly again.

Here are PhpMyAdmin instructions:

  1. Select the table wp_conhnp_options in your Wordpress database.
  2. Click the Search tab.
  3. Below, look for option_name and in the corresponding text field, type in: upload_path
    and then click Go.
  4. You should  now see one record/row, click the little pencil on the left of the red x to edit.
  5. Now update your old absolute path with your new absolute path and be sure that it points to the uploads folder: /home/public_html/dougymak.com/wp-content/uploads
  6. Be sure to click Go before exiting and then check if everything’s running smoothly.


No comments

No comments yet. Be the first.

Leave a reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

L:) ;) :| :x :twisted: :roll: :oops: :o :mrgreen: :lol: :idea: :evil: :cry: :arrow: :P :D :?: :? :) :( :!: 8O 8)