Title: logo link problem
Last modified: August 20, 2016

---

# logo link problem

 *  [firefrank](https://wordpress.org/support/users/firefrank/)
 * (@firefrank)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/logo-link-problem-1/)
 * Hi there,
 * I copied my wordpress site to another server and got it running. The problem 
   I am facing is when I click the main logo of the site I get:
 * “Forbidden
    You don’t have permission to access /site on this server.”
 * Now.. this problem does not happen if I trail slash the address.
    Imagine this:
 * [http://localhost/site/](http://localhost/site/) – Works great
    [http://localhost/site](http://localhost/site)–(
   without the slash/)I get the above error “Forbidden”
 * What can be causing this?
    Any piece of advice is welcome.
 * Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/logo-link-problem-1/#post-2749606)
 * Have you tried:
 * – deactivating **all** plugins to see if this resolves the problem. If this works,
   re-activate the plugins one by one until you find the problematic plugin(s).
 * – switching to the Twenty Eleven theme to rule out any theme-specific problems.
 *  Thread Starter [firefrank](https://wordpress.org/support/users/firefrank/)
 * (@firefrank)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/logo-link-problem-1/#post-2749620)
 * I can solve it by adding “. ‘/'” after “home_url()” to the theme as follows:
 * `<a class="fade" href="<?php echo esc_url( home_url()` _**. ‘/’**_`); ?>" title
   ="Home" >`
 * But it’s not the solution I am looking for as home_url() should do the trick 
   and this is working in another server without this modification. I dont know 
   why.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/logo-link-problem-1/#post-2749623)
 * You should be using something like:
 * `<a class="fade" href="<?php echo esc_url( home_url('/'); ?>" title="Home" >`
 *  Thread Starter [firefrank](https://wordpress.org/support/users/firefrank/)
 * (@firefrank)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/logo-link-problem-1/#post-2749649)
 * Thank you. I guess this solves it. Dont know why it works on the other server
   without this modification.
 * Something related to apache and trailing slash?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘logo link problem’ is closed to new replies.

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 4 replies
 * 2 participants
 * Last reply from: [firefrank](https://wordpress.org/support/users/firefrank/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/logo-link-problem-1/#post-2749649)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
