Can I run the same domain on WP AND website?

14 replies
Hi

I have mydomain.com as a Hostgator fantastico WP site, uploaded through FTP FZilla, but can I also run it as a "conventional" website, uploaded through my cPanel (legacy) file manager too? (i.e. by uploading from an index.html page created in my web editor). I'm assuming that possibly not.

What Im looking to do is run sites thus:
mydomain.com/product1, mydomain.com/product2 etc.

thanks
#domain #run #website
  • Profile picture of the author 04real
    Originally Posted by Ian Jackson View Post

    Hi

    I have mydomain.com as a Hostgator fantastico WP site, uploaded through FTP FZilla, but can I also run it as a "conventional" website, uploaded through my cPanel (legacy) file manager too? (i.e. by uploading from an index.html page created in my web editor). I'm assuming that possibly not.

    What Im looking to do is run sites thus:
    mydomain.com/product1, mydomain.com/product2 etc.

    thanks

    Hi Ian,


    Are you running WordPress in the main directory or in a subdirectory, e.g. mydomain.com/wordpress?

    You can run WordPress while using conventional HTML pages but I'd do this in a separate directory. WordPress can pretty much serve you as a CMS so you may not even want to publish regular HTML pages, but if for whatever reason you need to, I recommend you set up WordPress in a subdirectory and run your main web site on the home directory.

    Hence your conventional web site might be running under your main domain, www.mydomain.com, but a blog or whatever you use WP for will be running at www.mydomain.com/wordpress.

    Hope this helps.


    JP
    Signature
    I wrote and published an 8,000+ word book in 24 hours.
    If I can do that, imagine what you could do.

    Get Your Free Copy >> Shut Up and Do It: How to Achieve Your Goals and Change Your Mindset in 24 Hours
    {{ DiscussionBoard.errors[2573966].message }}
    • Profile picture of the author Ian Jackson
      i'm using mydomain.com as a WP page, so it's the main directory
      {{ DiscussionBoard.errors[2574302].message }}
  • Profile picture of the author pjCheviot
    Banned
    Ian

    If you want to have . .

    mydomain.com/product1
    mydomain.com/product2 etc.

    then simply create the folders /product1, /product2 etc

    and upload (either by ftp or your cpanel file manager) the necessary files to those individual folders.

    When you direct people to mydomain.com/product1, they will be taken straight to the index page of that folder. They will not be aware of your WP site in your root directory (unless, of course, they type in mydomain.com ).

    HTH
    {{ DiscussionBoard.errors[2574328].message }}
  • Profile picture of the author phpbbxpert
    You can add whatever HTML pages to the root eg. public_html directory that you want.

    If you name a file index.html it may display first rather than the WP install.
    It depends how the server is setup.

    If this is not wanted you will have to edit the .htaccess file and add
    DirectoryIndex index.php index.html

    This will tell the server to display index.php first.

    Or use what was mentioned above, making a sub directory.
    eg. your_domain.com/WP Site (What you have now)

    Then your_domain.com/my_new_product/index.html


    Any of these will work.
    {{ DiscussionBoard.errors[2574335].message }}
    • Profile picture of the author Ian Jackson
      Ok - I'm beginning to see how it works now - thanks all
      {{ DiscussionBoard.errors[2574393].message }}
      • Profile picture of the author Ian Jackson
        Back again...

        couple of things:

        1
        If I have both an index.html AND WPress uploaded into my file manager (index loaded by legacy manager, and WP by FTP FZilla), which will take priority and why? It seems that html does, as I have to delete the html page before the WP shows up. There's no problem here, I'm just curious.

        2
        How do I create a "home" page for my WP site? What I mean is that, if say I have a 500 word article that I want to display (in full) uploaded as my homepage, should I upload it into a new post, or a new page? I want to have this article on the main "mydomain.com" TLD page, without any "/...." extension after it. At the moment I have it uploaded as a "post", but WP shortens it to just one paragraph and displays the read more text.

        How do set up a tab on other pages and posts that will enable visitors to return to my "homepage"?

        Thanks
        {{ DiscussionBoard.errors[3299934].message }}
  • Profile picture of the author Leslie B
    For your second question, put that article on a page of it's own and call it Home. If you want to have a page with all your regular blog posts on, create an empty page called Blog too. Then in your wp-admin under Settings go to Reading and set Front page displays as A Static Page. Then in the drop down menu choose the page you called Home for the front page and the page you called Blog for the Posts page. Hope that makes sense.

    In regards to the tab question, if your theme has a navigation bar that should cover that.

    Leslie
    Signature
    Taking it one day at a time!
    {{ DiscussionBoard.errors[3300055].message }}
  • Profile picture of the author pjCheviot
    Banned
    Hi Ian

    Under normal circumstances you wouldn't have both an index.html and an index.php file in your home directory - there will always be a "conflict" - use one or the other, and from what you are saying it sounds as though you need your Wordpress Site to load when visitors click on http: //yoursite.com - so keep the index.php there.

    An index.html file, by default, will load before an index.php one - as you have already discovered - (it can be changed - but I can't see any need for that here?)

    I would recommend moving your .html file(s) into a sub-folder and by keeping your index.html file in there you can simply link to that page by using the link http: //yoursite.com/foldername.

    Hope that makes sense!
    {{ DiscussionBoard.errors[3300474].message }}
    • Profile picture of the author Ian Jackson
      Originally Posted by Leslie B View Post

      For your second question, put that article on a page of it's own and call it Home. If you want to have a page with all your regular blog posts on, create an empty page called Blog too. Then in your wp-admin under Settings go to Reading and set Front page displays as A Static Page. Then in the drop down menu choose the page you called Home for the front page and the page you called Blog for the Posts page. Hope that makes sense.

      In regards to the tab question, if your theme has a navigation bar that should cover that.

      Leslie
      Hi Leslie, yup, goddit Not sure whether or not it'll morph in to a blog yet, but I'll see; of course, I may be leaving money on the table if i don't...

      Originally Posted by pjCheviot View Post

      Hi Ian

      Under normal circumstances you wouldn't have both an index.html and an index.php file in your home directory - there will always be a "conflict" - use one or the other, and from what you are saying it sounds as though you need your Wordpress Site to load when visitors click on http: //yoursite.com - so keep the index.php there.

      An index.html file, by default, will load before an index.php one - as you have already discovered - (it can be changed - but I can't see any need for that here?)

      I would recommend moving your .html file(s) into a sub-folder and by keeping your index.html file in there you can simply link to that page by using the link http: //yoursite.com/foldername.

      Hope that makes sense!
      Thanks pj, yes I see what you're saying, and I may even change the name of the existing index.html into somethingelse.html that will better suit what is essentially a sales page I'll be linking to that needs a few mods.

      I'd run it all on web editor and html etc. but WP does give a better presentation and options, for (arguably) less effort.
      {{ DiscussionBoard.errors[3300612].message }}
      • Profile picture of the author pjCheviot
        Banned
        Originally Posted by Ian Jackson View Post

        Not sure whether or not it'll morph in to a blog yet, but I'll see

        I'd run it all on web editor and html etc. but WP does give a better presentation and options, for (arguably) less effort.
        You've now got me a bit confused with the above comments, Ian :confused:

        Are you saying you have a salespage and you are going to use Wordpress to display it?

        If that is the case - you really don't need Wordpress - simply use your index.html page as the salespage in your home directory.

        Later, if you want to create a blog - you can install that in a directory of it's own and link to it via your salespage?

        Or am I seeing something different here?
        {{ DiscussionBoard.errors[3300762].message }}
        • Profile picture of the author Ian Jackson
          Originally Posted by pjCheviot View Post

          You've now got me a bit confused with the above comments, Ian :confused:

          Are you saying you have a salespage and you are going to use Wordpress to display it?

          If that is the case - you really don't need Wordpress - simply use your index.html page as the salespage in your home directory.

          Later, if you want to create a blog - you can install that in a directory of it's own and link to it via your salespage?

          Or am I seeing something different here?
          Sorry to confuse... yes, you are seeing something different! I'll be linking to it though. There is a salespage plugin for WP, which I may or may not use later on. If you do search there's a thread for it somwehere, should you be interested .
          {{ DiscussionBoard.errors[3300945].message }}
          • Profile picture of the author pjCheviot
            Banned
            Originally Posted by Ian Jackson View Post

            Sorry to confuse... yes, you are seeing something different! I'll be linking to it though. There is a salespage plugin for WP, which I may or may not use later on. If you do search there's a thread for it somwehere, should you be interested .
            OK, Ian - I think I see now.

            I presumed (wrongly!) that if you weren't going to need a "blog", then WP would be "overkill" for a single Sales Page - but you obviously have future plans.

            There are lots of Sales Page plugins and/or themes and I hope you find the right one for your needs.

            Cheers
            pj
            {{ DiscussionBoard.errors[3301335].message }}
            • Profile picture of the author Ian Jackson
              Originally Posted by pjCheviot View Post

              OK, Ian - I think I see now.

              I presumed (wrongly!) that if you weren't going to need a "blog", then WP would be "overkill" for a single Sales Page - but you obviously have future plans.

              There are lots of Sales Page plugins and/or themes and I hope you find the right one for your needs.

              Cheers
              pj
              Thanks! One thing I am looking for is a free Adsense/RSS/widget ready "IM" theme. Or one or two of those to which I can add the other one or two!

              I'm just going to experiment now with adding Adsense code by text widget, to my current theme, but I'm nowhere near familiar enough with editing an RSS feed, so an RSS-ready prepared one would be better... I guess
              {{ DiscussionBoard.errors[3305850].message }}
              • Profile picture of the author Ian Jackson
                As Leslie outlined in the thread, I've set a "home" page, as a static "post", rather than "page". I've since done some editing too, but in spite of clicking the update button, it won't update - when I go to check/refresh it in my browser, or in a Google search.

                I've created a category entitled "home" for this post.

                I've tried deleting the post and re-doing it, but nothing seems to work.

                Must be some WP protocol I'm missing somewhere



                EDIT... SORTED NOW
                {{ DiscussionBoard.errors[3310911].message }}

Trending Topics