Unable to include ampersand in URL
Permalink
I'm trying to include an '&' in the URL but it gets converted to '%26'
The URL should be like this /FatLoss/WT&End , but Concrete5 converts it to /FatLoss/WT%26End
Some people said I should put '%26' in the URL and it will be converted automatically to '&'
So I made the URL like this /FatLoss/WT%26End but Concrete5 converted that to /FatLoss/WT-26End
Although I tested it on my WordPress site and it worked fine
Is this an issue in Concrete5? and is there a way to solve this?
The URL should be like this /FatLoss/WT&End , but Concrete5 converts it to /FatLoss/WT%26End
Some people said I should put '%26' in the URL and it will be converted automatically to '&'
So I made the URL like this /FatLoss/WT%26End but Concrete5 converted that to /FatLoss/WT-26End
Although I tested it on my WordPress site and it worked fine
Is this an issue in Concrete5? and is there a way to solve this?
Which version r u using?
Concrete5 8.3.1
So where/how are u trying to add the url?
When I create the page, I edit the Slug URL,
and I also tried to add a new URL in the 'Location'
Both methods are behaving the same to me.
and I also tried to add a new URL in the 'Location'
Both methods are behaving the same to me.
I suspect that ampersand is not a legitimate character for a URL. It has a special use: to append parameters to the page's address (do a google search and look at the URL that results). Trying to include an ampersand is likely to confuse server software as it will try to extract parameters after it.
Agreed,
So why do you want to add an ampersand in a url?
So why do you want to add an ampersand in a url?
The reason I want to include the '&' sign in the URL, is I'm converting a static HTML website to concrete5, and one of the pages had the '&' sign in the URL, and that page is indexed in google searches and probably some users had bookmarked this page. So what I want is when the page is converted from HTML to Concrete5 search engines will redirect to the same URL. I understand now that it's not possible to do that, but I'm asking if there is any workarounds to this.
Thank you.
Thank you.
Have you tried - &
Concrete5 converts the HTML ampersand into the '&'?
See attached for the HTML symbol.
See attached for the HTML symbol.
Yeah I have tried that but it didn't work either