• HI I am using a premium Elegant Theme called MyProduct. I am not getting an answer to my problem in their forums and I am wondering if anyone in this forum would even help me being its a premium theme?

    I am only trying to use the instructions from www.ads-software.com on moving a site to a pre-existing subdirectory – I created my whole site in a subdirectory so I can customize it and get it ready for going live. Now that I have it ready I want my main domain to bring this site up… and I was using the instructions from here the link below but with the elegant theme – my products – there is no .htaccess file in by the index.php AND… when I open the index.php there is no require(‘./wordpress/wp-blog-header.php’); line to edit. I am so discouraged? I am not sure who else to ask so I came here.

    this is the link to the instructions I am trying to follow – but the theme is not set up like this wordpress doc explains:
    https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory

Viewing 3 replies - 1 through 3 (of 3 total)
  • I think it’s more of a hosting issue than a theme one. Normally if you want your domain name to resolve to your wordpress content you’d locate the 3 main wp directories (admin,content,includes) and the 25 or so “loose” files in the root folder of your hosting account. The root folder name will vary by host.

    Thread Starter felinawi

    (@felinawi)

    When I was using a different theme… the .htaccess and the index.php were there in that theme and the index.php has the line I needed to change (require(‘./wordpress/wp-blog-header.php’);) as per the instructions on www.ads-software.com

    I lost that site and just started with this new site and it seems their file structure is different… its not the same.

    Basically all i want to do is leave most of the files in my subdirectory /wpsite – but just move the index.php and .htaccess file to my root directory… like its explained on www.ads-software.com. – I know according to those instructions I also need to change the site url and change that line in the index.php (but like i said that line is not even in the theme’s index.php. This is why I am so lost.

    As far as I know, index.php is a core wp file so the theme shouldn’t have affected it. What happens if you add the required line? And I’d check with your host about the htaccess file and/or see if you can just recreate it. htaccess is often a hidden file, so you may have to set ftp / file manager to show hidden files.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Moving site to root – Using a pre-existing Subdirectory’ is closed to new replies.