Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#6734 closed defect (bug) (invalid)

Searchform ignores canonical redirection

Reported by: ericr23 Owned by:
Priority: normal Milestone:
Component: General Version: 2.5
Severity: normal Keywords: reporter-feedback
Cc: Focuses:

Description

The page returned by the Searchform (<form method="get" id="searchform" action="<?php bloginfo('url'); ?>">) drops www. from the site URL, i.e., it is not redirected to the canonical URL. This occurred in version 2.3.3 also.

It can be seen in action at: http://www.wind-watch.org/alerts/. Or in 2.3.3 at http://www.wind-watch.org/news/.

Change History (2)

#1 @DD32
18 years ago

  • Milestone2.6

The canonical redirect ignores search requests.

However, The URL output by bloginfo('url') should be correct.

So, If you were to goto site.com/?s=test, it would *not* redirect to www.site.com/?s=test

However, WordPress should not generate a URL without the www. (and as far as i can tell, Doesnt)

#2 @DD32
18 years ago

  • Keywords reporter-feedback added
  • Milestone 2.9
  • Resolutioninvalid
  • Status newclosed

Closing as invalid as the URL produced by WordPress should be correct according to the URL settings (Which the canonical redirection is based off)

Note: See TracTickets for help on using tickets.