WordPress.org

Make WordPress Core

Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#43035 closed defect (bug) (wontfix)

Url Trailing dot value Remove Automatic In My Url when I update New version 4.9.1

Reported by: adnan.limdi Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9
Component: Canonical Keywords:
Focuses: Cc:

Description

Here My Url Is This : site url/property-details/MDM2NXwwMDAwMDAwMDAxMXw1OA..

But I have Update WordPress 4.9.1 and Face This Issue

site url/property-details/MDM2NXwwMDAwMDAwMDAxMXw1OA(double Dots Values Automatic Remove In My Url)

Questions : Why dots values not supported in my url
Can You Provide solutions About this

Thanks

Change History (5)

#1 @adnan.limdi
20 months ago

@SergeyBiryukov can you please ans this issue.

#2 @swissspidy
20 months ago

  • Component changed from General to Canonical
  • Version set to 4.9

Hey there

No need to ping individual committers directly.

This was introduced on purpose in #20383 to help users.

#3 @adnan.limdi
20 months ago

ok @swissspidy can i add some code for this soltions.?

#4 @dd32
20 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Dots are not supported in WordPress URLs.

The redirect_canonical filter can be used to alter the canonical redirection behaviour.

add_filter( 'redirect_canonical', '__return_false' ); will disable redirects completely, and may cause unintended consequences.

I'm marking this as wontfix as it's an intentional change, and . has never been supported in a WordPress URL (and won't be any time soon).

#5 @dd32
20 months ago

  • Resolution changed from invalid to wontfix
Note: See TracTickets for help on using tickets.