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.
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.
![andrew](/files/avatars/4.jpg)
This used to be the case and it got broken in 5.6.0. It's now fixed in github.
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!)
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!)
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.
Thanks for the help.
I never found it - no. Sorry!
Thank you for your response.
I edited the URL directly into MySQL. Seems to work, for now.
Thanks, Ill look into this for now and hopefully the update gets released soon.
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>
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>
Got a solution for that?