Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the option to overwrite domains in sitemap links #216

Merged
merged 1 commit into from
May 16, 2024

Conversation

gtenaschuk
Copy link
Collaborator

@gtenaschuk gtenaschuk commented May 16, 2024

Closes #[197]

  • Add the plugin "TW Sitemap Mask" with a setting to set the proper domain to be used in sitemap links.

We are replacing get_bloginfo( 'url' ); by the url set in the setting. The get_bloginfo( 'url' ); should return the current domain used in the browser that is gonna be replaced by the custom.

@brandonhundt brandonhundt self-requested a review May 16, 2024 19:59
Copy link
Collaborator

@brandonhundt brandonhundt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected. Thank you!!

@brandonhundt brandonhundt merged commit 625f181 into main May 16, 2024
@brandonhundt brandonhundt deleted the sitemap_mask_url branch May 16, 2024 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants