WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 8 years ago

#19216 closed defect (bug) (duplicate)

Wp-admin using wrong url's for pagination

Reported by: melkdesk Owned by:
Milestone: Priority: normal
Severity: major Version:
Component: Administration Keywords: reporter-feedback
Focuses: Cc:

Description

I am using the following setup:
Nginx -> varnish -> wordpress/apache

functions.php:
update_option('siteurl' and update_option('home' are correct.

wp-config.php:
define('WP_HOME' and define('WP_SITEURL' are correct.

Frond end of the site works fine, backend works fine, BUT when i want to use the backend pagination to go to page 2 of posts, the url points to the ip of the server, thus invalidating my admin cookie.

( http://???.??.??.??/wp-admin/edit.php?paged=2 ,this should be http://site_url/wp-admin/edit.php?paged=2 ) ..

I'm able to replicate this issue with a clean wp using the same setup.

Change History (2)

#1 @kurtpayne
9 years ago

  • Cc kpayne@… added
  • Component changed from General to Administration
  • Keywords reporter-feedback added

Can you provide a dump of $_SERVER and apache_request_headers()?

What version of WordPress are you using?

Are you using mod_php, cgi, suphp, fastcgi, or something else?

Related #18944

#2 @ocean90
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.