I've been looking for some form of URL redirect package. The one's available don't seem to quite do what I need. So before I go and begin developing something from scratch, I thought it'd be best to ask in case I'm missing something.
I want to be able to setup a redirect from a vanity url, e.g. /niceurl
to a page in the (Umbraco) website including some query parameters in the destination url, e.g. /redirected/landing-page?name1=value1&name2=value2
The redirect packages available don't allow for having query parameters on the url directed to. Is there some package that does?
Unfotunately this won't work for me for a couple of reasons:
1. I really need it to be a redirect because I need the query parameters available on the client (accessible from client JavaScript). With url rewriting that won't happen.
2. I really want this to be done from within Umbraco so that web admins (who are not developers) can setup such a redirect (i.e. without me having to edit a config file).
I did see the Permanent Redirect package and from what I could tell it's not going to give me what I'm after especially since they use a Content Picker data type, I don't think it will allow me to set query parameters for the destination URL? Further, the page that I want to redirect from (/niceurl in my original example) doesn't exist in the site. I gather that the way it works (similar to umbracoRedirect) is that you set a property on the page you want to be redirected? I'll install and attempt it, I did try the 301 URL Tracker package and could not achieve my desired outcome with that.
If am not mistaken what you are trying to achieve is redirect a page to a specific url outside of you page. The Admin will type the Url from the backEnd itself right?
Not quite. I have a page within the Umbraco CMS, say
/redirected/landing-page
I want to be able to supply a potential visitor with a 'vanity url', say /niceurl, but when they visit that url I want them to be redirected to the above url with some additional query parameters (that are used for tracking):
URL redirect package with query params
Hi,
I've been looking for some form of URL redirect package. The one's available don't seem to quite do what I need. So before I go and begin developing something from scratch, I thought it'd be best to ask in case I'm missing something.
I want to be able to setup a redirect from a vanity url, e.g. /niceurl
to a page in the (Umbraco) website including some query parameters in the destination url, e.g. /redirected/landing-page?name1=value1&name2=value2
The redirect packages available don't allow for having query parameters on the url directed to. Is there some package that does?
Cheers
Can you not achieve what you are trying to do in /config/urlrewriting.config ?
It's not a package it's part of the core
eg. to map /something/region/5/ to /something?region=5
<add name="regionJobsRewrite" virtualUrl="^~/something/region/(.[0-9]*)/" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/something?region=$1" ignoreCase="true" />
Hi,
Thanks for taking time to reply.
Unfotunately this won't work for me for a couple of reasons:
1. I really need it to be a redirect because I need the query parameters available on the client (accessible from client JavaScript). With url rewriting that won't happen.
2. I really want this to be done from within Umbraco so that web admins (who are not developers) can setup such a redirect (i.e. without me having to edit a config file).
Cheers
Hi Bob,
May be those threat might help you Permanent Redirection or Cultiv.nl. I followed Cultiv.nl to get my redirection issues solved.
//fuji
@Bob : Sorry i was replying to your threat at same time you responded !!
You might consider using the URLPicker in uComponents.
//fuji
Hi Fuji,
Thanks for the reply.
I did see the Permanent Redirect package and from what I could tell it's not going to give me what I'm after especially since they use a Content Picker data type, I don't think it will allow me to set query parameters for the destination URL? Further, the page that I want to redirect from (/niceurl in my original example) doesn't exist in the site. I gather that the way it works (similar to umbracoRedirect) is that you set a property on the page you want to be redirected? I'll install and attempt it, I did try the 301 URL Tracker package and could not achieve my desired outcome with that.
Cheers
Hi Bob,
If am not mistaken what you are trying to achieve is redirect a page to a specific url outside of you page. The Admin will type the Url from the backEnd itself right?
Hi,
Not quite. I have a page within the Umbraco CMS, say
/redirected/landing-page
I want to be able to supply a potential visitor with a 'vanity url', say /niceurl, but when they visit that url I want them to be redirected to the above url with some additional query parameters (that are used for tracking):
/redirected/landing-page?name1=value1&name2=value2
And ideally, I want to be able to manage this from within the CMS backend.
Cheers
Hi,
An update, this package:
http://our.umbraco.org/projects/backoffice-extensions/manage-url-redirects
almost gives me what I'm after. It lacks the ability to set query parameters on the destination URL to which the user is redirected.
Cheers
Bob,
I am having the exact same problem. Did you ever find an answer?
Installed 301 URL Tracker package and all my problems were fixed.
http://our.umbraco.org/projects/developer-tools/301-url-tracker
HI Bob,
You might want to check out Url Tracker which allows to do this http://our.umbraco.org/projects/developer-tools/301-url-tracker If you need import functionality and maybe other SEO related functionality you might want to check out http://our.umbraco.org/projects/website-utilities/seo-checker
Cheers,
Richard
is working on a reply...