How to fix wordpress tag list page link error

A few months ago, when I clicked the page number or the next page on the page that came out when I clicked the tag on my blog, it didn't come out properly. In addition, the next list of draft did not come out properly on the add-in screen.

For example, on the page that appears when you click the “research” tag, if you click the page number below, the next page should appear, but it says Not Found.

I looked closely 라고 되어야 할 페이지 번호 링크가 라고 표시되고 있었다.

Found %3F ? and %3D is =, but there seems to be a problem when sending and receiving arguments.

page number


My blog uses word processing and the page number plugin is  WP-PageNavi use Whenever I had time, I looked through plugins and WordPress admin sources, and I quickly ate lunch today and solved it.

The problem was simple. My hosting company's server was Microsoft IIS and there was a problem with the wp-settings.php source code.

I looked at the wordpress track get_pagenum_link broken for IIS resurfaces This problem was pointed out and the source code was reflected from 3 years ago, but a recent article also said that this problem occurred.

print_r($_SERVER); I added [SERVER_SOFTWARE] => Microsoft-IIS/5.0.

I don't know if my blog hosting company was originally IIS, but anyway, the WordPress team modified wp-settings.php to fix IIS, so it seems that it didn't match my hosting company.

in wordpress 2.9.x

Open /wp-settings.php , find the below, and comment out the red source code at the bottom.

In wordpress 3.x, the source code location has changed. It is located in /wp-includes/load.php .

// Fix for IIS when running with PHP ISAPI
if ( empty( $_SERVER['REQUEST_URI'] ) || ( php_sapi_name() != 'cgi-fcgi' && preg_match( '/^Microsoft-IIS\//', $_SERVER['SERVER_SOFTWARE'] ) ) {

// IIS Mod-Rewrite
if (isset($_SERVER['HTTP_X_ORIGINAL_URL'])) {
// IIS Isapi_Rewrite
else if (isset($_SERVER['HTTP_X_REWRITE_URL'])) {
// Use ORIG_PATH_INFO if there is no PATH_INFO
if ( !isset($_SERVER['PATH_INFO']) && isset($_SERVER['ORIG_PATH_INFO']) )

// Some IIS + PHP configurations puts the script-name in the path-info (No need to append it twice)
if ( isset($_SERVER['PATH_INFO']) ) {

// Append the query string if it exists and isn't null
// if (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING'])) {
// }


wordpress trac I didn't find a solution to the same problem as mine, but maybe it's a workaround in my case. It's because I didn't understand the principle and just found it and blocked it by guessing. every time you upgrade your wordpress How to check the number of views in WordPress 2.7 admin screen In addition to the modified admin source, there is one more thing to be corrected.

Anyway, my blog makes the distinction between articles Use tags, not categoriesTherefore, tag list navigation is important, but it seems to have solved the problem now. tags for hciWhen I click the page number below the page that came out or click the next page, it works fine.


* This problem also occurs in wordpress 3.8, and is solved in the same way.



0 If you like the article, please click the heart~ It will be a strength to bloggers (SNS/login/advertising is not related)

Articles you might like

smart stock calculator

Various stock calculators for successful stock investment: profit/loss ratio, profit/loss unit price, purchase quantity, water/burning unit price, unit price required funds, selling price, percentage, etc.


Add a Comment

Email addresses are not disclosed. Required items *is indicated by

This posting is part of Coupang Partners' activities, and a certain amount of commission is provided accordingly.