• Using cpanel and all min requirements met. I just wanted to know…
    Which is preferable.. install wp in root of domain or subdir of domain?

    ie example.com/
    or example.com/blog
    are u able to change this later?

    How do you access wp if in root dir? – This may be a dum question.

Viewing 8 replies - 1 through 8 (of 8 total)
  • i dont think it’s dumb only cuz i’ve asked a ton of dumb questions myself.

    that statement might’ve been dumb..anyways.

    if your wp files are in your root(not sure if that’s a good idea or not) i created a directory simply called ‘wordpress’ and have everything in there. you can easily just access the wp files. what do you mean by access your wp files?

    can’t you right click on them and edit in textpad or wordpad?

    okay – here’s the bottom line…

    are you ready for this?

    it’s your own choice.

    if you want to use wordpress for your main site, you install it in the root.

    if you want to have a different main site, and use wordpress as a separate blog, you install it in a subfolder or subdirectory.

    there is no difference in how you access it, or how “good of an idea” it is… it’s your preference.

    if you install it in your root, then your domain, for example, http://www.example.com will be where you ‘see’ the wordpress, therefore you’d access it by using http://www.example.com/wp-admin in order to write posts and pages.

    if you put it in a subdirectory, then it would be http://www.example.com/subdirectory/wp-admin

    it’s your site, do it however you want.

    moving wordpress isn’t terribly difficult if you want to change it later – but i suggest you view this tutorial when you do: http://www.tamba2.org.uk/wordpress/move/

    Thread Starter winspire

    (@winspire)

    Well thanks ladydeluna and Drew -clarifies things a little.
    So it’s my decision? Hmmm?? Never been good at decisions. Or Have I? ;).

    Since the initial query I made I have installed Wp into /wordpress folder on my website.

    http://www.example.com/wordpress.

    If it was in the root then you would see wordpress login screen by typing wwww.example.com?

    * the htaccess file is outside my wordpress directory -I assume this is correct(i thought wordpress would have its own htaccess file or is there just one main one?)

    inserted code in the htaccess

    RewriteEngine On
    RewriteBase /wordpress/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]”

    bit concerned about this but appears to be no bad side affects.

    *

    1. No, the login is always at your-blog-url/wp-login.php.
    By example.com – you see the blog, not the login.

    2. No again. the WP .htaccess file should be in the WP’s root folder – in your case in the “wordpress” directory.

    Thread Starter winspire

    (@winspire)

    Ok..
    If I had my own website http://www.mysite.com and installed wp in the root..

    To get to login screen… http://www.my-blog-url/wp-login.php
    and I could still get to my own website by http://www.mysite.com?
    If not, how can this be done?

    I can create a subdomain easily.

    I have no htaccess file in wordpress directory but found one outside it -should I just copy it to the wordpress dir?

    winspire – no, don’t copy the htaccess – it’s right where it belongs.

    “To get to login screen… http://www.my-blog-url/wp-login.php
    and I could still get to my own website by mysite.com?”

    Okay, step by step here…

    1. Your website is www.yoursite.com
    2. You install wordpress in the ROOT folder.
    3. After the install, you access your site’s admin section (login screen to administer the site from the back end) by going to www.yoursite.com/wp-login.php
    4. You do EVERYTHING from there – write posts, pages, etc.
    5. To see what you did, you go back to www.yoursite.com

    Let’s say you want it to be separate from your main website… as in, you want to add a blog to an existing site:

    Everything is the same, except after the .com/ you would add whatever your subdomain is… so it would then be:

    www.yoursite.com/blog
    and
    www.yoursite.com/blog/wp-login.php to administer that part of your website

    Just a little suggestion to all who are confused about this: Try doing some research about URLs, and make sure you read the wordpress codex and other files… This should not be complicated, and if you’re having trouble with something like the URLs, you may actually want to stick with the wordpress.com version.

    WordPress is “easy” – but requires a certain (small) level of HTML and CSS knowledge… And expects that you can actually do some research to find information before you do things if you’re unsure, or you could wind up mucking things up…

    Thread Starter winspire

    (@winspire)

    Thanks all and you ladydelaluna – I’m all clear now.
    In fact I have set up Wp as a blog to an existing site already. By your explaination above its prob how it should be.
    I will de-copy the htaccess file and leave the original just outside the wordpress dir(?).

    Any samples of how the htaccess file should like once the install has completed?

    I have an htaccess file for http://www.yoursite.com is there a separate one for wordpress? Becos the file for yoursite.com is also just outside wordpress dir.

    “I have an htaccess file for yoursite.com is there a separate one for wordpress? Becos the file for yoursite.com is also just outside wordpress dir.”

    As I said before – the htaccess file is exactly where it needs to be, and you seriously should have no reason whatsoever for editing, copying, moving, or messing with it at all. Pretend you never heard of it… lol

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Installation: WordPress’ is closed to new replies.