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:
- set umbracousedirectoryurls true in web.config
- 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.
- i set both english nodes have umbracourlname of "en".
- i added 2 hostnames root node - "localhost" , "mobile.localhost"
- i published root node , following nodes
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
Post a Comment