Title: Plugin does not generate clean URLs
Last modified: August 21, 2025

---

# Plugin does not generate clean URLs

 *  Resolved [michavo73](https://wordpress.org/support/users/michavo73/)
 * (@michavo73)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/plugin-does-not-generate-clean-urls/)
 * The Android app 2FAS reports an error when scanning a QR code created by the 
   plugin: The QR code is incorrect. The truth is that Google Authenticator accepts
   the same QR code.
 * A closer analysis has now revealed that the plugin stores a &#038; in the URL(
   and thus also in the QR code) instead of the & character. Logically, this is 
   the same thing, but technically, of course, it is not. In this respect, 2FAS 
   recognizes it as an error, while Google is more lenient in this regard.
 * Isn’t it the correct and, above all, simplest way to create URLs that are as 
   clean as possible—without &#038; and with & instead? Or is there a reason why
   the standard is deviated from here—which apparently leads to problems?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-does-not-generate-clean-urls%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [michavo73](https://wordpress.org/support/users/michavo73/)
 * (@michavo73)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/plugin-does-not-generate-clean-urls/#post-18608352)
 * Example (to clarify the case):
 * …secret=1234567**&**issuer=Test
 * The plugin turns this into:
 * …secret=1234567**&#038;**issuer=Test
 *  Plugin Author [Kaspars](https://wordpress.org/support/users/kasparsd/)
 * (@kasparsd)
 * [9 months, 1 week ago](https://wordpress.org/support/topic/plugin-does-not-generate-clean-urls/#post-18626154)
 * Thanks for reporting the issue! [This has been fixed recently](https://github.com/WordPress/two-factor/pull/711)
   and will be part of the next release.
 *  Thread Starter [michavo73](https://wordpress.org/support/users/michavo73/)
 * (@michavo73)
 * [9 months, 1 week ago](https://wordpress.org/support/topic/plugin-does-not-generate-clean-urls/#post-18626232)
 * Great! Thanks! 😉
 *  [Balazs Ordog](https://wordpress.org/support/users/bdog66/)
 * (@bdog66)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/plugin-does-not-generate-clean-urls/#post-18649506)
 * I’m using **Version:** 0.14.1 still incorrect when I verify the generated code.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin does not generate clean URLs’ is closed to new replies.

 * ![](https://ps.w.org/two-factor/assets/icon.svg?rev=2887448)
 * [Two Factor](https://wordpress.org/plugins/two-factor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/two-factor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/two-factor/)
 * [Active Topics](https://wordpress.org/support/plugin/two-factor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/two-factor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/two-factor/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Balazs Ordog](https://wordpress.org/support/users/bdog66/)
 * Last activity: [8 months, 3 weeks ago](https://wordpress.org/support/topic/plugin-does-not-generate-clean-urls/#post-18649506)
 * Status: resolved