Risultati della ricerca per 'Configure wordpress'

Stai vedendo 7 risultati - da 1 a 7 (di 7 totali)
  • Ciao @tivustream,

    mi sorge subito un dubbio: il servizio di hosting ha associato un database MySql? E’ passato un po’ dall’ultima volta in cui ho usato un Hosting Windows di Aruba e magari mi sbaglio, ma credo avesse SQLServer di default. Immagino tu abbia già verificato, ma te lo segnalo ugualmente 🙂

    Per il resto, una cosa importante da considerare è che su Windows (quindi webserver IIS) non c’è il supporto al file .htaccess, per cui se il sito sta usando regole particolari dovrai “tradurle” nel file “web.config”, sostanzialmente un file XML con una struttura specifica per IIS.

    In ogni caso, anche in assenza di regole particolari, ti servirà un web.config di base che abiliti una regola di rewrite per far funzionare i “pretty permalinks”, quindi le url “leggibili”.

    A questo proposito di segnalo questa guida di Microsoft (è un po’ vecchia ma dovrebbe andare bene): https://docs.microsoft.com/en-us/iis/application-frameworks/install-and-configure-php-applications-on-iis/install-wordpress-on-iis

    Salta la prima parte e inizia a leggere dal paragrafo “Enable “Pretty Permalinks”, troverai un esempio di web.config. Attenzione che l’esempio riporta solo il frammento di codice utile che va inserito in una struttura specifica. Se dovessi avere difficoltà puoi provare con questo esempio completo: https://gist.github.com/Toddses/7f3729ddf7c6466bb3dc

    Per quanto riguarda i permessi sulle cartelle, dipende da come è impostato l’hosting. Ti suggerirei di migrare il sito e fare una verifica di funzionamento. Quando riesci ad accedere alla dashboard, dai subito un’occhiata allo strumento “Salute del sito” che ha una sezione dedicata al controllo dei permessi. Eventuali cartelle non scrivibili sarebbero indicate.

    Spero di averti dato qualche indicazione utile.
    Facci sapere come va 🙂

    Chi ha creato la discussione orsocapo

    (@orsocapo)

    Scusami per l’incompletezza della mia risposta.
    La migrazione l’ho fatta tramite FTP scaricando tutte le cartelle da remoto e poi inserendole nella cartella htdocs.
    Ho modificato il file wp_config
    Poi ho scaricato il DB e ricaricato sul DB di XAMMP
    I messaggi del log sono questi:
    [Sun Nov 22 12:32:20.648819 2020] [ssl:warn] [pid 14788:tid 648] AH01909: http://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Nov 22 12:32:20.710567 2020] [core:warn] [pid 14788:tid 648] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run?
    [Sun Nov 22 12:32:20.717565 2020] [ssl:warn] [pid 14788:tid 648] AH01909: http://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Nov 22 12:32:20.823139 2020] [mpm_winnt:notice] [pid 14788:tid 648] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.4.12 configured — resuming normal operations
    [Sun Nov 22 12:32:20.823139 2020] [mpm_winnt:notice] [pid 14788:tid 648] AH00456: Apache Lounge VC15 Server built: Oct 3 2020 12:58:33
    [Sun Nov 22 12:32:20.823139 2020] [core:notice] [pid 14788:tid 648] AH00094: Command line: ‘c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache’
    [Sun Nov 22 12:32:20.826138 2020] [mpm_winnt:notice] [pid 14788:tid 648] AH00418: Parent: Created child process 12304
    [Sun Nov 22 12:32:21.235170 2020] [ssl:warn] [pid 12304:tid 660] AH01909: http://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Nov 22 12:32:21.294174 2020] [ssl:warn] [pid 12304:tid 660] AH01909: http://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Nov 22 12:32:21.337178 2020] [mpm_winnt:notice] [pid 12304:tid 660] AH00354: Child: Starting 150 worker threads.
    [Sun Nov 22 12:37:29.884824 2020] [php7:notice] [pid 12304:tid 1900] [client ::1:62164] WordPress errore sul database Table doesn’t exist per la query \r\n\t\t\tSELECT COUNT(donation_id)\r\n\t\t\tFROM wpwq_give_donationmeta\r\n\t\t\tWHERE meta_key=’_give_payment_gateway’\r\n\t\t\tAND meta_value LIKE ‘%stripe%’ fatta da activate_plugins, activate_plugin, do_action(‘activate_give/give.php’), WP_Hook->do_action, WP_Hook->apply_filters, Give->install, give_install, give_run_install, do_action(‘give_upgrades’), WP_Hook->do_action, WP_Hook->apply_filters, give_do_automatic_upgrades, give_v270_upgrades, referer: http://localhost//wp-admin/plugins.php?plugin_status=all&paged=1&s

    • Questa risposta è stata modificata 5 anni, 4 mesi fa da orsocapo.
    • Buongiorno, provo a spiegarvi il mio problema.
      Ho installato due plugin per la sicurezza con re-indirizzamento alla pagina 404 se qualcuno provava a loggarsi, perchè avevo ricevuto molte spam e nei forum lo consigliavano, ho controllato e andava tutto bene.

      Stamattina però non avevo l’accesso alle ‘pagine’, cercando nel forum e provando a vedere nel sito cosa non andava, ho paura di aver modificato qualcosa nel setting, mi sembrava di non aver salvato la pagina ma da dopo pranzo non riesco più ad entrare nel sito ‘comeilbruttoanatroccolo.com’ e mi appare la scritta

      ‘Siamo spiacenti, non ti è permesso procedere
      Your request looks suspiciously similar to automated requests from spam posting software or it has been denied by a security policy configured by the website administrator.

      If you believe you should be able to perform this request, please let us know.

      RID: XXG3TZ4CMYKOPADQFESARMQL ‘

      Se provo a guardare dal mio account WordPress vedo tutte le pagine e il resto ma non posso fare modifiche.

      Ho provato a vedere nei vari blog ma non riesco a trovare la soluzione giusta.
      E spero di essermi spiegata.
      Riuscite ad aiutarmi?

      Grazie in anticipo

      La pagina su cui ho bisogno di aiuto: [devi essere connesso per vedere il link]

    • Buonasera sto inserendo qui una discussione inerente ad un plugin specifico… Vi chiedo scusa ma il supporto di tale plugin anche se gli ho fornito il modo di ricreare il problema non vengo accontentato..
      Se si usa un host privo di https si può ricorrere a CloudFlare e al suo certificato SSL..
      Come ricreare il problema
      1)Installare WordPress su host con solo http
      2)aggiungere il dominio a CloudFlare (tramite DNS o un’email)
      3)scaricare il plugin CloudFlare e configurarlo (selezionate anche la cache automatica)
      4)Create un backup per il file wp-config.php successivamente modificate una versione per inserire https esterni

      /* SSL */
      $d_scheme = 'http://';
      if(isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {
      $d_scheme = 'https://';
      $_SERVER['HTTPS'] = 'on';
      $_SERVER['SERVER_PORT'] = 443;
      }
      
      /* DINAMIC DOMAIN */
      define('WP_HOME',$d_scheme.$_SERVER['HTTP_HOST']);
      define('WP_SITEURL',$d_scheme.$_SERVER['HTTP_HOST']);
      //define('RELOCATE',true);
      /* END DINAMIC DOMAIN */
      
      unset($d_scheme);
      /* END SSL */

      5)configurate CloudFlare come richiesto da questo articolo https://jetpack.com/support/getting-started-with-jetpack/configure-jetpack-cloudflare/
      6)scaricate jetpack
      Se avete abilitato il redirect da http verso https vi dovrebbe comparire un errore http 400 (jetpack fa le richieste in http)
      Dite come lo so? Provate questo codice nel file xmlrpc.php (prima fate il backup di tale file)

      [ Rimosso perchè potenzialmente pericoloso]

      Sono l’unico utente a cui compare errore http 400? (si visualizza cliccando in basso debug dal plugin jetpack)

      • Questo topic è stato modificato 8 anni, 4 mesi fa da autotutorial.

    Salve,

    l’invio delle email avviene attraverso i server SMTP, mentre la ricezione avviene tramite i server solitamente IMAP e i datati POP3.
    Se hai delle caselle di posta dove già ricevi correttamente la posta e stai usando queste probabilmente ti manca la parte di invio quindi il server SMTP (che potresti utilizzare sia esterno se ne hai uno oppure uno ad hoc come di seguito).

    Se così fosse ci sono varie alternative.

    • installare un server SMTP in locale, cerca su google “install smtp” e aggiungi il tuo sistema operativo, ad esempio “install smpt windows 10” oppure dato che usi XAMPP seguire le istruzioni che trovi in giro ( http://stackoverflow.com/questions/15965376/how-to-configure-xampp-to-send-mail-from-localhost )
    • installare un finto SMTP che ti permetta, anche senza tutto il giro, di vedere quali sarebbero le email che vengono inviate (ce ne sono vari come il semplice fakeSMTP oppure MailHog che però è già più complicato se sei alle prime armi).
    • usare plugin di monitoraggio di wordpress. In questo caso solitamente il messaggio è salvato in database e ti permette da backend di visualizzarlo. Attenzione, verifica che la plugin salvi il messaggio anche se non hai un server SMTP (ovvero, installa, prova. Se trovi la mail è tutto ok). Cerca nelle plugin di wordpress “mail log” o simili, troverai parecchie cose interessanti.

    Saluti,
    Diego

    Chi ha creato la discussione zacducati

    (@zacducati)

    Seguendo le sue indicazioni, ho trovato il file, di cui riporto il contenuto:

    <?php
    /**
    * Dashboard Administration Screen
    *
    * @package WordPress
    * @subpackage Administration
    */

    /** Load WordPress Bootstrap */
    require_once( dirname( __FILE__ ) . ‘/admin.php’ );

    /** Load WordPress dashboard API */
    require_once(ABSPATH . ‘wp-admin/includes/dashboard.php’);

    wp_dashboard_setup();

    wp_enqueue_script( ‘dashboard’ );
    if ( current_user_can( ‘edit_theme_options’ ) )
    wp_enqueue_script( ‘customize-loader’ );
    if ( current_user_can( ‘install_plugins’ ) )
    wp_enqueue_script( ‘plugin-install’ );
    if ( current_user_can( ‘upload_files’ ) )
    wp_enqueue_script( ‘media-upload’ );
    add_thickbox();

    if ( wp_is_mobile() )
    wp_enqueue_script( ‘jquery-touch-punch’ );

    $title = __(‘Dashboard’);
    $parent_file = ‘index.php’;

    $help = ‘<p>’ . __( ‘Welcome to your WordPress Dashboard! This is the screen you will see when you log in to your site, and gives you access to all the site management features of WordPress. You can get help for any screen by clicking the Help tab in the upper corner.’ ) . ‘</p>’;

    // Not using chaining here, so as to be parseable by PHP4.
    $screen = get_current_screen();

    $screen->add_help_tab( array(
    ‘id’ => ‘overview’,
    ‘title’ => __( ‘Overview’ ),
    ‘content’ => $help,
    ) );

    // Help tabs

    $help = ‘<p>’ . __( ‘The left-hand navigation menu provides links to all of the WordPress administration screens, with submenu items displayed on hover. You can minimize this menu to a narrow icon strip by clicking on the Collapse Menu arrow at the bottom.’ ) . ‘</p>’;
    $help .= ‘<p>’ . __( ‘Links in the Toolbar at the top of the screen connect your dashboard and the front end of your site, and provide access to your profile and helpful WordPress information.’ ) . ‘</p>’;

    $screen->add_help_tab( array(
    ‘id’ => ‘help-navigation’,
    ‘title’ => __( ‘Navigation’ ),
    ‘content’ => $help,
    ) );

    $help = ‘<p>’ . __( ‘You can use the following controls to arrange your Dashboard screen to suit your workflow. This is true on most other administration screens as well.’ ) . ‘</p>’;
    $help .= ‘<p>’ . __( ‘Screen Options – Use the Screen Options tab to choose which Dashboard boxes to show.’ ) . ‘</p>’;
    $help .= ‘<p>’ . __( ‘Drag and Drop – To rearrange the boxes, drag and drop by clicking on the title bar of the selected box and releasing when you see a gray dotted-line rectangle appear in the location you want to place the box.’ ) . ‘</p>’;
    $help .= ‘<p>’ . __( ‘Box Controls – Click the title bar of the box to expand or collapse it. Some boxes added by plugins may have configurable content, and will show a “Configure” link in the title bar if you hover over it.’ ) . ‘</p>’;

    $screen->add_help_tab( array(
    ‘id’ => ‘help-layout’,
    ‘title’ => __( ‘Layout’ ),
    ‘content’ => $help,
    ) );

    $help = ‘<p>’ . __( ‘The boxes on your Dashboard screen are:’ ) . ‘</p>’;
    if ( current_user_can( ‘edit_posts’ ) )
    $help .= ‘<p>’ . __( ‘At A Glance – Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.’ ) . ‘</p>’;
    $help .= ‘<p>’ . __( ‘Activity – Shows the upcoming scheduled posts, recently published posts, and the most recent comments on your posts and allows you to moderate them.’ ) . ‘</p>’;
    if ( is_blog_admin() && current_user_can( ‘edit_posts’ ) )
    $help .= ‘<p>’ . __( “Quick Draft – Allows you to create a new post and save it as a draft. Also displays links to the 5 most recent draft posts you’ve started.” ) . ‘</p>’;
    if ( ! is_multisite() && current_user_can( ‘install_plugins’ ) )
    $help .= ‘<p>’ . __( ‘WordPress News – Latest news from the official WordPress project, the WordPress Planet, and popular and recent plugins.’ ) . ‘</p>’;
    else
    $help .= ‘<p>’ . __( ‘WordPress News – Latest news from the official WordPress project, the WordPress Planet.’ ) . ‘</p>’;
    if ( current_user_can( ‘edit_theme_options’ ) )
    $help .= ‘<p>’ . __( ‘Welcome – Shows links for some of the most common tasks when setting up a new site.’ ) . ‘</p>’;

    $screen->add_help_tab( array(
    ‘id’ => ‘help-content’,
    ‘title’ => __( ‘Content’ ),
    ‘content’ => $help,
    ) );

    unset( $help );

    $screen->set_help_sidebar(
    ‘<p>‘ . __( ‘For more information:’ ) . ‘</p>’ .
    ‘<p>’ . __( ‘Documentation on Dashboard‘ ) . ‘</p>’ .
    ‘<p>’ . __( ‘Support Forums‘ ) . ‘</p>’
    );

    include( ABSPATH . ‘wp-admin/admin-header.php’ );
    ?>

    <div class=”wrap”>
    <h1><?php echo esc_html( $title ); ?></h1>

    <?php if ( has_action( ‘welcome_panel’ ) && current_user_can( ‘edit_theme_options’ ) ) :
    $classes = ‘welcome-panel’;

    $option = get_user_meta( get_current_user_id(), ‘show_welcome_panel’, true );
    // 0 = hide, 1 = toggled to show or single site creator, 2 = multisite site owner
    $hide = 0 == $option || ( 2 == $option && wp_get_current_user()->user_email != get_option( ‘admin_email’ ) );
    if ( $hide )
    $classes .= ‘ hidden’; ?>

    <div id=”welcome-panel” class=”<?php echo esc_attr( $classes ); ?>”>
    <?php wp_nonce_field( ‘welcome-panel-nonce’, ‘welcomepanelnonce’, false ); ?>
    “><?php _e( ‘Dismiss’ ); ?>
    <?php
    /**
    * Add content to the welcome panel on the admin dashboard.
    *
    * To remove the default welcome panel, use {@see remove_action()}:
    *
    * remove_action( ‘welcome_panel’, ‘wp_welcome_panel’ );
    *
    * @since 3.5.0
    */
    do_action( ‘welcome_panel’ );
    ?>
    </div>
    <?php endif; ?>

    <div id=”dashboard-widgets-wrap”>
    <?php wp_dashboard(); ?>
    </div><!– dashboard-widgets-wrap –>

    </div><!– wrap –>

    <?php
    require( ABSPATH . ‘wp-admin/admin-footer.php’ );

Stai vedendo 7 risultati - da 1 a 7 (di 7 totali)