WordPress.org

Make WordPress Core

Opened 22 months ago

Closed 22 months ago

Last modified 22 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:
PR Number:

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
22 months ago

@SergeyBiryukov can you please ans this issue.

#2 @swissspidy
22 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
22 months ago

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

#4 @dd32
22 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
22 months ago

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