#42844 closed defect (bug) (wontfix)
issuing 301 redirects for any url that has () at the end
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 4.9.1 |
| Component: | General | Keywords: | SEO |
| Focuses: | Cc: |
Description
If I have a URL like:
/any-dam-url()
it returns 301 redirect to
/any-dam-url
this seems to have started with wordpress 4.9, as this behavior is not seen in 4.7.8 and 4.8.4 (as tested)
If this is intentional new behavior, how do we work around this change?
Live example:
https://greensock.com/docs/TweenMax/delay()
Change History (5)
#1
follow-up:
↓ 2
@
8 years ago
- Keywords SEO added
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
#2
in reply to:
↑ 1
@
8 years ago
Thank you for the quick response.
I'm surprised to learn that being "user friendly" trumps being a legal valid url and was a change in going from 4.8 to 4.9, thus breaking existing url's within the existing code base we have.
Now, off to figure out how to "break" the wordpress dictated user friendliness so we can retain our existing deep links throughout our site.
Replying to joostdevalk:
This was an intended change, which went in here:
https://core.trac.wordpress.org/changeset/41991
You could theoretically prevent that redirect from happening but I'd suggest not doing that. The
()at the end of the URL is not very user friendly.
#3
@
8 years ago
- Keywords SEO removed
I think WordPress should not automatically remove characters allowed by RFC 3986 like ().
This was an intended change, which went in here:
https://core.trac.wordpress.org/changeset/41991
You could theoretically prevent that redirect from happening but I'd suggest not doing that. The
()at the end of the URL is not very user friendly.