• I built my site in a subdirectory and when I was ready I followed the instructions in the Codex here https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory.

    But I must have done something wrong. My site was built in maindirectory.com/new and now when i go to maindirectory.com my WordPress homepage shows up totally fine and normal. But when I click on any of the menu items or anything it takes me to maindirectory.com/new/.

    So i looked at my settings in general. and both my WordPress Address (URL) and Site Address (URL) are maindirectory.com/new/. I tried changing my Site Address to maindirectory.com and that didnt change my homepage, but every link following off the homepage results in a 404 error.

    All of the links are “Portfolio Items” in my theme, so I am not sure how to change the permalinks of them.

    I need some help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I think you should be able to alter the permalinks using the domain switcher plugin

    Thread Starter itchybeard

    (@itchybeard)

    that didn’t work. that ended up bringing my entire site down.

    Thread Starter itchybeard

    (@itchybeard)

    the plugin offered to change the domain. the choices were maindirectory.com and maindirectory.com. so i changed the top one to maindirectory.com/new and asked it to change it to maindirectory.com. now the entire site is FUBAR.

    Thread Starter itchybeard

    (@itchybeard)

    I got the site back up after some working around, but I’m still back at the point I was in the beginning. THe homepage is fine at maindirectory.com. But every link I go to is formatted like: maindirectory.com/new/pagename. So I am back to where I started.

    Thread Starter itchybeard

    (@itchybeard)

    For anyone reading this. I have figured it out. I had old HTML files in my root folder. Apparently they were throwing it off. For example i had a file in the root folder called about.html. After I deleted that, new wordpress page called About began to work.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Getting 404 After Moving WordPress Into Root’ is closed to new replies.