WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Moved wordpress flder and now no Admin Bar

[Resolved] Moved wordpress flder and now no Admin Bar

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Kathryn

    @zoonini

    Automattic Happiness Engineer

    Check your footer.php theme file and make sure you see this bit of code just before your closing </body> tag:

    <?php wp_footer(); ?>

    Without that hook the admin bar doesn’t appear.

    Yup, that’s all present and correct. The admin bar worked fine until I moved the folder. Nothing else has changed with the templates or any of the code.

    MaFt

    just a thought, where is the wp_footer() function declared? I wonder if I need to amend that slightly to look for the ‘site’ folder (where wordpress is installed)?

    MaFt

    OK, this is now solved though totally accidentally!

    I was having issues getting into other folders on my server owing to permalink setup in .htaccess. This guide showed me to change the .htaccess from ‘RewriteRule . /site/index.php [L]’ to ‘RewriteRule ./ /site/index.php [L]’ to get access back to my folders on the server.

    Having done this the admin bar now shows up! Strange…

    Moderator Kathryn

    @zoonini

    Automattic Happiness Engineer

    Glad you got it fixed. If you would please mark this thread as “resolved” (drop-down menu in the right column) it would be appreciated. Helps everyone keep better track of whose issues are still outstanding. Thanks!

    thanks, i was looking for someway to say it was resolved!

    MaFt

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Moved wordpress flder and now no Admin Bar’ is closed to new replies.
Skip to toolbar