Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Displaying %20 instead of a space character

In my results panel, all page results display what I think are the ascii code for many characters. For example all spaces are shown as %20 instead of a space character. When I have a page title like “SuperGeekery.com%20–%20Home%20–%20Using%20Google%20Maps%20Inside%20of%20Flash%20CS3%3A%20Part%201” it then messes up the columns of my display results. Any idea why this is happening?

Shaun Inman
Mint/Pepper Developer
Posted on Sep 15, '08 at 09:44 am

This is usually the result of a mod_rewrite rule (most often used to redirect from www.yourdomain.com to just yourdomain.com). Disable mod_rewrite in your Mint directory.

I think I’ve disabled mod_rewrite for my mint directory, but the %20’s are still showing up. Perhaps I’m doing this wrong though. Here’s my htaccess file. This is only htaccess in the entire site. Do you see any problems? Do I just need to wait for Mint to repopulate over time with URLs without the converted spaces and other characters?

in htaccess:

RewriteEngine On
RewriteRule ^/mint - [L] 
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

(This file forces the use of an SSL connection for interaction with my server.)

Shaun Inman
Mint/Pepper Developer
Posted on Sep 17, '08 at 10:42 am

Do I just need to wait for Mint to repopulate over time with URLs without the converted spaces and other characters?

Yes, this change will not affect previously recorded data. I would recommend adding an .htaccess file to the Mint directory containing:

RewriteEngine Off

to guarantee no interference from other mod_rewrite rules.

Thanks, Shaun. Much appreciated. I’ll be patiently waiting for it to clean itself up. :-)

I’ve had the RewriteEngine Off .htaccess file in my Mint Directory for 3 months. All of my URLs contain %20 and the other type of codes for special characters are still showing up. Any other thoughs?

Trying another fix…

Found that I was using a “www” in the Mint preferences. Didn’t need that. I’ve removed it and it’s all better now.

You must be logged in to reply. Login above or create an account