Title: remove hardcoded hyperlink
Last modified: August 18, 2016

---

# remove hardcoded hyperlink

 *  [drsmith](https://wordpress.org/support/users/drsmith/)
 * (@drsmith)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/remove-hardcoded-hyperlink/)
 * I’m trying to make this logo point to nerdfilter.com but I cant find where to
   change it. I changed the logo in the .css file but I cant find where its hyperlink
   properties are. I dont want to confuse users by sending them offsite.
    [http://nerdfilter.com/wp-login.php](http://nerdfilter.com/wp-login.php)

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

 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/remove-hardcoded-hyperlink/#post-111390)
 * ?? Did you look in wp-login.php?
 *  Thread Starter [drsmith](https://wordpress.org/support/users/drsmith/)
 * (@drsmith)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/remove-hardcoded-hyperlink/#post-111392)
 * Yeah, wordpress.org doesnt exist in that file. I think there’s a variable I need
   to change or disable generating that wordpress.com hyperlink. I also get it when
   posting or any admin page.
 *  Thread Starter [drsmith](https://wordpress.org/support/users/drsmith/)
 * (@drsmith)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/remove-hardcoded-hyperlink/#post-111394)
 * I found a line that looks like it could be it a while ago and replace it with:
   
   <div id=”login”> <h1>[Nerdfilter](http://nerdfilter.com/)</h1> Still, same results.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/remove-hardcoded-hyperlink/#post-111395)
 * Sorry, edited my above post after you posted. See my post above.
 *  Thread Starter [drsmith](https://wordpress.org/support/users/drsmith/)
 * (@drsmith)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/remove-hardcoded-hyperlink/#post-111397)
 * When run the code produced is this
 * > <div id=”login”>
   >  <h1>[WordPress](http://wordpress.org/)</h1> <form name=”loginform”
   > id=”loginform” action=”wp-login.php?action=login” method=”post”>
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/remove-hardcoded-hyperlink/#post-111398)
 * Ok….since you’ve ignored my post, I’ll post it again.
    Open the wp-login.php 
   file. Look at lines 231-235. `<div id="login"> <h1>WordPress</h1> <?php _e('Please
   enter your information here. We will send you a new password.') ?>
 *  Thread Starter [drsmith](https://wordpress.org/support/users/drsmith/)
 * (@drsmith)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/remove-hardcoded-hyperlink/#post-111401)
 * Nope, I didnt ignore your post. That line has been replaced with the nerdfilter.
   com line I posted above.
    Am I missing something obvious? <div id=”login”> <h1
   >Nerdfilter</h1> (forum ruins the formatting here)
 *  Thread Starter [drsmith](https://wordpress.org/support/users/drsmith/)
 * (@drsmith)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/remove-hardcoded-hyperlink/#post-111432)
 * The WP logo is a background CSS element so if I do this I just have two overlapping
   logos.
    I mean, this has to be somewhere. I checked admin header, no luck.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/remove-hardcoded-hyperlink/#post-111441)
 * You could make it into an image. Take a screenshot and then crop it.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/remove-hardcoded-hyperlink/#post-111509)
 * Ok, drsmith, please read this slowly.
    The field that you are referring to is
   known to both the php files and the css as “h1” Basically, it’s a joint effort
   to display the content. The CSS says what h1 is, and the php file says what to
   do with it. You have mentioned that wp-login.php file contains the following 
   code: `<div id="login"> <h1>Nerdfilter</h1> This places h1 in the required spot
   and then writes “Nerdfilter” over it. What you need to do, is open up wp-login.
   php and replace <h1>Nerdfilter</h1> with <h1>Nerdfilter</h1> . This will again
   place the word “Nerdfilter” over h1, but the word will now be linked to your 
   site. It works for me, please try it.
 *  Thread Starter [drsmith](https://wordpress.org/support/users/drsmith/)
 * (@drsmith)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/remove-hardcoded-hyperlink/#post-111549)
 * Oh christ, I’ve been uploading to the wp-admin directory the whole time and had
   two wp-login.php pages.
    FWIW the string “<h1>Nerdfilter</h1>” never was used,
   I just didn’t use backticks to protect the code on this forum. Thanks for the
   help guys. Sorry for the silly ftp mistake. Now onto more fun stuff! How about
   this? [http://www.everythingisnt.com/archives/screenshot.JPG](http://www.everythingisnt.com/archives/screenshot.JPG)
   I guess there’s an include or a template somewhere which generates the WordPress
   at the top, but have yet to find it.
 *  Thread Starter [drsmith](https://wordpress.org/support/users/drsmith/)
 * (@drsmith)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/remove-hardcoded-hyperlink/#post-111657)
 * Fixed this. Neede to edit admin-header.php

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

The topic ‘remove hardcoded hyperlink’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 3 participants
 * Last reply from: [drsmith](https://wordpress.org/support/users/drsmith/)
 * Last activity: [21 years, 6 months ago](https://wordpress.org/support/topic/remove-hardcoded-hyperlink/#post-111657)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
