Techie question re wordpress

17 replies
I've got a wordpress blog and wanted to add a non-wordpress website to its subdomain - is this possible?

I uploaded the files to the subdomain but they then appeared as a list in the subdomain url , so my guess is that it's not possible but another opinion would be useful.

Thanks guys!

#question #techie #wordpress
  • Profile picture of the author Caprica
    It is not possible, because WP uses a different system and not the html files. So you must create a pages/posts in WP and copy there your content from that website.
    {{ DiscussionBoard.errors[6165915].message }}
    • Profile picture of the author AnniePot
      You need to create an index page in the sub-domain file and link to that from your main, Wordpress domain. The index page should be either an html or php file
      {{ DiscussionBoard.errors[6165949].message }}
    • Profile picture of the author bikerbird
      Thank you so much for your quick reply, it's appreciated! I'd scoured the internet high and low looking for the answer, and as you may have guessed I'm a non-techie!

      Thanks again.
      {{ DiscussionBoard.errors[6165950].message }}
      • Profile picture of the author JohnMcCabe
        Originally Posted by bikerbird View Post

        Thank you so much for your quick reply, it's appreciated! I'd scoured the internet high and low looking for the answer, and as you may have guessed I'm a non-techie!

        Thanks again.

        Nikki
        Nikki, I hope you're addressing that to Anne (AnniePot). She gave you the straight scoop. Ignore that previous poster.
        {{ DiscussionBoard.errors[6166763].message }}
        • Profile picture of the author Istvan Horvath
          Originally Posted by JohnMcCabe View Post

          Ignore that previous poster.
          ^^ What he said
          Ignorant people shouldn't be allowed to give dangerously misleading advice...:rolleyes:
          Signature

          {{ DiscussionBoard.errors[6166800].message }}
    • Profile picture of the author Karen Blundell
      Originally Posted by Caprica View Post

      It is not possible, because WP uses a different system and not the html files. So you must create a pages/posts in WP and copy there your content from that website.
      oh course you can have another non-WordPress website in a sub-domain of your domain! :rolleyes:

      As Annie explained above, you must have an index HTML or PHP file in your sub-domain at the very least and link accordingly.

      good luck!
      Signature
      ---------------
      {{ DiscussionBoard.errors[6166824].message }}
      • Profile picture of the author bellogy
        Copy all the files that you need to display in sub-folder for that subdomain then name the homepage of your sub domain as index.html or index.php.
        {{ DiscussionBoard.errors[6166898].message }}
      • Profile picture of the author JohnMcCabe
        Originally Posted by Karen Blundell View Post

        oh course you can have another non-WordPress website in a sub-domain of your domain! :rolleyes:

        As Annie explained above, you must have an index HTML or PHP file in your sub-domain at the very least and link accordingly.

        good luck!
        On a side note, you should put a blank index page in any directory you don't want people snooping in. When someone puts in a url without a page name (example.com/subdirectory), most server software will first look for a 'home page' for the directory. If it finds one, it will display it even if there's no content. If it does not find a home page or index page, it will display a list of the files in that directory. I believe that is what happened to the OP.

        It's not foolproof, but it helps keep the honest people honest.
        {{ DiscussionBoard.errors[6166937].message }}
        • Profile picture of the author Karen Blundell
          Originally Posted by JohnMcCabe View Post

          On a side note, you should put a blank index page in any directory you don't want people snooping in. When someone puts in a url without a page name (example.com/subdirectory), most server software will first look for a 'home page' for the directory. If it finds one, it will display it even if there's no content. If it does not find a home page or index page, it will display a list of the files in that directory. I believe that is what happened to the OP.

          It's not foolproof, but it helps keep the honest people honest.
          absolutely great advice. I do this for all my clients' sites too.
          Signature
          ---------------
          {{ DiscussionBoard.errors[6167146].message }}
  • Profile picture of the author benf
    The easiest option here is to place either the WP site or the HTML site in to a sub-folder on the same domain.

    For example, what you would need to do is install the blog software on your server, into a subfolder (for example yoursite.com/blog).
    You can then create a link on your HTML site navigation menu that points to the blog. This would make the blog be part of your overall website. You can also add the blog to your sitemap.


    Working the other way works too. ie, placing your HTML site is a sub folder and creating links from the blog to the HTML site.

    Which you keep on the web site root (ie not in a folder) will depend on which part of the site (html or blog) you want the website visitors to see first.

    To take this to the next step would be to have multiple sub folders. Each one could have a Blog or a HTML site in it. This would ge a good way of siloing different but loosely related subjects on the one domain.
    {{ DiscussionBoard.errors[6166953].message }}
    • Profile picture of the author bikerbird
      Thank you guys for all the useful info, I will now go away and have a fiddle and see what happens!

      I would have pm'd you back Anne (but not allowed yet :rolleyes, and no 'thanks' button allowed for me yet either! I must try harder!

      I certainly know where to have my questions answered in future, rather than wasting time surfing for the answers
      {{ DiscussionBoard.errors[6167061].message }}
  • Profile picture of the author Istvan Horvath
    @benf, did you bother to read the OP at all?

    The OP was asking about SUBDOMAIN and you are talking about subfolders...
    Signature

    {{ DiscussionBoard.errors[6167022].message }}
    • Profile picture of the author bikerbird
      Uh oh, I think I could be getting confused now (doesn't take a lot!)... yes, subdomains were my query.
      {{ DiscussionBoard.errors[6167086].message }}
  • Profile picture of the author Istvan Horvath
    @bikerbird,

    Just listen to what Annie, John and Karen say - they all are experienced WordPress-users with a lot of technical knowledge about websites in general.

    (when you'll have more posts you will be able to thank them )
    Signature

    {{ DiscussionBoard.errors[6167189].message }}
    • Profile picture of the author Karen Blundell
      Originally Posted by Istvan Horvath View Post

      @bikerbird,

      Just listen to what Annie, John and Karen say - they all are experienced WordPress-users with a lot of technical knowledge about websites in general.

      (when you'll have more posts you will be able to thank them )
      thanks!
      and listen to Istvan, too, 'cause he's the WordPress ninja here
      Signature
      ---------------
      {{ DiscussionBoard.errors[6167663].message }}
      • Profile picture of the author JohnMcCabe
        Originally Posted by Karen Blundell View Post

        thanks!
        and listen to Istvan, too, 'cause he's the WordPress ninja here
        What she said...
        {{ DiscussionBoard.errors[6168202].message }}
  • Profile picture of the author sbucciarel
    Banned
    Originally Posted by bikerbird View Post

    I've got a wordpress blog and wanted to add a non-wordpress website to its subdomain - is this possible?

    I uploaded the files to the subdomain but they then appeared as a list in the subdomain url , so my guess is that it's not possible but another opinion would be useful.

    Thanks guys!

    Nikki
    Say your Wordpress blog is on DOMAIN.COM
    You can add another site, any kind of site on SUBDOMAIN.DOMAIN.COM
    or you can add it in a folder such as DOMAIN.COM/WEBSITE

    Just make sure it has a valid index.html or index.htm file if it is an html site or index.php if it is a php site in the subdomain or folder or you will just get a list of files, as you have already.
    {{ DiscussionBoard.errors[6167581].message }}

Trending Topics