Absolute paths in backend for plugins after moving wordpress
Question
I wanted to move my wordpress from www.domain.com/old-name
to www.domain.com/new-name
. I thought that this is no problem and I missed backing up...
Now if your are logged in into the dashboard the plugins are not working as expected. The problem is that the css and js files have an old absolute path in it. Example:
http://domain.com/new-name/wp-content/plugins/var/www/web/mag/old-name/wp-content/plugins/tinymce-advanced/css/tadv-styles.css?ver=3.4.2
Why does Wordpress takes here an absolute path and where is it stored?
There is no entry in the database...
EDIT:
Perhaps it is because I created a symlink with the old-name. I created the symlink to get the page running ... If I remove it I get the following error:
Warning: require_once(/var/www/web/mag/old-name/wp-includes/pomo/translations.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/web/mag/old-name/wp-includes/pomo/mo.php on line 10
Fatal error: require_once() [function.require]: Failed opening required '/var/www/web/mag/old-name/wp-includes/pomo/translations.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/web/mag/old-name/wp-includes/pomo/mo.php on line 10
Why does he takes the old name? Is it a server setting/caching?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange