Viewing 9 replies - 1 through 9 (of 9 total)
  • C W (VYSO)

    (@cyril-washbrook)

    This is because your WordPress installation is in a subfolder: i.e. /wordpress.

    If you would like to make your site accessible from https://www.mysite.com, you can do this by following the instructions on this page (under “Using a pre-existing subdirectory install”).

    Thread Starter Petersen

    (@wpguru6)

    Hi

    Thank for your reply. I used `define(‘WP_HOME’,’https://example.com’);
    define(‘WP_SITEURL’,’https://example.com’);` so I can’t change url from admin dashboard.

    C W (VYSO)

    (@cyril-washbrook)

    I see no particular reason why you can’t or shouldn’t remove those define lines from your wp-config.php.

    Thread Starter Petersen

    (@wpguru6)

    After remove toe file from wp-config.php ,I can’t login and css missing.I am using webnames hosting and the wordpress directory is

    podiumperformance.ca / httpdocs / wordpress /

    my domain is podiumperformance.ca

    Thread Starter Petersen

    (@wpguru6)

    please take a look podiumperformance.ca/wordpress/ . In podiumperformance.ca / httpdocs directory There is a index.html file and it contain `<HTML>
    <HEAD>
    <META HTTP-EQUIV=”refresh” CONTENT=”0;URL=https://podiumperformance.ca/”>
    </HEAD>
    <BODY>
    </BODY>
    </HTML>
    `

    C W (VYSO)

    (@cyril-washbrook)

    To restore your site, you can try to follow the steps under “Edit functions.php” on this page. Do not use the wp-config.php method. That should get your site working again.

    Once you have done that, you can try following the instructions at this page.

    Thread Starter Petersen

    (@wpguru6)

    Nothing Happen .After done that it goes to 404 page. my current
    WordPress Address (URL) :https://mysite.com/wordpress
    Site Address (URL):https://mysite.com

    And found Error 404 .What can I do.Please please help me.

    Thanks

    C W (VYSO)

    (@cyril-washbrook)

    Your site is still operating just fine at podiumperformance.ca/wordpress.

    When and why did you create that index.html file? It’s pointless because it just creates a redirect loop.

    Thread Starter Petersen

    (@wpguru6)

    Many many thanks.I really great-full to you.
    index.html file caused that error.

    Thanks again

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘how to change URL from root to directory’ is closed to new replies.