Dots / Periods / Full Stops in Additional URL

Permalink
Hopefully someone can save me from writing a ton of 301 redirects for htaccess here.

My current clients old site used static htm pages, meaning all of the current pages are in formathttp://site.com/mypage.htm.

The site has been rebuild in Concrete and we're now looking at creating additional URLs for pages that still exist, however we're having a bit of trouble.

When I enter "mypage.htm" into Additional URL, Concrete will ignore the dot (i presume its using the sanitize string function in Text Helper) and the URL that's added comes out as "mypagehtm".

Can anyone advise? If not maybe this should be added as a feature as I'm sure others have had this problem!

Thanks,
Job.

Job
 
andrew replied on at Permalink Reply
andrew
This used to be the case and it got broken in 5.6.0. It's now fixed in github.
Job replied on at Permalink Best Answer Reply
Job
Where abouts is the code for this?
I'd prefer to manually make the required changes so I can utilise it until the it's pushed live in 5.6.0.3.

Thanks for the prompt reply (unlike mine!)
bailhotline replied on at Permalink Reply
Hi. Did you happen to find the manual fix for that? As I to would love to solve this problem, been waiting for 5.6.0.3 to be released but the time waiting is killing us.

Thanks for the help.
Job replied on at Permalink Reply
Job
I never found it - no. Sorry!
bailhotline replied on at Permalink Reply
Thank you for your response.
nka replied on at Permalink Reply
nka
I edited the URL directly into MySQL. Seems to work, for now.
bailhotline replied on at Permalink Reply
Thanks, Ill look into this for now and hopefully the update gets released soon.
nka replied on at Permalink Reply
nka
well, I just looked at my setup and it's lie.

I actualy edited the .htaccess

here's an example :

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

# Temp fix
# Remove after upgrade
RewriteCond %{REQUEST_URI} ^(.*).html$
RewriteRule ^(.*)url\.html$ /link/ [L]
# /Temp fix.

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
nka replied on at Permalink Reply
nka
Got a solution for that?