Wordpress: uredite stran 404 - kako deluje
Če stran 404 urejate v programu WordPress, bodo obiskovalci prejeli vsaj lepo sporočilo, če strani ne najdejo. Tukaj prikazujemo, kje lahko stran natančno uredite.
Wordpress: Kako urediti stran 404
Najboljša rešitev bi bila seveda ta, da se stran "404 - Stran ni najdena" sploh ne pojavi, torej da so vsi sklici na vaši strani pravilni. Kljub temu lahko pride do napake in nanjo mora kazati vsaj ena privlačna stran.
- V vašem skrbniškem območju boste v levem meniju našli postavko "Oblikovanje". Kliknite na točko, prikaže se podtočka "Urejevalnik".
- Če kliknete »Urejevalnik«, se prikaže seznam datotek, vključno z datoteko »404.php« in kodnim oknom na sredini. Tu lahko uredite datoteko 404.
- Če se datoteka ne prikaže na seznamu, poiščite strežnik s programom FTP. Tam boste našli 404.php pod "wp-content / themes / default".
- V datoteki PHP poiščite "" med oznakami h2. Ta del lahko zamenjate s svojo kodo - če poznate PHP.
Alternativa: Vtičnik 404
Če o PHP nimate pojma, se ne držite urejati datoteke. Namesto tega uporabite vtičnik.
- Stran z napakami 404 je mogoče preprosto pripraviti s posebnimi vtičniki, kot je "Štirideset štiri - 404 vtičnik za WordPress".
Nasvet: Kako vgraditi ozadje slike na stran 404
V naslednjem praktičnem nasvetu vam bomo povedali, kako lahko ustvarite svoj kontaktni obrazec v Wordpressu.