• I changed the site address to the root directory following the instructions on this page:

    https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory

    I did not need to create a sub-directory, or move the core files, as wordpress was already in one.

    The problem is that now i cant log in, and the site has lost all styling although it does now display from the root address. The site is on a Windows IIS server.

    When I try to log in there is a 404 error

    I did have a problem prior to this, in that I never was able to edit files in the wordpress editor, but i got round this by editting them on an external editor and uploaded them.

    I really would appreciate any help anyone can give me on this

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nigel33

    (@nigel33)

    Is it possible that wordpress cannot writ to the web.config file?

    Here are the contents of my web.config file:

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <configuration>
    <system.webServer>
    <rewrite>
    <rules/>
    </rewrite>
    </system.webServer>
    </configuration>

    Thread Starter nigel33

    (@nigel33)

    after finding this page:

    https://codex.www.ads-software.com/Changing_The_Site_URL

    i managed to get the site back by hardcoding the config.php file with these 2 lines:

    define(‘WP_HOME’,’https://example.com&#8217;);
    define(‘WP_SITEURL’,’https://example.com&#8217;);

    which works but is possibly not ideal. However I like the fact that nobody can now inadvertently change these settings in the wp-admin General Settins which are now greyed out.

    If anyone knows of any problems this could cause in the future I would appreciate any help I can get.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help! I changed the site address an now cant log in’ is closed to new replies.