Imtech SharePoint GoCodes is a SharePoint Feature which allows you to manage a list of accessible URL's in SharePoint 2007. Instead of using for example http://SharePoint/MyDivision/SubSites/Documents/VeryImportant.docx you can use http://SharePoint/go/ImportantDoc.
The Feature allows you to use semantic URL's. It becomes really useful if you either send URL's to other people or want to make particular pieces of your SharePoint Site easily accessible.
The Imtech SharePoint GoCodes Feature gives you two redirect options: permanent and temporary. These options are very important considering Search Engine Optimization (SEO). Depending on your scenario you might want search engines to index particular redirects and skip others.
Another Feature is tracking the number of redirects. You can enable it per redirect. It gets particularly useful if you use a particular Go for example in presentations and would like to know how many people have visited it.
Imtech SharePoint GoCodes is a free Feature and you can use it without any restrictions.
Download: Imtech SharePoint GoCodes v1.0.0.0 (25KB) and the source code (69KB).

















September 23rd, 2008 at 3:25 pm
Hi,
I have installed the solution "Imtech.SharePoint.GoCodes.wsp" and activate the feature. I go to GoCodes library http://mihail:16776/Lists/GoCodes/AllItems.aspx and set
1. Go Code – "http://mihail:16776/SitePages_2.0.809.1500/PersonPersonalInfo"
2. Url – "http://mihail:16776/SitePages_2.0.809.1500/PersonPersonalInfo.aspx"
But when I'm accessing "http://mihail:16776/SitePages_2.0.809.1500/PersonPersonalInfo" message "page can not be displayed" appears. Please can you tell me what to do to resolve this problem.
Greetings,
Mihail
September 23rd, 2008 at 3:56 pm
You have misunderstood the concept of a go-code. You cannot enter a full URL to redirect to. Instead you should use a short go-code. In your situation the go code could be 'PersonalInfo' and the URL "http://mihail:16776/SitePages_2.0.809.1500/PersonPersonalInfo.aspx". You would be able to access your page by using "http://mihail:16776/go/PersonalInfo"
June 26th, 2009 at 4:50 pm
We are having internet-facing site.My client is expecting to display .html extension for all publishing pages with removing \"Pages\" folder url.
e.g
for Page say http://www.abc.com/Pages/Home.aspx
In address bar user only need to write
http://www.abc.com/home.html
It it possible in sharepoint?
June 27th, 2009 at 11:13 pm
@Amit: I'd say it is possible but it would definitely involve some custom development. MOSS 2007 doesn't provide such functionality out of the box.
February 10th, 2010 at 5:28 pm
Hi Waldek, Thanks for your code. is it possible to redirect an URL with query string? for ex, http://san/Pages/PriceList.aspx?itemID=1 to http://san/Pages/priceList/iPhone
February 11th, 2010 at 7:40 am
@San: I think that you would have to use a custom URL rewriting solution for that.
February 16th, 2010 at 12:16 pm
Hi Waldek, I tried your GoCodes Project and its a great idea!!! it works for me if the url is http://san/Lists/GoCodes/Go/FirstRedirectItem but not for http://san/Go/FirstRedirectItem why is that happening even though we have httphandlers entries in web config.
February 17th, 2010 at 12:15 am
@San: That's interesting. Have you changed anything about the path to the HttpHandler in web.config?
February 17th, 2010 at 12:33 pm
when I activated the feature these things are added to <
February 17th, 2010 at 12:34 pm
add verb="GET" path="go/*/" type="Imtech.SharePoint.GoCodes.GoCodesHttpHandler, Imtech.SharePoint.GoCodes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d2359c69d2a4a164"
add verb="GET" path="go/*" type="Imtech.SharePoint.GoCodes.GoCodesHttpHandler, Imtech.SharePoint.GoCodes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d2359c69d2a4a164"
February 15th, 2011 at 5:53 am
I tried installing this on SharePoint 2010 and was successfully able to install it but when I tried to activate it using Site collection features, it gives me an error.
Error
An unexpected error has occurred.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: af181efa-1a79-4f2e-b5aa-3a73ec503368
Date and Time: 2/15/2011 12:46:20 PM
I was activating the feature using Sharepoint admin account.
February 17th, 2011 at 4:24 pm
@leiyah: have you tried disabling custom errors to get some more information about the error that you are getting?
September 21st, 2011 at 5:41 pm
Hi Waldek. I've been looking for a /go/ style feature, so I'm trying to install yours. Unfortunately even though I ran the 'install.cmd' file and both stsadm lines return 'Operation completed successfully', I'm not seeing anything in SharePoint. I'm using SharePoint 2010, so I updated the cmd files to use \14\ instead of \12\ for stsadm, and my site is '@URL' is simply 'http://ec2-devmoss1' without any sites specified. Does anything strike you as wrong in this configuration? Where should I see GoCodes? I checked the features of the ec2-devmoss1 site, the central admin and the web apps, but nothing jumps out at me. Hope you can help, even all these years later :)
September 21st, 2011 at 8:04 pm
Update to my question above: I was able to get passed my first hurdle, by reading Leiyah's question above, and realizing that this is a 'site collection feature'. Initially when I tried to activate the feature I was shown errors that access was denied to my web.config, but I fixed that.
However, now when I try to activate the feature I'm given a 'yellow screen of death', Server Error in '/' Application: Security Exception (System.Security.SecurityException: Access denied"). The stack trace start with…
—————–
[SecurityException: Access denied.]
Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate() +27021963
Microsoft.SharePoint.Administration.SPWebApplication.ApplyWebConfigModifications() +27087521
—————–
I'm logged into the server directly, with an admin account, and I'm using SharePoint with an admin/owner account too.
Any ideas what the problem might be?
September 22nd, 2011 at 7:38 am
@QMKevin: What issues did you exactly have with web.config and how did you fix them?
September 22nd, 2011 at 1:02 pm
The issues were more 'acces denied', and to resolve I essentially let 'everyone' have full access to that specific file (temporarily). In the web.config I now see two lines were added:
———-
———-
I also Googled the issue I reported the second time, access denied with the following stack: 'Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate() ', and found an article by Paul Kotlyar which provided a PowerShell script to resolve that (http://unclepaul84.blogspot.com/2010/06/sppersistedobject-xxxxxxxxxxx-could-not.html).
So, currently GoCodes is activated and installed. I can see the list, and can add new items to the list, but when I try to use http://ec2-devmoss1/go/mynewcode I get a 404 file not found error.
Sorry to keep reporting issues, it's just that the functionality of this feature is exactly what I need to implement, but I've not found any other systems that do this.
September 22nd, 2011 at 1:03 pm
The missing web.config entries are:
< add verb="GET" path="go/*/" type="Imtech.SharePoint.GoCodes.GoCodesHttpHandler, Imtech.SharePoint.GoCodes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d2359c69d2a4a164" />
< add verb="GET" path="go/*" type="Imtech.SharePoint.GoCodes.GoCodesHttpHandler, Imtech.SharePoint.GoCodes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d2359c69d2a4a164" />
September 22nd, 2011 at 4:46 pm
@QMKevin: Did you put the entries in the right place? Because you're working with SharePoint 2010 and IIS7 the place to put the HTTP Handler entries depends on whether your Application Pool is running in the Integrated (most likely) or Classic mode. I suggest you add the HTTP Handler entries that you mention to other similar entries that you should see in the web.config.
September 22nd, 2011 at 6:51 pm
I didn't manually add the web.config entries, so I'm assuming they were done by the install.cmd file. I checked my web.config, and the two Imtech ones are the only HTTP Handler entries, so I'm assuming they are in the right place.
September 22nd, 2011 at 7:13 pm
@QMKevin: The Solution has been build quite some time ago and hasn't been updated/tested with SP2010 yet so you might want to double check that the HTTP Handlers are in the right place.
September 22nd, 2011 at 7:27 pm
Will do :) Thanks for the help to this point, and if I get it working, I'll certainly post back here so others can following along :)