migration - Moving wordpress to root folder = internal server error

I moved my Wordpress contents to the root folder. (I read somewhere that moving the wordpress installation can be done b

I moved my Wordpress contents to the root folder. (I read somewhere that moving the wordpress installation can be done by simply moving the directory contents.) It works almost fine, with the notable exception of being unable to run the administration. It tries to find it in the original subdirectory, then (not finding it) throws "internal server error".

Do I need to change an item in the database or something?

I moved my Wordpress contents to the root folder. (I read somewhere that moving the wordpress installation can be done by simply moving the directory contents.) It works almost fine, with the notable exception of being unable to run the administration. It tries to find it in the original subdirectory, then (not finding it) throws "internal server error".

Do I need to change an item in the database or something?

Share Improve this question edited Apr 13, 2019 at 19:57 fuxia 107k39 gold badges255 silver badges459 bronze badges asked Apr 13, 2019 at 11:02 CoatlCoatl 1
  • Oh, I found the item it in the "wp-options" table in the databse. I changed the original folder to the root folder and all seems to be working now. I suppose, it is all I need to do? – Coatl Commented Apr 13, 2019 at 11:13
Add a comment  | 

1 Answer 1

Reset to default 0

You should look at the Codex (a great place to find answers) for information about moving a WordPress site. See https://codex.wordpress/Moving_WordPress . Follow those steps.

You'll find (among your tasks) that you need to change the two URL entries in the wp-options table (which you already discovered), and then do a search/replace to change the old URL to the new URL. (Media, for example, stores the complete URL in the item's database entry.)

I use the "Better Search and Replace" plugin to do that, but there are other options.

You may also need to look at your htaccess file when you are done. And, of course, make a backup of your database.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745592321a4634906.html

相关推荐

  • migration - Moving wordpress to root folder = internal server error

    I moved my Wordpress contents to the root folder. (I read somewhere that moving the wordpress installation can be done b

    9小时前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信