| Server IP : 116.153.78.57 / Your IP : 43.174.71.198 Web Server : nginx/1.28.0 System : Linux 1763701629066 6.8.0-53-generic #55-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 17 15:37:52 UTC 2025 x86_64 User : www ( 1001) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/www.lengcat.cn/wp-content/plugins/xml-sitemap-feed/views/admin/ |
Upload File : |
<?php
/**
* Robots.txt field
*
* @package XML Sitemap & Google News
*/
?>
<fieldset>
<legend class="screen-reader-text"><?php esc_html_e( 'Additional robots.txt rules', 'xml-sitemap-feed' ); ?></legend>
<?php if ( ! xmlsf()->using_permalinks() ) { ?>
<p class="description">
<?php printf( /* Translators: Permalinks */ esc_html__( 'Not available because of this site\'s %s settings.', 'xml-sitemap-feed' ), '<a href="' . esc_url( admin_url( 'options-permalink.php' ) ) . '">' . esc_html( translate( 'Permalinks' ) ) . '</a>' ); ?>
<?php esc_html_e( 'Either switch to another Permalink structure or create a static robots.txt file in the site root and place your rules there.', 'xml-sitemap-feed' ); ?>
</p>
<?php } elseif ( ! isset( $rules['robots\.txt$'] ) ) { ?>
<p class="description">
<?php esc_html_e( 'No rewrite rule for robots.txt was found. Please verify your Permalink settings.', 'xml-sitemap-feed' ); ?>
</p>
<?php } elseif ( $static ) { ?>
<p class="description">
<?php esc_html_e( 'A static robots.txt file has been found. To manage your robots.txt from here, please copy its content and delete the file.', 'xml-sitemap-feed' ); ?>
</p>
<?php } else { ?>
<label for="xmlsf_robots">
<?php
printf( /* translators: robots.txt, linked. */
esc_html__( 'Rules that will be appended to the %s generated by WordPress:', 'xml-sitemap-feed' ),
'<a href="' . esc_attr( trailingslashit( get_bloginfo( 'url' ) ) ) . 'robots.txt" target="_blank">robots.txt</a>'
);
?>
</label>
<br/>
<textarea name="xmlsf_robots" id="xmlsf_robots" class="large-text" cols="50" rows="6"><?php echo esc_textarea( trim( get_option( 'xmlsf_robots', '' ) ) ); ?></textarea>
<?php } ?>
</fieldset>