Customising Application pages – relative URLs for portal site connection

So, the Portal Site Connection page of the Site Collection Administration section won’t allow relative URL’s. Never mind just create your own application page that allows you to do this, you can even cheat by copying the current Portal.aspx then commenting out the bit of the JavaScript that validates a HTTP or HTTPS entry.
We all know it’s bad to modify the core files in the LAYOUTS folder so I suggest taking a copy of the file and deploying it via a Feature to a different folder location (see the following article for help creating a feature (
When adding your custom application page you’ll need to create a link to that page somewhere (Site Actions menu or the Site Settings) you can do that via the CustomAction node in the Elements file of your feature, check out the following resource which is a fantastic list of Custom Action identifiers


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s