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

Improve docs/readme #2

Open
waviaei opened this issue Mar 8, 2023 · 0 comments
Open

Improve docs/readme #2

waviaei opened this issue Mar 8, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@waviaei
Copy link
Member

waviaei commented Mar 8, 2023

  • it adds sitemap entry to robots.txt
    /**
    * Add robots.txt.
    *
    * @param string $txt Robots.txt content.
    * @param bool $public If this site is public.
    * @return string
    */
    public function robots_txt( $txt, $public ) {
    if ( $public ) {
    $txt .= sprintf( 'Sitemap: %s%s', esc_url( $this->build_url() ), "\n" );
    }
    return $txt;
    }
  • add a note about Cache-Control ?
  • add a note about ping url to googl?
@waviaei waviaei added the documentation Improvements or additions to documentation label Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant