Skip to content

Commit

Permalink
Remove canonical tag (redundant)
Browse files Browse the repository at this point in the history
Fixes #119
  • Loading branch information
JoryHogeveen committed Mar 18, 2021
1 parent fb4c0f9 commit 000dab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/class-ui.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public function remove_query_args() {
$current_url = set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $request_uri );
$filtered_url = remove_query_arg( $removable_query_args, $current_url );
?>
<link id="wp-vaa-canonical" rel="canonical" href="<?php echo esc_url( $filtered_url ); ?>" />
<link id="wp-vaa-canonical" href="<?php echo esc_url( $filtered_url ); ?>" />
<script>
if ( window.history.replaceState ) {
window.history.replaceState( null, null, document.getElementById( 'wp-vaa-canonical' ).href + window.location.hash );
Expand Down

0 comments on commit 000dab5

Please sign in to comment.