• To All,

    I’m trying to install a wordpress blog for a company. They are using Ipowerweb which relies on vdeck. Yuck.

    So when I try to install the WP script from vdeck, it prompts me for a directory path. I just want it to go in the main directory ie; https://www.domain.com/

    but unfortunately, it prompts me to create a path like, https://www.domain/main

    I don’t want this because if someone types in domain.com then they will see the root directory instead of the site/blog.

    How do i fix this issue on vdeck so that the wordpress blog shows up in the root directory. I’m so used to Fantastico and cpanel that vdeck is too wierd for me.

Viewing 7 replies - 1 through 7 (of 7 total)
  • This article might help Giving_WordPress_Its_Own_Directory

    Thread Starter sachi21

    (@sachi21)

    Nice article, Handy. This article is showing how to ensure our blog entries exist in the site root. But what if I’m not using the blog at all? I am just using WP as a CMS for regular old pages. Does this article still remain relevant?

    If the intent is that when visiting the site, the user sees WordPress, regardless of how it’s being used, then yep — that article stands.

    Thread Starter sachi21

    (@sachi21)

    Very cool. It actually works!

    Question: In step 9, it says;

    Change the following and save the file. Change the line that says:
    require(‘./wp-blog-header.php’);
    to the following, using your directory name for the WordPress core files:
    require(‘./wordpress/wp-blog-header.php’);

    I never did that because the index.php file doesn’t have that command at all. In fact, I looked through a couple other themes I downloaded and none of the index.php file has that command.

    In fact, I can’t even find the .htaccess file at all. It’s usually there. Is this normal?

    Thread Starter sachi21

    (@sachi21)

    and one more question. Once I move the WP files to the root directory, should I delete the files in the other directory? ie; delete the files at https://www.domain.com/main but keep the files at https://www.domain.com/ ?

    That’s referring to the index.php that’s in the main install directory (/main) not your theme’s index.php.

    You may not see a .htaccess file there until you’ve visited Options -> Permalinks and changed them from “Default.” Or, you may not be looking for hidden files (the . makes it hidden).

    Thread Starter sachi21

    (@sachi21)

    Nope- for whatever reason, the htaccess file was never there. I made sure to show hidden files in my ftp client but the file still didn’t show up. It’s ok because I just created a new one anyway.

    But I’m thinking I should keep the WP core files in both directories…just to play it safe?

    Otherwise, thanks for your time, Han

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘how to get WP to show up in root directory. Vdeck issue’ is closed to new replies.