function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DSLDSL 

Sites and Namespace

Can anyone post how to set the default landing page if you are using a namespace? Here is the example:

 

 

http://mysite-developer-edition.na6.force.com/namespace__mypage

 

Works just fine. But having the namespace just looks tacky, so I try to go to:

 

http://mysite-developer-edition.na6.force.com

 

and it blows up with the ever-popular page not found error.

 

Then I go to the sites configuration where you enter the Default Web Address. If I don't have a namespace, I can make the default page /mypage and it works fine. Once I turn on namespace, I tried to enter namespace__mypage but the sites config gives me this:

 

Error: The Default Web Address must be alphanumeric.

 

Is there any way to have:

 

http://mysite-developer-edition.na6.force.com/

 

actually serve up a real page if I'm using a namespace?

 

Thank you,

DSL

Best Answer chosen by Admin (Salesforce Developers) 
BulentBulent
We are addressing the issues related to namespace and sites with the summer09 release.

All Answers

BulentBulent
We are addressing the issues related to namespace and sites with the summer09 release.
This was selected as the best answer
Drew1815Drew1815

I am having the same issue. I am trying to setup a Site that references a page included with a namespace (from an installed managed package). The default web address doesn't work. But I can reference the namespaced page by prefixing the namespace namespace__pageName. 

 

How can I set a default web address http://sitedomain-developeredition-na7.force.com/defaultName and point it to a namespaced page?

 

Everything works fine if I don't access the Site with the default Name.