Click to go to USFreeAds' website
About
This website is all about strategies to help you grow your niche store empire. I have many Build A Niche Store sites and use the strategies that I share here.
Newsletter
Subscribe to my posts and get all of the latest tips and strategies sent directly to your email!
Delivered by FeedBurner
RSS Feed
Get the most recent posts and comments sent to you directly by subscribing to my RSS feeds!
Subscribe to RSS! Subscribe to RSS Comments!

Jan
29

How to Add Permalinks (or Link-Backs or Trackbacks) to your Site

RochelleHow To..., Strategies

BANS member Mark (aka meeymydomains) has given us many excellent mods for our sites. This one, though, seems to be difficult for members to implement. I took an afternoon and wrote up my own instructions for this mod and it has worked for me.

Mark’s instructions for this mod are located here.

 

My instructions to add permalinks to your site:

Step One
  Go to FrontControl.php (click here if you don’t know how to do this).
   
  Save a copy of the original code (click here for instructions on how to do this).
   
  Copy and paste contents of permalink 01.txt to FrontControl.php ABOVE the “function meta()” tag.
   
  Save file and view site for errors.
Step Two
  Log in to your site’s Admin and click the ‘Template‘ and ‘header.php‘ links for the template you are using.
   
  Save a copy of the original code (click here for instructions on how to do this).
   
  Copy and paste contents of permalink 02.txt to header.php BELOW the </head> tag.
   
  Save file and view site for errors.
   
 

Note: There are a few things to mention at this point.

 
  • If done correctly there will now be wording at the top of your site, most likely in the upper-left corner above your header. If you don’t see anything it may still be there but hidden. To see if this is true for you try this: Select your entire site. There are many ways to do this with the easiest right clicking anywhere on your site and selecting ‘Select All.’ This will select and highlight all text on your site. You should now be able to see the permalink at the top of your site, probably in the upper left corner. Here is how one of my sites upper left corner normally looks:

    Image of site with permalink hidden

    Here is how the same site’s upper left corner looks when I select the entire site and the permalink is no longer hidden:

    Image of site with permalink viewable

  • Secondly, if you do have text at the top of your page and your Home page text says, “Your Title Goes Here,” then you need to change this on your Home page. To do this click on the ‘Content Pages‘ link within your site’s Admin and then click ‘Edit’ for the ‘Home‘ content page. Change the default wording for the ‘Title‘ section. You can change the ‘Keywords‘ and ‘Description‘ while you are here. Save your changes and now view your site’s Home page. The wording at the top should now reflect your changes.
Step Three
  Note: Skip this step if you did Mark’s Sitemap or RSS Content Page mods. This is a duplication of code used in these mods and adding it again will cause a fatal error on your site.
  Click on the ‘footer.php‘ link for the template you are using.
   
  Save a copy of the original code (click here for instructions on how to do this).
   
  Copy and paste contents of permalink 03.txt to your footer.php ABOVE the </body> tag.
   
Step Four
  Copy and paste contents of permalink 04.htm where you want the permalink to show. Perhaps the best place to add it is ABOVE the </body> tag in . (It will be UNDER the code from the previous step.)
   
  Save file and view site for errors.
done

Rochelle

Related Posts:

  • How to Change the ‘Home’ Link Wording
  • How to Add ‘Refer a Friend’ Code to Your Site
  • How to Add ‘Bookmark this Site’ and ‘Refer-a-Friend’ Links to your Site
  • How to Add Mark’s Sitemap to Your Site
  • How to Add ‘Bookmark This Site’ Code to Your Site
  • How to Add a Single RSS Content Page to Your Site
  • How to add a ‘Safety on eBay’ page to Your Site
  • How to Add a Disclaimer to Your Site
  • How to Add a Dynamic Sitemap to Your Site
  • How to Add a ‘Contact Us’ Form to Your Site
  • RSS feed | Trackback URI

    24 Comments »

    Comment by Josh
    2008-02-02 19:49:48

    I was with you until the permalink 04.txt file. That looks substantially different than the last step in Mark’s instructions. Why is that?

     
    Comment by Rochelle
    2008-02-02 20:52:45

    Josh,

    You are right - I missed that one. I’ve corrected it so all should be well now. Thanks for pointing that out to me : )

     
    Comment by Alice
    2008-02-03 18:53:55

    Yay! I got it to work! Thanks Rochelle - you’re awesome!

    I have one question though. I see the link at the bottom of the page, but I can’t see anything at the top. Is it invisible, or just not supposed to show up?

    Alice

     
    Comment by Rochelle
    2008-02-04 11:50:11

    Alice,

    I’m so glad you asked about the permalink at the top as I didn’t think them not showing. Yes, the permalinks at the top are hidden. I added a few steps at the bottom of these instructions on how you can see if your permalinks are also hidden. I know that Mark’s permalinks aren’t hidden on the top but I don’t know how to make them show. If anyone seeing this does please share and I’ll gladly revise the instructions.

    Rochelle

     
    Comment by Joette
    2008-02-06 19:26:14

    I am finding all of your instructions easy to follow. Explaining the opening of certain files and where to find them has been a lifesaver. My question about this is …..Is this a code I need to change before I paste it. “Your site” to the url or name of my site?, Joette

     
    Comment by Rochelle
    2008-02-09 21:35:49

    Joette - I just followed these instructions to a new site I’m working on and might know what you are asking. No, there is nothing to change before you paste any of these codes. However, you may need to edit your site’s Home page. I modified the instructions above to explain how to do this. Was this what you meant?

    Rochelle

     
    Comment by Alice
    2008-02-10 23:26:21

    I’m adding this to more of my sites, and one of them shows the text at the top of the site. How do I make it invisible?

     
    Comment by Rochelle
    2008-02-11 06:58:54

    Alice - Sorry but I have no idea. I’ve noticed the same thing that sometime the text is visible and sometimes it isn’t.

    Rochelle

     
    Comment by Brad
    2008-02-13 16:25:21

    Hi Rochelle

    I used the info here to put the permalinks on 3 of my BANS sites. My question is that the first two sites went through perfectly. The last one I did shows up, but now the scripting is messed up. I am using the “layout-1-both” template. When I made all the changes the site is broken into three sections now. The top shows the logo, Store Pages, and Ads. The middle shows the eBay listings. The end shows my ads which would normally be on the right side of the site. Everything shows up including the permalinks. Do you know how I can make it one whole site again?
    Thanks

     
    Comment by Rochelle
    2008-02-13 16:36:49

    Brad - I’m so sorry to hear that this isn’t working for one of your sites. I’m unaware of any BANS templates not working with this and don’t know what may be causing the error.

    I hate to ask but did you save copies of the original codes on Notepad docs during this process? If so, restore all the original codes back to their respective pages and save the changes.

    If not, you can go through each step for the site that doesn’t look right and see if there was an error somewhere, or you can go through the steps to see what you added and remove them, then saving the changes (in other words, you can work backwards to remove the code you added).

    You can also post on the BANS forum as someone there might have an idea of what went wrong. If you do this be prepared to be very specific (sharing links to the offending site is very helpful but we all understand if you don’t want to do this) with the errors.

    Please keep us posted on what you do and if you are able to correct the errors.

    Rochelle

     
    Comment by Randy
    2008-02-19 23:00:27

    Hi,

    Thanks so much for the great instructions.

    Yours are much clearer than Marks and they worked!

    Randy

     
    Comment by Adrienne
    2008-03-07 14:45:20

    Thanks Rochelle…works great!

     
    Comment by John
    2008-03-26 01:27:55

    Hi Rochelle:

    I installed both Permalinks(top & bottom) and they work fine. However, for aesthetics, I would like the top one to be invisible. Any idea how I can do this? If I knew what CSS style was being used I could change the text color to the background color, but I can’t figure that out. Is there another way? Perhaps add something to the line of code that was inserted? Thanks for the help!

    John

     
    Comment by Rochelle
    2008-03-26 06:03:20

    John,

    If you want to make the top permalink to be invisible you need to follow the directions at http://www.nichestorestrategie.....your-site/

    One word about doing this. The above mod will change the font in your content area as well. Keep two things in mind:

    1) The color you choose needs to match your background color.
    2) The font in your content section will change to match your background. You may need to change the color of your background to make the font in your content area easily read. Play around until you get a pleasing combination.

    Rochelle

     
    Comment by John
    2008-03-26 10:17:49

    Rochelle:

    Thank you so much!! Works like a charm.

    John
    Coach Fashions,

     
    Comment by Robert
    2008-04-09 03:44:44

    You might want to note that Google looks upon invisible text as spamming / gaming the search engines so anyone who puts text in the same color as the background is going to shoot themselves in the foot.

     
    Comment by Rochelle
    2008-04-17 09:49:48

    Robert,

    Thank you for sharing about hiding text. Good to know!

    Rochelle

     
    Comment by Joette
    2008-04-22 15:50:46

    Quick question just to be sure. Which step exactly is it to skip if you have Marks RSS feed on a content page. Step 2 or 3. Wasn’t sure because the note is in the pink area. Tried this on a site with the feed the other night and got fatal error after Step 2 so hoping that is the one. Joette

     
    Comment by Rochelle
    2008-04-22 19:59:02

    Joette,

    Sorry to confuse you with too much pink. Step three is the one to skip if you already did the RSS feed mod.

    Rochelle

     
    Name (required)
    E-mail (required - never shown publicly)
    URI
    Subscribe to comments via email
    Your Comment (smaller size | larger size)
    You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

    Trackback responses to this post