• Resolved pcgs51

    (@pcgs51)


    I am using MAMP Pro for to develop my WordPress site. I installed it all into one directory but now I want to move the index.php one level up and leave everything in the original folder (usually named ‘wordpress’ but not in my case).

    Anyway I followed the Codex instructions at Giving_WordPress_Its_Own_Directory

    But I’m getting this message:

    Forbidden
    You don’t have permission to access / on this server.

    I’ve done this so many times before successfully but now I’m lost.

    Wondered if there was a table or something in my database that I need to edit.
    Currently in the xxx_options table the ‘siteurl’ is: ‘https://dev.name:8888/directoryname’
    and the ‘home’ is: ‘https://dev.name:8888’

    Please note: I gave my db tables a prefix with three characters. But that shouldn’t be a problem, right?

Viewing 2 replies - 1 through 2 (of 2 total)
  • It is a permissions problem, as per the error, so what are your permissions on the directories in question? Also, you aren’t trying to move files outside of the server root are you? You aren’t actually trying to put the files at the filesystem’s root, right?

    Thread Starter pcgs51

    (@pcgs51)

    I hadn’t edited the permissions as they were on my localhost. So I believe they were 000.

    I only copied the index.php and the .htaccess files and moved them up one level inside the established site directory in MAMP.

    I had a backup of the localhost site (before everything went bad) and uploaded it to a remote server and then did the same steps and everything worked fine. So I managed to download a copy of the site and re-installed it on my localhost. Its now working fine except for a couple of relative addressing issues to iron out.

    I will mark this as solved. Thanks for asking.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Moving WordPress in MAMP’ is closed to new replies.