Hi there, Im trying to make a comments form in a website, and running into a annoying error:
"The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."
I think its because my node Name are in hebrew letters and when the browser translate it to URL it gets really long- e.g:
I thought that a good solution will be to use different URL to these pages- maybe the nodeID, but- Is these even possible to make the umbraco use this URL automatically when posting the comment/ permanently for these nodes?
I want to replace space with my own string or symbol _ , but the chang is not reflected in the url's. The '-' symbol is still there instead of my own. For othere symbols it is working fine.
How do I use the NodeId or other shorter URL??
Hi there, Im trying to make a comments form in a website, and running into a annoying error:
"The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."
I think its because my node Name are in hebrew letters and when the browser translate it to URL it gets really long- e.g:
http://mydomain.co.il/%D7%9E%D7%95%D7%9E%D7%97%D7%99%D7%9D/%D7%94%D7%9E%D7%95%D7%9E%D7%97%D7%99%D7%9D-%D7%A9%D7%9C%D7%A0%D7%95/%D7%A9%D7%99%D7%A8%D7%99-%D7%92%D7%95%D7%A8%D7%93%D7%95%D7%9F/%D7%94%D7%97%D7%95%D7%A4%D7%99%D7%9D-%D7%A9%D7%9C-%D7%9E%D7%99%D7%A7%D7%95%D7%A0%D7%95%D7%A1/?action=comment&success=true#success
I thought that a good solution will be to use different URL to these pages- maybe the nodeID, but- Is these even possible to make the umbraco use this URL automatically when posting the comment/ permanently for these nodes?
any other solution will be a great help as well.
Thanks, Avihay
Hey,
That doesn't look right, but if you check your /config/umbraco.settings file you can view (and change) what gets swapped out:
<urlReplacingremoveDoubleDashes="true">
<char org=" ">-</char>
<char org="""></char>
<char org="'"></char>
<char org="%"></char>
<char org="."></char>
<char org=";"></char>
<char org="/"></char>
<char org="\"></char>
<char org=":"></char>
<char org="#"></char>
<char org="+">plus</char>
<char org="*">star</char>
<char org="&"></char>
<char org="?"></char>
<char org="æ">ae</char>
<char org="ø">oe</char>
<char org="å">aa</char>
<char org="ä">ae</char>
<char org="ö">oe</char>
<char org="ü">ue</char>
<char org="ß">ss</char>
<char org="Ä">ae</char>
<char org="Ö">oe</char>
<char org="'"></char>
<char org=","></char>
<char org="!"></char>
<char org="|">-</char>
<char org="<"></char>
<char org=">"></char>
</urlReplacing>
Thanks Rich, I dont see anything that help me out there.
Now I noticed that I cant see these pages even without the comments. Their hebrew names makinng their names way too long:is
mydomain.co.il/מומחים/המומחים-שלנו/שירי-גורדון/החופים של מיקונוס/
/* Edit- I wrote the hebrew URL up here ^ but it seems that the encoding dissappearing the letters from the post...
turning into:
http://mydomain.co.il/%D7%9E%D7%95%D7%9E%D7%97%D7%99%D7%9D/%D7%94%D7%9E%D7%95%D7%9E%D7%97%D7%99%D7%9D-%D7%A9%D7%9C%D7%A0%D7%95/%D7%A9%D7%99%D7%A8%D7%99-%D7%92%D7%95%D7%A8%D7%93%D7%95%D7%9F/%D7%94%D7%97%D7%95%D7%A4%D7%99%D7%9D-%D7%A9%D7%9C-%D7%9E%D7%99%D7%A7%D7%95%D7%A0%D7%95%D7%A1/
BUT- if I use the nodeId mydomain.co.il/1179 it works great!
someone have a clue for a possible way to the solution here?
Hi,
I want to replace space with my own string or symbol _ , but the chang is not reflected in the url's. The '-' symbol is still there instead of my own. For othere symbols it is working fine.
Please guide.
<urlReplacingremoveDoubleDashes="true">
<char org=" ">CustomWord</char>
</urlReplacing>
Thanks in advance..
Anand
Restart your web application (you can do this by adding a blank line in your web config file)
Rich
Hi,
Thaks for the reply.
I tried that on umbraco 6 as well. It ie working fine there but same is not working on umbraco 7. Am i doing any mistake?
Please guide.
Thanks again,
Anand
is working on a reply...