Skip to content

Commit 6a3177a

Browse files
committed
Fix Rewrite URL.
1 parent 6d0fcda commit 6a3177a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inc/namespace.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function add_key_rewrite_rule() {
6666
$key = get_indexnow_key();
6767

6868
add_rewrite_rule(
69-
'pwcc-indexnow-' . $key . '$',
69+
'simple-search-submission-key-' . $key . '$',
7070
'index.php?simple_search_submission_key=' . $key,
7171
'top'
7272
);
@@ -308,7 +308,7 @@ function ping_indexnow( $post ) {
308308
if ( empty( get_option( 'permalink_structure' ) ) ) {
309309
$key_location = home_url( '?simple_search_submission_key=' . $key );
310310
} else {
311-
$key_location = trailingslashit( home_url( 'pwcc-indexnow-' . $key ) );
311+
$key_location = trailingslashit( home_url( 'simple-search-submission-key-' . $key ) );
312312
}
313313

314314
/**

0 commit comments

Comments
 (0)