hyperlink - Umbraco - Incorrect alternative link to document -


on our website, have following structure:

 sitename   -global     -english   -uk     -english 

for global > english page, links page showing as:

link document

/global/en/

alternative links

http://english 

so 'link document' correct, alternative link isn't. on uk > english page, correct 'link document'. i've tried publishing out whole site can't times out (i've tried increasing timeouts, it's taking hour publish strange network error), , re-publishing whole 'global' node , sub-documents doesn't fix things. other way fix this? purpose of 'alternative links' , how these determined?

as suggested in original post, set basic umbraco v6.1.2 instance (using nuget in visual studio) single doc type , identical top-level structure have described.

so:

  1. set umbracousedirectoryurls true in web.config
  2. the doc type, called "basicpage" has single property called "umbracourlname". allows overwrite path created umbraco based upon title of node. assume have in doc type.
  3. i set both english nodes have umbracourlname of "en".
  4. i added 2 hostnames root node - "localhost" , "mobile.localhost"
  5. i published root node , following nodes

umbraco screenshot

as can see, both "link document" , "alternative links" expected.

i suspect may right trying site publish may fix issue, may have publish site in bits, working branch branch.

however, advise creating test umbraco instance have done , comparing have.

alternatively, can of course remove hostname settings altogether if entire content structure going served using same hostnames these can controlled in iis. umbraco doesn't need know them unless have separate distinct sites in same content tree.


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -