Results 1 to 7 of 7

Thread: [Wordpress] Moving into /blog folder

  1. #1
    laravista is offline Utente AlterBlog
    Join Date
    Dec 2019
    Posts
    45

    Default [Wordpress] Moving into /blog folder

    Hi all,
    what is the best way to move my current blog from the root to the /blog folder?


  2. #2
    alemoppo is offline AlterVista Staff
    Join Date
    Feb 2010
    Location
    IT
    Posts
    691

    Default

    Hello, it's not an easy operation, before I suggest you make a full backup (space and database). 32/5000
    Then you can try this steps.

    The easiest thing is to keep the blog separate in an AlterBlog site.

    Bye!

  3. #3
    laravista is offline Utente AlterBlog
    Join Date
    Dec 2019
    Posts
    45

    Default

    Quote Originally Posted by alemoppo View Post
    Hello, it's not an easy operation, before I suggest you make a full backup (space and database). 32/5000
    Then you can try this steps.

    The easiest thing is to keep the blog separate in an AlterBlog site.

    Bye!
    Here I see the static resources (CSS / JS) in HTTP instead of HTTPS

    https://laravista.altervista.org/wordpress/wp-login.php

  4. #4
    alemoppo is offline AlterVista Staff
    Join Date
    Feb 2010
    Location
    IT
    Posts
    691

    Default

    Yes, you should configure WordPress to use HTTPS: you should enable HTTPS from the "settings".

    Bye!

  5. #5
    laravista is offline Utente AlterBlog
    Join Date
    Dec 2019
    Posts
    45

    Default

    I used this configuration wp-config.php

    PHP Code:
    /** SSL */
    define('FORCE_SSL_ADMIN', true);
    // in some setups HTTP_X_FORWARDED_PROTO might contain
    // a comma-separated list e.g. http,https
    // so check for https existence
    if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
    $_SERVER['HTTPS']='on';

  6. #6
    alemoppo is offline AlterVista Staff
    Join Date
    Feb 2010
    Location
    IT
    Posts
    691

    Default

    Now your site appears correctly in HTTPS, have you activated it from the settings?

    Bye!

  7. #7
    laravista is offline Utente AlterBlog
    Join Date
    Dec 2019
    Posts
    45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO