Skip Navigation

[Gelöst] WP admin url shown at source code

This support ticket is created vor 7 Jahre, 11 Monate. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Luo Yang vor 7 Jahre, 11 Monate.

Assistiert von: Luo Yang.

Author
Artikel
#450580

There's a cdata js code at bottom (juz before body close tag) which reveals the site admin url.

eg.

var wpv_pagination_local = {"front_ajaxurl":"http:

i always change the default admin url to something else but seems what im doing is redundant as the above mentioned still reveals it all in the page source.

#450871

Dear Yap,

Views plugin is using wordpress built-in ajax URL to get the ajax response, see wordpress document:
https://codex.wordpress.org/AJAX_in_Plugins

...
generate it using this expression: admin_url( 'admin-ajax.php' )
...

File admin-ajax.php is wordpress core file /wp-admin/admin-ajax.php, and it is required for AJAX features of Views plugin, for example:
AJAX pagination and AJAX search form.

So it is not possible hide it front the front-end. if you agree, we can take it as a feature request. thanks

Dieses Ticket ist jetzt geschlossen. Wenn Sie ein Toolset Kunde sind und Hilfe benötigen, eröffnen Sie bitte ein neues Support-Ticket.