26
I recently wrote about how to add external links to your sidebar menus. Those instructions tell you how to add external links that are either above or below your Site Navigation menu. Since that post I have learned how to add external links to your sidebar menus so that they show up alphabetically along with any other pages you have created. This is one of my favorite mods.
Build A Niche Store member Pip gets credit for this mod. Thank you for sharing, Pip.
My instructions to add external links alphabetically to your site’s sidebar: |
|
| This set of instructions will take visitors from your site, NOT open in a new window or tab. | |
|
Step One
|
|
| Open Notepad (not a word processing program such as Word). Copy and paste the contents of external-link.txt to Notepad. | |
| Note: Change http://externalURL.com to the URL you want to send people to. | |
| Save the file as externalURL.php or whatever you want to name this link, but it must have the .php extension. | |
| Step Two | |
| Upload the file you created in step one to your site’s root folder (where you site’s index.php is located). | |
|
Step Three
|
|
| Log in to your site’s Admin and click on the ‘Content Pages ‘ tab and ‘Create Content Page ‘ link for the template you are using. If you prefer, you can create a new store page instead of a content page. | |
| Enter the following information: | |
|
|
| Note: You MUST include the extension in the ‘Page URL’ name. If your file is google.php then the link must be google.php - INCLUDE the .php or the link won’t work. | |
| Save page and view site for errors. | |
|
.
|
|
You now have a link that takes visitors away from your site that is alphabetically listed in your site’s sidebar menu.
The instructions above will not open a new window or tab. If you prefer to have a new window or tab open then follow these instructions. Be aware, though, if users block popups then the new window or tab may be blank. I know of no way to prevent this.
My instructions to add external links alphabetically to your site’s sidebar: |
|
| This set of instructions will NOT take visitors from your site, as it WILL open in a new window or tab, but it may be blank. | |
|
Step One
|
|
| Open Notepad (not a word processing program such as Word). Copy and paste the following code to Notepad: | |
| <html> <body> <script> window.open(”http://www.externalURL.com”, “_blank”, “”); </script> </body> </html> |
|
| Note: Change http://externalURL.com to the URL you want to send people to. | |
| Save the file as externalURL.html | |
| Note: You can use the actual URL you are sending people to. For example, if you want to add an external link to Google you can save the file as google.html | |
| Step Two | |
| Upload the file you created in step one to your site’s root folder (where you site’s index.php is located). | |
|
Step Three
|
|
| Log in to your site’s Admin and click on the ‘Content Pages ‘ tab and ‘Create Content Page ‘ link for the template you are using. If you prefer, you can create a new store page instead of a content page. | |
| Enter the following information: | |
|
|
| Note: You MUST include the extension in the ‘Page URL’ name. If your file is google.html then the link must be google.html - INCLUDE the .html or the link won’t work. | |
| Save page and view site for errors. | |
|
.
|
|
Rochelle

Rochelle
comments (11)