Support » Installing WordPress » Develop WordPress in a subfolder with existing html site in another subfolder?

  • Resolved SusanGriffithspbf


    Hello everyone!

    I’m so new to WordPress that I haven’t even installed it on my ISP’s server yet, but I’d like to ask a question so I can get everything right from the beginning. I’ve searched existing topics and can’t find anyone in exactly my situation, so I apologise if my question has already been answered.

    At present I administer a website ( which was built using html and CSS. It’s in a subdirectory ( of the root directory on 1and1’s server, and I’ve pointed the domain name to /html as its root directory.

    I’d like to instal WordPress in another subdirectory (/wordpress) and develop a new site there, pointing the domain name to the wordpress subdirectory when the site is finished. I’m just worried that any links which are generated in the wordpress subdirectory may not work properly when I change the root directory for the domain name from /html to /wordpress. Am I worrying unnecessarily? Is there a fairly straightforward way of handling this?

    Any advice would be greatly appreciated. If there is a previous topic which answers my questions, I would be grateful for a nudge in its direction.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Your situation adds a layer of complexity to the normal situation because you can change what directory your domain name points to. But, in general, a search/replace is required for the WordPress database when you move from a test WordPress in a folder to a production WordPress in the “root” of the domain.

    With that additional layer in mind, you will probably want to start your reading here:

    My normal modus operandi is to build a WordPress install in a subdirectory, then use that method to make it look like WordPress is in the root of the domain name, even though it is not.

    Many thanks for your very speedy answer to my question. Perhaps I am making things too complicated and should stick to your method which does, after all, place WordPress in its own subdirectory.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Develop WordPress in a subfolder with existing html site in another subfolder?’ is closed to new replies.