WordPress.org

Forums

Installation (46 posts)

  1. agray19
    Member
    Posted 3 years ago #

    I performed the following:

    I already have WordPress installed in its own folder (i.e. http://example.com/wordpress):

    Go to the General panel.
    In the box for Site address (URL): changed the address to the root directory's URL. to: http://example.com
    Saved Changes.

    Copied index.php from /var/www/wordpress/ to root

    Opend your root directory's index.php file in a text editor
    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');

    Logged in site OK.

    However, from the internet the site is still only available at:
    http://www.domain.info/wordpress instead of what I need: http://www.domain.info

    Any additional sugestions?
    Thanks,

  2. govpatel
    Member
    Posted 3 years ago #

    Your wordpress should open fine with your domain name but to log in admin panel you need use http://www.domain.info/wordpress/wp-admin

  3. agray19
    Member
    Posted 3 years ago #

    It should but it does not!

    From any browser I have to type:

    http://www.domain.info/wordpress

    http://www.domain.info returns the Apache2 "It works page" (the index.html file which is seating in my /www/. If I delete it most likely http://www.domain.info will return nothing or an error.

    AG

  4. govpatel
    Member
    Posted 3 years ago #

    That could be reason as wordpress use index.php file and you have index.html file as well you can only have one index file in folder.
    It must opening index.html instead of index.php rename index.html file.

  5. agray19
    Member
    Posted 3 years ago #

    I renamed the index.html old-index.html
    Did not fix the problem. Now http://www.domain.info returns:
    Index of /

    Name Last modified Size Description
    old-index.html 25-Apr-2012 12:12 177
    wordpress/ 25-May-2008 16:33 -
    Apache/2.2.14 (Ubuntu) Server at newbullhorn.info Port 80

    It seams to be clear that the system looks at www directory.

    AG

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    Try adding
    DirectoryIndex index.php index.html index.htm
    to the top of your root .htaccess file.

  7. agray19
    Member
    Posted 3 years ago #

    I created a file:

    .htaccess in the root directory (no such file existed before)
    rebooted

    NO CHANGE , http://www.domain.info continues returns list of in /www/

    to be clear:

    WordPress Address (URL) http://domain.info/wordpress
    Site Address (URL) http://domain.info

    AG

  8. agray19
    Member
    Posted 3 years ago #

    OK, I am ready to reinstall. Is "Famous 5-Minute Install" correct?

    According to it, I should put WordPress files in the root directory (without a wordpress folder), is that correct? Supposedly, this will make Wrdpress respond to:
    http://domain.info

    AG

  9. acboy
    Member
    Posted 3 years ago #

    I am new too, had some problems with my earlier install but found this tutorial, HTTP://wordpress.tv/2009/01/26/installing-wordpress-locally-with-wampserver/ very helpful. Only problem was the last step did not work but running 'localhost' from the WAMP server icon in the taskbar made my localhos work/pop up. I will be trying another install later.

  10. esmi
    Forum Moderator
    Posted 3 years ago #

    Is "Famous 5-Minute Install" correct?

    Yes.

    is that correct? Supposedly, this will make Wrdpress respond to:

    Yes.

  11. agray19
    Member
    Posted 3 years ago #

    Thanks acboy!
    I already know how to install WordPress locally, I have done it almost 50 times in my attempt to install it on my public server. I am trying to install WordPress on my public Ubuntu server and it's not working!
    Frustration is beginning to takeover!

    There are bizillions of WordPress sites out there which function as expected http://www.domain.XXX and bingo you are there! Somebody out there knows how to do it ... I am still looking for that person(s)!!
    Thanks,
    AG

  12. acboy
    Member
    Posted 3 years ago #

    Do you have a good link/tutorial for installing WAMP and wordpress?
    This was my first install and I will like to try something that is straight forward. Will appreciate any good links and sources.
    Thanks

  13. agray19
    Member
    Posted 3 years ago #

    acboy,
    This tutorial is very good and it works exactly the way he describes it:

    http://www.youtube.com/watch?v=9Nk3770S4jk

    AG

  14. agray19
    Member
    Posted 3 years ago #

    esmi,

    Since WordPress will download and tar into a /wordpress/ folder:

    is there o command which I can use to move all the contents of /wordpress/ to /root/?
    Thank,
    AG

  15. esmi
    Forum Moderator
    Posted 3 years ago #

    Why not just extract the archive, open the wordpress folder and upload its contents rather than the folder itself?

  16. agray19
    Member
    Posted 3 years ago #

    esmi
    I apologize, I am quite ignorant of Linux command, here is what I have been doing to get WordPress:

    sudo wget http://wordpress.org/latest.ta.gz
    than
    tar -xzvf latest.tar.gz
    this will extract all contents into a folder /wordpress/

    The challenge now is to move all the contents of /wordpress/ to /root/
    Could I perhaps say:
    tar -xzvf latest.tar.gz /root/

    Or is this hopeful thinking?

  17. esmi
    Forum Moderator
    Posted 3 years ago #

    Why not just download the archive manually via http://wordpress.org/download/ ?

  18. agray19
    Member
    Posted 3 years ago #

    OK that should work as long as I am in root. Anther problem my ignorance got me into is the fact that I can get up to /$ but not in /root/. I can do ls and see root but when I try cd root or sudo cd root, it's not working.
    How do I get myself in root using the terminal?
    AG

  19. agray19
    Member
    Posted 3 years ago #

    OK, I think I now have the information. I can get to root by:
    sudo chmod 777 -R root

    Am I correct in assuming that, from root I could download WordPress and than tar it in place? After, will be able to use a browser to run install.php?
    http://www.domain.xxx/install.php
    Will root let me do that?
    AG

  20. esmi
    Forum Moderator
    Posted 3 years ago #

    Why do you want to try and do everything via the server?

  21. agray19
    Member
    Posted 3 years ago #

    Is there another way? Hoe do people run install.php for the first time? Can I run install.php from the terminal?
    AG

  22. govpatel
    Member
    Posted 3 years ago #

    If you use cpanel account there is way to upload zip file if your host has the feature enabled and extract on server and then move them in root.
    You can do the same on Go daddy

  23. agray19
    Member
    Posted 3 years ago #

    govpate,
    I am lost and I am sure it's my lack of knowledge.
    I am using an Ubuntu system, no .zip file here. The Linux files, as little as I understand them, are .tar.gz
    The server is a physical server running Ubuntu 10.04 and it will stay here on a fixed IP address.
    Now about the install.php can I run it from the terminal or has to be run from a browser?
    AG

  24. esmi
    Forum Moderator
    Posted 3 years ago #

    Is this a local install or a remote server.

  25. agray19
    Member
    Posted 3 years ago #

    It is local, I can lean over and power it off. The keyboard and the screen is here. I have reinstalled Ubuntu 50 + times and start from a blank hard drive. Everything is in the box, MYSQL, Apache2, PHP5 and ... WordPress. Nothing else is running in this box. It is connected on a fixed IP and it has no router in front. It is as basic as you will ever get and yet ... well you get the idea.
    It is working but not the way any website would work, i.e. http://www.domain.xxx, instead I have to do http://www.domain.www/wordpress. Not what I want.
    AG

  26. esmi
    Forum Moderator
    Posted 3 years ago #

    If it's a local machine, why not just drop the contents of the unpacked download archive into the web root folder? No FTP. No unpacking the archive via *nix. Just move the contents of the folder from one machine to another.

  27. agray19
    Member
    Posted 3 years ago #

    esmi
    I will try exactly that, download wordpress/latest.tar.gz in root and tar it right there. We shall see. Is every worpress site running in root in order to have it function the way we are all used to:
    http://www.domain.xxx ??
    AG

  28. govpatel
    Member
    Posted 3 years ago #

    if you install wordpress in your www folder which is root then I do not see why your will open with your domain name.

  29. agray19
    Member
    Posted 3 years ago #

    govpatel

    I am confused.
    First, why do you think /www/ is root? There is a /root/ directory and it is different than /www/. The directory /www/ is in /var/. It seams that when I type http://www.domain.info from the Internet, the browser automatically points to whatever is inside /www/. So the server with or without WordPress, will point any internet request, i.e. http://www.domain.info to /var/www/ without displaying it. So there is something which identifies a web request from any browser, arriving on port 80, and which than points that request to /var/www/. That is why I am thinking that index.php, along with the rest of Wordprwss should exist in /var/www/.

    I wich somebody who is familiar with this could let me know if my logic is correct. I am just looking at the behavior and deducing all this.
    AG

  30. esmi
    Forum Moderator
    Posted 3 years ago #

    I think there are two parts to the problems you are currently encountering:

    1. Every server is different, so we tend to use examples which may, or may not, match your server setup - yet you seem to be taking everything at face value.

    2. With all due respect, you do not seem to have a great deal of experience running a server or using Unix - both of which are really beyond the scope of these forums.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.