I then published the single page and the URL changed as expected (http://www.myurl.com/GBP10-a-go). When I try to navigate to that URL I get a 404 error.
If you have the time to wait I can get back to you later today probably around 1800 where I have had the time to test the scenario on some local installs.
Ah yes! Jamie is right, you should be able to use the entity just like & is being used for the & sign in the replace section. I have not come around to do any testing yet but I'm 100% certain that Jamies suggestion will do the trick - I really should have thought of that myself :)
urlReplacing £ sign causes 404
I have a client who doesn't want certain special characters to appear in their URLs, the £ sign is one of the characters.
The best way I could see of achieving this is to ammend the config/umbracoSettings.config urlReplacing section to include the following entry:
After changing this I tried to republish the entire site from the root node and it timed out. The URL (from properties) for the page in question remained as http://www.myurl.com/£10-a-go instead of http://www.myurl.com/GBP10-a-go.
I then published the single page and the URL changed as expected (http://www.myurl.com/GBP10-a-go). When I try to navigate to that URL I get a 404 error.
Can anyone help with this please?
Hi Brendan
What version of Umbraco are you using?
From what you describe above it should really just work but this may be a bug if recycling the app pool does not work.
/Jan
Hi Jan,
It is version 4.11.8.
I tried to recycle the app pool as well but that didn't work.
Have you got a 4.11.8 site you could reproduce the error on?
Thanks,
Brendan
Hi Brendan
If you have the time to wait I can get back to you later today probably around 1800 where I have had the time to test the scenario on some local installs.
/Jan
Hi Jan,
I have hit a brick wall with it so any help is really appreciated. Let me know what you find :)
Thanks again for the help.
Brendan
Hi Brendan,
This may not solve the problem but have you tried using the HTML entity:
rather than the £ sign?
Typically you'd use the HTML entity are you're in XML/config file.
Jamie
EDIT: I just realised the Umbraco richtext encodes HTML entities. It's been a while since I've been on this site. D'oh!
Ah yes! Jamie is right, you should be able to use the entity just like & is being used for the & sign in the replace section. I have not come around to do any testing yet but I'm 100% certain that Jamies suggestion will do the trick - I really should have thought of that myself :)
/Jan
I forgot all about this thread.
Got round to trying the £ but it didn't work either.
is working on a reply...