A URL rewriter is an Apex Class that inherits the rewriter interface and allows a developer to map site URLs to other URLS, for example you can map `/SomeArticle` to a VisualForce page that takes a specific ID, such as `/apex/ArticleViewer?Id=xyz`, and `/SomeOtherArticle` to ...

learn more… | top users | synonyms

0
votes
0answers
28 views

How i can hide the user name parameter in url [duplicate]

In registration form once entered user name and password it will redirect to user profile page. How i can hide that particular username parameter in that url
0
votes
2answers
47 views

Re-routing to Static Resources with Site's UrlRewriter resulting in 404

Our public website has some links to downloadable PDFs. We'd like to use "pretty" URLs, but for some reason we're getting a 404 error when using the Site's UrlRewriter. The resource itself is ...
2
votes
2answers
79 views

GenerateUrlfor method invocation in Url Rewriter causing too many SOQL Exception

I am using url rewriter to convert all salesforce urls in a page to friendly url. the generate url method invokes many times(number of urls in the page) Is this how this method invoked, I thought it ...
0
votes
2answers
189 views

URL masking force.com-sites/sites.com

We have a app in place that uses sites.com these are the URL's that we are using http://myAppURL.force.com/login http://myAppURL.force.com/logout http://myAppURL.force.com/refresh ...
3
votes
1answer
141 views

URL rewriter in JavaScript

I am building something that I want to work something like Google Maps. As your state changes, the URL in the address bar changes. You can later on copy & paste this URL and come back to it. I am ...
1
vote
1answer
54 views

Problems with Urlrewriter - what actually comes int through customerPortalUrl

I was having a lot of problems with the UrlRewriter not working so I simplified it so it actually does nothing to see if I could get that to work, but it still fails to correctly load the pages. I ...
2
votes
1answer
90 views

Site.UrlRewriter and Wildcards

I'm attempting to use Angular Routing to handle all of my public facing pages. It creates a pretty smooth experience for the customers, and I have gotten it working on my development machine, but now, ...
1
vote
0answers
170 views

Rewrite sfc/servlet.shepherd/version/download images path to real image name

I have links to Salesforce Content images which I'm using inside visualforce pages inside a Site, the links have the following path: sfc/servlet.shepherd/version/download/Image_Id. I want it to be ...
0
votes
0answers
94 views

How do I make my custom domain show up in the URL bar

My company is setting up a customer portal with Salesforce SAML login. When the customer clicks login.avinetworks.com it redirects to https://avinetworks.force.com/customerportal/login. Is it ...
2
votes
1answer
265 views

Why is my Site.UrlRewriter implementation not affecting URLFOR()

I have a Visualforce Page running on a Force.com Site that looks like this: <apex:page standardController="Page__c" extensions="RootTemplateExtension"> {!URLFOR($Page.Master, null, ...
2
votes
0answers
85 views

Stop Salesforce removing https:// from start of web service url

I have set up an apex web service that receives an http get request from an external system with a querystring appended. Salesforce requires the web service endpoint to use HTTPS, which is fine, but ...
1
vote
0answers
192 views

Issue with URL rewrite when having 2 or more parameters

I'm facing an issue with my site where URL rewrite is not working using URLFOR() for 2 or more parameters. As per an answer on Stack Overflow this is an existing issue. Site.UrlRewriter Interface ...
7
votes
1answer
577 views

URL rewriting for static resources

I know you can serve static HTML by uploading it as a static resource, but is it possible to create a URL rewrite rule for a static resource? Something like this if (url.startsWith('/coach')){ ...
3
votes
1answer
329 views

URL Rewriting the Chatter Feed

I was going through the notes about URL Rewriting for a Visualforce based Community, and noticed that while my custom Visualforce Pages mapped correctly, the chatter feed component does not seem to ...
5
votes
2answers
280 views

Visualforce Caching With URL Rewriter

I have a URL rewriter running on sites which essentially maps pretty URLs to a single Visualforce page which takes a standard ID parameter. If I enable caching for the page with cache='true' in the ...
7
votes
1answer
501 views

Site.UrlRewriter Interface implementation problem with more than 2 parameters

Sites provides built-in logic that helps you display user-friendly URLs and links to site visitors. For that we need to implement Site.UrlRewriter interface and create our own class to map ...
3
votes
2answers
3k views

serverurl and visualforce

How do I get the server URL from a visual force page? I am using conga and when I invoke from a button the code it passes the server URL as: ...
3
votes
2answers
718 views

generateURLfor method in urlrewriter? how will it be invoked?

I was trying to implement the urlrewriter as mentioned in the below url http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_site_urlRewriter.htm want to know how this generateURLfor ...