• I installed WordPress into the directory /wordpress on my site a few days ago, and today I decided to make WordPress the root of my site.

    I followed the instructions under the Settings tab and copied index.php to my root folder and changed its “./wp-blog-header.php” to “./wordpress/wp-blog-header.php”.

    However, there was no .htaacess file in my wordpress directory. There is an .htaccess file in my root directory, but it doesn’t say anything about wordpress.

    Since copying index.php to my root folder, the only problem I’ve noticed is that I no longer have the “edit this entry” option at the bottom of each main page posting even though I’m logged in as administrator. Is that a result of the missing .htaccess file? Any advice on what I need to do to get the “edit this entry” option to return?

    And I have one other minor question. All my links are WordPress pages. When I set them up, I used the full url (ie https://mysite.com/wordpress/?page_id=177)

    After I moved the index.php file to my root folder, I tried removing “/wordpress” from a few URLs and was surprised to discover that my pages load fine whether their URLs include “/wordpress” or not.

    Is one form right or preferable? Sorry if this is a stupid question, but I don’t want to risk creating two different versions of all my pages.

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

    (@peychaud)

    I just realized that all the pages with the /wordpress/?page_id=999 show up with “edit this entry” whereas the ones that I removed /wordpress/ from the URLs do not show “edit this entry.”

    So obviously there’s something there (and that something likely has something to do with .htaccess). Any ideas?

    I had the same issue and found that deleting all cookies for the domain fixed it and my “edit this entry” text was back.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with moving WordPress to root folder’ is closed to new replies.