WordPress.org

Forums

[resolved] Moved wordpress flder and now no Admin Bar (8 posts)

  1. MaFt
    Member
    Posted 4 years ago #

    I've moved my WordPress installtion as per this guide: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    But now when I am logged in as an admin I do not get the admin bar at the top of the page.

    Can anyone help me out?

    Site, if it helps, is http://sunbridgeroadmission.org.uk

    MaFt

  2. 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.

  3. MaFt
    Member
    Posted 4 years ago #

    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

  4. MaFt
    Member
    Posted 4 years ago #

    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

  5. MaFt
    Member
    Posted 4 years ago #

    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...

  6. MaFt
    Member
    Posted 4 years ago #

  7. 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!

  8. MaFt
    Member
    Posted 4 years ago #

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

    MaFt

Topic Closed

This topic has been closed to new replies.

About this Topic