+ Start a Discussion
Raghu NaniRaghu Nani 

URL Redirect

URL Redirect
Is there any wildcard or way to setup so it doesn't do an exact match.
 
I want to do a redirect anytime it hits a relative url like /detail/foo ... however if it has a querystring it ignores it  so this does nothing 
/detail/foo?id=xxxxxxxxxxxxxxxx
 
Tried a variety of different formats but no luck.  Not sure it is possible.
 
I need system to ignore parameters and if it matches /detail/foo it has to redirect, but not happening
Thanks
AbhishekAbhishek (Salesforce Developers) 
Hi Raghu,

If you're trying to set up a "URL Redirect" that ignores the query string, inside site.com you want to use a "matchless alias." To do this you go into Site Configuration > URL Redirects and create a new redirect. Select "Alias" for Redirect Type and then make sure the "Match" checkbox is NOT checked. You'll then have a matchless alias that will ignore the query string.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks.
Raghu NaniRaghu Nani
Hi Abhishek,

I am not able to find any option which your referring,--> Select "Alias" for Redirect Type and then make sure the "Match" checkbox is NOT checked. 
Can you please share screen shot if your able to see in your org

Regards,
Raghu
Raghu NaniRaghu Nani
Hi ,

Any thoughts on this, Why salesforce is not allowing redirect if it matches the domain,