Question for Wordpress Experts!!

11 replies
I have a pre-existing website that is html/php. I want to setup Wordpress multisite so I can have different directories like domain.com/static-page-1 and
domain.com/static-page-2

If I install wordpress through Softaculous into my main public_html directory,
will it over write the current index.php file? If so, is it as simple as just re-uploading the index.php files?

I want to be able to use wordpress for the sub directories, but not for the main site. I will provide you the specific site in a private message.

If you're a WP Expert and can help clarify this for me and help me set it up the way I want I will gladly pay! Please call/text 443-482-49ONE1

Or email mhbgd1@gmail.com / add on google talk.
#experts #question #wordpress
  • Profile picture of the author Clix
    Just don't install WordPress in the root folder, create a folder named whatever you want to be after the /
    {{ DiscussionBoard.errors[8607553].message }}
    • Profile picture of the author WiredWebWork
      Originally Posted by Clix View Post

      Just don't install WordPress in the root folder, create a folder named whatever you want to be after the /
      I need it installed in the root . if I installed it in a folder then any new pages would be under that folder.... and I want them directly under the domain.

      So basically I just want to make sure if I install wp in the root of the domain, can I simply over ride the index php file with my preferred file? and then just use the multi site function for new pages/subdirectories of the domain.
      Signature

      WiredWebWork.com - High Performance Business Grade Web Hosting & Development
      LiteSpeed | CloudFlare | True 24/7 Support
      Business Class Hosting 240-670-HOST

      {{ DiscussionBoard.errors[8608037].message }}
      • Profile picture of the author Clix
        Originally Posted by WiredWebWork View Post

        I need it installed in the root . if I installed it in a folder then any new pages would be under that folder.... and I want them directly under the domain.

        So basically I just want to make sure if I install wp in the root of the domain, can I simply over ride the index php file with my preferred file? and then just use the multi site function for new pages/subdirectories of the domain.
        That completely contradicts what you said in your first post.
        {{ DiscussionBoard.errors[8616219].message }}
      • Profile picture of the author SteveJohnson
        Originally Posted by WiredWebWork View Post

        I need it installed in the root . if I installed it in a folder then any new pages would be under that folder.... and I want them directly under the domain.
        No, you don't need WP installed in the root directory. WP can live in any directory if you follow the codex instructions.

        So basically I just want to make sure if I install wp in the root of the domain, can I simply over ride the index php file with my preferred file? and then just use the multi site function for new pages/subdirectories of the domain.
        No, you can't.

        You don't need multi-site if you're simply trying to make new pages easily.

        The easiest way to do what you're wanting to do is to rename your existing index.php page to something else and tell your server to load that file if a request for '/' is made. You can do this through .htaccess file (google for setting default index file in apache).

        Put WP in its own directory, and follow the codex instructions that were linked to above.
        Signature

        The 2nd Amendment, 1789 - The Original Homeland Security.

        Gun control means never having to say, "I missed you."

        {{ DiscussionBoard.errors[8616607].message }}
  • Profile picture of the author Delta90
    Is it something like this you need ?
    Link: Creating a Static Front Page « WordPress Codex
    {{ DiscussionBoard.errors[8608518].message }}
  • Profile picture of the author Monika Verma
    Originally Posted by WiredWebWork View Post

    I have a pre-existing website that is html/php. I want to setup Wordpress multisite so I can have different directories like domain.com/static-page-1 and
    domain.com/static-page-2

    If I install wordpress through Softaculous into my main public_html directory,
    will it over write the current index.php file? If so, is it as simple as just re-uploading the index.php files?

    I want to be able to use wordpress for the sub directories, but not for the main site. I will provide you the specific site in a private message.

    If you're a WP Expert and can help clarify this for me and help me set it up the way I want I will gladly pay! Please call/text 443-482-49ONE1

    Or email mhbgd1@gmail.com / add on google talk.
    Upload the wordpress installation files in folder as you write for the folder "static-page-1" it will be like public_html/static-page-1/
    {{ DiscussionBoard.errors[8608544].message }}
  • Profile picture of the author tongnk
    Just create 2 folders with the static names and install WP to them. If you install to root it will just be Something. and not the www.something.com/static-page-1 as you'd like it to be...
    {{ DiscussionBoard.errors[8610392].message }}
  • Profile picture of the author donMhico
    Wordpress is a php / database-driven cms. Meaning that "pages" or "posts" are stored in the database and not via files (static html, static php).

    Install wordpress on your root (public_html/). Then try to create a page using wordpress. You will notice that you can infinitely create as many pages as you want without creating another .php / .html file on your directory. Then you can dive deeper into wordpress to see more of its features. Wordpress codex is pretty good and clear.
    {{ DiscussionBoard.errors[8617809].message }}
  • Profile picture of the author vmb2013
    Banned
    [DELETED]
    {{ DiscussionBoard.errors[8617941].message }}
    • Profile picture of the author vikash_kumar
      Originally Posted by vmb2013 View Post

      If you want it in the root it will the only thing you can do is install it manually but before you install it, rename the index.php file to like blog.php.
      Yes!
      vmb is right when he is suggesting you to change your existing site's php index file name index.php to something else. Like index1.php or as he is saying blog.php

      Then

      Install WordPress in Your Root Folder

      That will do, which you wanted to have. But here, I am not clear that why you need a multisite WordPress Installation instead...You Should use standard installation and change the permalink setting to "%postname%.

      This will let you to have the same result which you want to see. Just create a new page with new name like " static-page-1" & "static-page-2" to get domain.com/static-page-1 and domain.com/static-page-2.

      Please feel Free to ask any question related with this.

      Thanks & Regards,
      Vikash Kumar
      {{ DiscussionBoard.errors[8624116].message }}
      • Profile picture of the author kingde
        Probably you want to do the following... but back up all your important files first!

        1. copy your original index.php file to something else (as a backup)
        2. Install wordpress in the root directory (so you can get the site.com/url locations you wanted)
        3. You'll have to make a change in the .htaccess file (make a copy of that too in case it stops working)
        4. Refer to This Link WordPress › Support » Change index.php to something else
        5. rename the wordpress index.php to something else like index_wp.php
        6. Make sure your custom index.php is now in place
        7. Edit the .htaccess and replace index.php with index_wp.php
        8. I tried this and it worked for me.

        Like this:
        # BEGIN WordPress
        <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /
        RewriteRule ^index_wp\.php$ - [L]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule . /index_wp.php [L]
        </IfModule>

        # END WordPress

        Just beware this could get written over by wordpress if you change the permalink settings. If you want to prevent that, you could change the permission so wordpress can't change it (which it would indicate with a message in the Settings -> Permalinks screen)

        Another (easier but more hack) approach would be to create a "front page" page in wordpress and go to Settings -> Reading (in wordpress admin) and change the front page display to a static page you just created.
        The using a plugin like "Shortcode Redirect" WordPress › Shortcode Redirect « WordPress Plugins Place a shortcode in the front page with a 1 sec delay to your file like http://domain.com/home.php

        Not a great solution but a passable interim solution until you get the other one working
        Signature

        **** Learn fast and simple ways to tackle challenging business topics DaveKing.org/about ****

        {{ DiscussionBoard.errors[8625261].message }}
  • Profile picture of the author arosebyone
    Hi, I need to upload a website on my fiverr account to my hosting account in hostgator. Can someone help me with this. The website is a 50,000 page adsense site. I do not however know the name of the site as the horrible fiverr provider did not and would not give it to me. Thanks. Please let me know your minimum requirements.
    {{ DiscussionBoard.errors[9540207].message }}

Trending Topics