Make WordPress Core

Opened 16 years ago

Closed 14 years ago

#2389 closed defect (bug) (invalid)

Allow trailing slash in WordPress address (URI)

Reported by: tosiabunio Owned by:
Milestone: Priority: low
Severity: normal Version: 2.0
Component: Administration Keywords:
Focuses: Cc:


In Administration/General Options there are two URI fields:

  • WordPress address (URI):
  • Blog address (URI):

It's not possible to enter any address which ends with trailing slash there, but somethimes is necessary (Apache aliases defined with trailing slash). For example my local blog address is:




Unfortunately I can't set this address to its proper value.

Change History (6)

#1 @davidhouse
16 years ago

Can't you set another Alias without a slash?

#2 @tosiabunio
16 years ago

Good suggestion. But is there a good reason to strip the trailing slashes in those two addresses?

#3 @skeltoac
16 years ago

Yes, it normalizes the use of these values throughout the code and plugins. There may be other reasons more important than that.

#4 @markjaquith
16 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

There shouldn't be any cases where links point to the version sans trailing slash. That is, links to the front page should add the trailing slash. <?php bloginfo('home') ; ?>/

If you have found instances where this is not the case, open a new ticket pointing them out. I made a patch several months ago that fixed many of these cases, but I may have missed some.

#5 @JeremyVisser
14 years ago

  • Resolution wontfix deleted
  • Status changed from closed to reopened

#6 @JeremyVisser
14 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.