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

7
votes
1answer
118 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')){ ...
1
vote
0answers
43 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
134 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 ...
6
votes
1answer
182 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
1k 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
241 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 ...