In my customer community I am using a web tab to display a VisualForce page that is a custom list view. I am using a web tab instead of a VisualForce tab because I am also passing through a parameter on the URL.
I have added the Visualforce page to the Community User profile and added it to the Community. The tab functions fine within Salesforce. In the Community, though, when the tab is clicked, I receive a site under construction page and the url no longer has the community name in it. If I add back in the Community name, it displays fine.
For example, say community address is:
www.domain.force.com/communityname
the web tab url is
/apex/VisualForcePage?viewid=00BE0000004UYvl
so the url of the tab within the Community should be:
www.domain.force.com/communityname/apex/VisualForcePage?viewid=00BE0000004UYvl
But instead, when the tab is clicked, I get:
www.domain.force.com/apex/VisualForcePage?viewid=00BE0000004UYvl
Any ideas? The ultimate goal is to show a custom list view in the Community. Any other workaround suggestions are welcome!