Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7160403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:23:35+00:00 2026-05-28T13:23:35+00:00

I want to use redirect 301 rules (i.e. I hope to be able to

  • 0

I want to use redirect 301 rules (i.e. I hope to be able to avoid rewriting rules) to redirect URLs that contain special characters (like é, à ,…) like for instance

redirect 301 /éxàmple http://mydomain.com/example

However, simply adding this doesn’t work. Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:23:36+00:00Added an answer on May 28, 2026 at 1:23 pm

    How to troubleshoot this on a Windows system

    On Windows, you can use Notepad++ to enter Unicode characters correctly. After launching Notepad++, select ‘Encoding in UTF-8 without BOM’ from the ‘Encoding’ menu, then type your Unicode characters and save the file.

    To make sure that the characters have been saved properly, download a hex editor for Windows and make sure that é is saved as c3 89 and à is saved as c3 a0.

    Previous response where I assumed that you are on a Linux system

    Most likely the Unicode characters have not been saved properly in .htaccess file.

    What do you get when you try this command:

    grep -o .x.mple .htaccess | od -t x1 -c
    

    You should get this if your Unicode characters are saved correctly.

    0000000  c3  a9  78  c3  a0  6d  70  6c  65  0a  65  78  61  6d  70  6c
            303 251   x 303 240   m   p   l   e  \n   e   x   a   m   p   l
    0000020  65  0a
              e  \n
    0000022
    

    If you have xxd or hd installed, you can get a neater output to do your troubleshooting:

    $ grep -o .x.mple .htaccess | xxd -g1
    0000000: c3 a9 78 c3 a0 6d 70 6c 65 0a 65 78 61 6d 70 6c  ..x..mple.exampl
    0000010: 65 0a                                            e.
    

    In all the outputs you can see that é is saved as the binary numbers: c3 89. You can see from http://www.fileformat.info/info/unicode/char/e9/index.htm that the é when encoded in UTF-8 is indeed two-bytes: 0xC3 and 0xA9.

    Similarly, à in UTF-8 format is: 0xC3 0xA0. See http://www.fileformat.info/info/unicode/char/e0/index.htm. You can see these codes in the output as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use htaccess to 301 redirect (not rewrite) urls like: brands.php?brand=Sony to
I'd like to do a 301 redirect, but I want a catch all. What
basically what i want is redirect al request to use HTTPS instead of http
I'm attempting the following in an HTACCESS file: I want to 301 redirect this
I want to redirect every post 301 redirect, but I have over 3000 posts.
How can one easily test HTTP return codes, like, say, a 301 redirect? For
My clients want to use 301 redirects to force the 'www' subdomain on their
I would like to set up a redirect so that when user requests: http://www.fareham.ac.uk/chequers
I want use ajax.net to do some js. like below: ScriptManager.RegisterStartupScript(Submit, typeof(Button), alert, location.href='test.aspx';,
i want to use jquery UI's datepicker to trigger a POST that would then

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.