
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. | |
| |
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
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?
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 : )
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
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
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
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
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?
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
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
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
Hi,
Thanks so much for the great instructions.
Yours are much clearer than Marks and they worked!
Randy
[...] the Permalink [...]
[...] How to Add Permalinks (or Link-Backs or Trackbacks) to your Site [...]
Thanks Rochelle…works great!
[...] Skip this step if you did the Permalink or Mark’s Sitemap mods. This is a duplication of code used in these mods and adding it again [...]
[...] Skip this step if you did the Permalink or Mark’s Sitemap mods. This is a duplication of code used in these mods and adding it again [...]
[...] Skip this step if you did the Permalink or RSS Content Page mods. This is a duplication of code used in these mods and adding it again will [...]
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
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
Rochelle:
Thank you so much!! Works like a charm.
John
Coach Fashions,
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.
Robert,
Thank you for sharing about hiding text. Good to know!
Rochelle
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
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