• Resolved decodeddreams

    (@decodeddreams)


    Hello,

    I installed WP a while ago when I was updating my portfolio and I used the path name and subfolder (sametomorrow.com/test). I recently completed the update and wanted to change the URL to just (sametomorrow.com).

    I changed the address from WP General Settings and made the WordPress URL to /test and site URL to just sametomorrow.com. That wasn’t pulling up the files correctly so then I copied all files in the ‘test’ subfolder into the root folder and changed both the WordPress URL and Site URL to just sametomorrow.com

    In the process, I think I messed up a bunch of things and now have both urls (sametomorrow.com & sametomorrow.com/test) configured to the same database. Earlier I was able to still login to WP by going to sametomorrow.com/wp-login.php but now I get the error message “Forbidden – You don’t have permission to access /wp-login.php on this server”.

    Also, when I go to just sametomorrow.com, I get the same message and when I go to sametomorrow.com/test, I get an overlay menu that was part of the design but it’s not reading the CSS files or paths so it’s not displaying anything properly.

    Does anyone know how I can fix this issue? I’m not too good with code or WP and I tried to read some tutorials but can’t seem to figure it out. Also if I need to login to WP to change anything, it won’t seem to let me know now.

    Any help would be greatly appreciated!

    Thanks,
    Adam

Viewing 1 replies (of 1 total)
  • Thread Starter decodeddreams

    (@decodeddreams)

    Quick update,

    I think I fixed part of the issue, I went into the function.php file for the theme I was using and added: “update_option( ‘siteurl’, ‘https://example.com’ ); update_option( ‘home’, ‘https://example.com’ );” and that allowed me to log back in and now the original path, sametomorrow.com/test is working.

    However, I didn’t delete any of the duplicate files in the root directory. Should I delete these and once I do, it brings me back to the problem of how do I change the URL so I can just use sametomorrow.com and not sametomorrow.com/test.

    Thanks again,

    Adam

Viewing 1 replies (of 1 total)
  • The topic ‘Page will not load now and gets an error message’ is closed to new replies.