Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

htaccess Is Not Passing %20 (space) In Address

Featured Replies

Hi everyone, I'm completely stumped. I'm having some difficulty with what I suspect is a simple problem. The following is working really well except for links that have a %20 (space) in the original URL. Everytime I go to the new address created by the .htaccess file in my browser the %20 is changed to a 0, so I get an error page. Is there any way I can have the exact URL which includes %20 passed to the browser. The first rule below works perfectly, the second doesn't due to the %20.

 

an example of a new address would be pds.ca/Mauricie. this would send the user to the data.gointranet address.

RewriteEngine On

RewriteRule ^Mauricie http://data.gointranet.com/unitloc/pdsca/search.cgi?type=location&cu=PDS49&cl=Mauricie&term=QC&otype=region

RewriteRule ^Montreal http://data.gointranet.com/unitloc/pdsca/search.cgi?type=location&cu=PDS38&cl=Montreal%20Est&term=QC&otype=region

 

Thanks in advance

Try

 

RewriteEngine On

RewriteRule ^Mauricie http://data.gointranet.com/unitloc/pdsca/search.cgi?type=location&cu=PDS49&cl=Mauricie&term=QC&otype=region

RewriteRule ^Montreal http://data.gointranet.com/unitloc/pdsca/search.cgi?type=location&cu=PDS38&cl=Montreal\ Est&term=QC&otype=region

  • Author

SERIOUSLY. I can't thank you enough. That totally worked. I have been fighting with this for 3 days. I can't believe it was such a simple fix.

 

Thanks Again

Mark

 

Try

 

RewriteEngine On

RewriteRule ^Mauricie http://data.gointranet.com/unitloc/pdsca/search.cgi?type=location&cu=PDS49&cl=Mauricie&term=QC&otype=region

RewriteRule ^Montreal http://data.gointranet.com/unitloc/pdsca/search.cgi?type=location&cu=PDS38&cl=Montreal\ Est&term=QC&otype=region

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.