Try our conversational search powered by Generative AI!

Links not resolving after adding hostname (.../link/sid)

Vote:
 

Adding hostname to our Episerver stage environment has broken all of my links.  When you try following a link, they show as hostname/link/sid instead of hostname/pagename (http://hostname/link/30fb5f08c39445d7ad779b9b6aa67681.aspx).  

I see the "Rebuild Name for Web Addresses" in Admin/Config, but that doesn't seem to work.  Must be thinking it's function is something other than what I'm reading it does.

Thanks!

#216974
Feb 11, 2020 18:33
Vote:
 

All links on the site or just links added in TinyMce editor? Do you use UrlResolver to generate all links?

#216992
Feb 12, 2020 7:33
Vote:
 

All links.  In TinyMCE existing page links also show as /link/sid...  These should have been existing pages.  Not sure why adding a host name would have caused links to not resolve to the page names properly.  Not sure what UrlResolver is.  New to Episerver (basically inherited this site).

#217000
Feb 12, 2020 13:22
Vote:
 

Going to try restoring database.  

#217001
Feb 12, 2020 13:23
Vote:
 

Sounds weird. And you have a proper host definition in the website configuration in admin mode?

#217002
Feb 12, 2020 13:25
Vote:
 

I do.  It looks like my content db is "futzed".  Just noticed that the page trees are different between stage and production.  Meaning, things are missing.  Not all, so some pages should resolve, but nothing is.  

#217003
Feb 12, 2020 13:28
Vote:
 

Restored the site and links work, but now content isn't quite the same as prod.  2 steps forward, 1 step back.  

#217014
Feb 12, 2020 16:53
Vote:
 

tcooper,
Have you considered getting a Developer Subscription?

#217048
Feb 13, 2020 15:50
Vote:
 

I am now.  Thanks!

#217049
Feb 13, 2020 16:18
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.