#17953 closed defect (bug) (invalid)
Trimmed URLs flagged as invalid URLs
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 3.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I have mod_pagespeed installed as an apache mod. When using the trim_urls filter, a url to an external site -- e.g. http://wordpress.org -- gets rewritten to //wordpress.org automatically.
When a user clicks on the link, an email gets sent to the Wordpress Admin stating:
A user tried to go to http://alexcline.net/wordpress.org/ and received a 404 (page not found) error. It wasn't their fault, so try fixing it.
They came from http://alexcline.net/index.php
Technically, //wordpress.org is a valid external URL and works correctly in a user's browser. It would be nice if I didn't have to get notifications about these URLs.
rel: http://groups.google.com/group/mod-pagespeed-discuss/browse_thread/thread/86a0adf7d46aa9eb
Change History (2)
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
I have mod_pagespeed installed as an apache mod. When using the trim_urls filter, a url to an external site -- e.g. http://wordpress.org -- gets rewritten to wordpress.org automatically.
WordPress doesn't modify the links, If you're using mod_pagespeed, the trimming will occur after it's out of WordPres's hands.
If a user is clicking the link and it's directing the user to http://alexcline.net/wordpress.org/ then either their browser doesn't support the trimmed URL support, some Javascript is messing with the trimmed url's, or there's a bug in the url trimmer.

Core doesn't send emails about 404s. Sounds like you have a plugin doing this.