• Resolved Mr Robville

    (@mr-robville)


    Hello,
    I’ve searched high and low but I’m unable to find a solution.

    Just as many people, I have a site https://www.example.com with wordpress located within https://www.example.com/wordpress/.

    I want to get rid of the /wordpress/ bit and followed various tutorials but I’m completely stuck with it. One problem adds to another.

    I first changed the site address to https://www.example.com within the general settings. This didn’t work so I read that I had to find the .htaccess file from within the wordpress directory. With hidden files enabled, this file does not exist. I’m 1000% sure. It does, however, exist within the site’s root directory. Changing this file to whatever is suggested doesn’t do anything. I either receive a 404 error or the wordpress site simply refuses to load or brings me back to my provider’s placeholder page.
    I also read everywhere that wordpress gives you a code or says something about the .htaccess file if you change the settings within the permalink options. Mine does nothing. It only says “permalink structure updated” without making any notes or changes.

    This issue is pretty frustrating to me since nothing from any tutorial works the same as on my website.

    Any help would be greatly appreciated.

    P.S. I did also add /wordpress/ to the index.php file.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Mr Robville

    (@mr-robville)

    Anyone?

    Can you post the site URL. Also, is there anything in the web root directory, i.e. the https://www.example.com/ directory

    Thread Starter Mr Robville

    (@mr-robville)

    Sure, it’s https://www.robville.net
    Within the root folder of the site there are four items located; the wordpress directory, .htaccess, favicon.ico, and a blank index.html that I’ve added to remove the provider’s placeholder page.

    I would suggest that the easiest thing to do would be to go to Settings and set both your WordPress Address and Site Address to https://www.robville.net and then FTP into your hosting account and place all the WordPress files in the web root, removing the other .htaccess, favicon.ico and index.html files first.

    It would be far easier to have the site in the root directory rather than fiddling with rewrites.

    If you’ve already written content you may have some URLs hard coded in the page (manually written links to images or other pages for example), but for the most part WordPress does a pretty good job of moving the whole structure.

    Hope this helps.

    Thread Starter Mr Robville

    (@mr-robville)

    That is actually not a bad idea, it makes sense. I’ll try it out. There are not too many links luckily. I hope it works.

    Thanks!

    Thread Starter Mr Robville

    (@mr-robville)

    All content moved to the root directory, changed some links and everything works like a charm! Thanks again!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘.htaccess/permalinks not working’ is closed to new replies.