Odpowiedź forum utworzona

Viewing 5 replies - 1 through 5 (of 5 total)
  • Forum: Rozmaitości
    W odpowiedzi na: Błąd
    Thread Starter makowiec93

    (@makowiec93)

    ok, dzięki

    Forum: Rozmaitości
    W odpowiedzi na: Błąd
    Thread Starter makowiec93

    (@makowiec93)

    chciałem sie pozbyć tej końcówki /wp w adresie URL

    Forum: Rozmaitości
    W odpowiedzi na: Błąd
    Thread Starter makowiec93

    (@makowiec93)

    nie no, oczywiście podałem adres swojej domeny. Strona nie hula.

    Forum: Rozmaitości
    W odpowiedzi na: Błąd
    Thread Starter makowiec93

    (@makowiec93)

    no ale właśnie chcąć zmienić site URL coś się zepsuło.
    do pliku php functions wkleiłem to:
    update_option( 'siteurl’, 'http://example.com’ );
    update_option( 'home’, 'http://example.com’ );
    zaraz po ścieżce php

    Forum: Rozmaitości
    W odpowiedzi na: Błąd
    Thread Starter makowiec93

    (@makowiec93)

    Edit functions.php
    If you have access to the site via FTP, then this method will help you quickly get a site back up and running, if you changed those values incorrectly.

    1. FTP to the site, and get a copy of the active theme’s functions.php file. You’re going to edit it in a simple text editor and upload it back to the site.

    2. Add these two lines to the file, immediately after the initial „<?php” line.

    update_option( 'siteurl’, 'http://example.com’ );
    update_option( 'home’, 'http://example.com’ );
    Use your own URL instead of example.com, obviously.

    3. Upload the file back to your site, in the same location. FileZilla offers a handy „edit file” function to do all of the above rapidly; if you can use that, do so.

    4. Load the login or admin page a couple of times. The site should come back up.

    zrobiłem tak jak jest przestawione powyżej (no chyba, że coś przekręciłem) w każdym razie, póżniej zaczął pojawiać się błąd o którym wspomniałem

Viewing 5 replies - 1 through 5 (of 5 total)