Forums

How to safely change the patheway to the root (15 posts)

  1. alawna
    Member
    Posted 5 years ago #

    Hi. I installed wordpress at http://www.mysite.com/blog and everything was fine. I built the site and it is ready to be published. I did this because I already have a site at the root folder. Now I will delete the old site and move wordpress to http://www.mysite.com.
    Do I have to do anything else other than changing the url of the site in the configuration page of the administration?
    Thanks

  2. alawna
    Member
    Posted 5 years ago #

    I am sorry I need to add to the question: Do I need to reinstall wordpress or is it enough to copy the blog folder contents and paste it in the root folder?

  3. podz
    Support Maven
    Posted 5 years ago #

    Change the addresses to what you want in Options.
    Then move the files.
    If you have any problems, post back :)

  4. alawna
    Member
    Posted 5 years ago #

    I will feed you back.
    Thank you vm

  5. schlumpf
    Member
    Posted 5 years ago #

    Hi, I'm having the same problem. I first changed the adresses in Options and then moved the files. But now I can't login anymore (Wrong login/password). How can I fix this?

  6. achilleas
    Member
    Posted 5 years ago #

    Hi, i am also having the same problem. I changed the url's in options and now can't login (reloading of login.php). Any help ?

  7. podz
    Support Maven
    Posted 5 years ago #

    http://www.tamba2.org.uk/wordpress/site-url
    Change the values using phpmyadmin.

  8. achilleas
    Member
    Posted 5 years ago #

    Is there any way of changing the values of the database through the wp files without loging in and without using a mysql client (to which i have no access) ?
    probably not but i am asking all the same.
    podz thanx for the help anyway...

  9. Anonymous
    Unregistered
    Posted 5 years ago #

    Hi, I'm having a similar problem - I copied my site from a test server (http://www.aie.net.au:666/dbmb/) to a new host (www.dbmb.net), and the login is broken. I changed the siteurl and home values in the database with phpmyadmin, but whenever I go to the login page I get the following PHP errors:
    Warning: Cannot modify header information - headers already sent by (output started at /home/tinman/public_html/wp-config.php:37) in /home/tinman/public_html/wp-login.php on line 373
    Warning: Cannot modify header information - headers already sent by (output started at /home/tinman/public_html/wp-config.php:37) in /home/tinman/public_html/wp-login.php on line 375
    Warning: Cannot modify header information - headers already sent by (output started at /home/tinman/public_html/wp-config.php:37) in /home/tinman/public_html/wp-login.php on line 377
    Warning: Cannot modify header information - headers already sent by (output started at /home/tinman/public_html/wp-config.php:37) in /home/tinman/public_html/wp-login.php on line 379
    ... when I put in a valid login and password, I get an error saying "Error: The password field is empty". An invalid password promps "wrong password", and an invalid user prompts "wrong login". I checked the password fields in mysql, and there is data there (base64, is it??).
    Any ideas? Perhaps I munged the SQL import....

  10. podz
    Support Maven
    Posted 5 years ago #

    Whitespace on the mentioned line:
    Warning: Cannot modify header information - headers already sent by (output started at /home/tinman/public_html/wp-config.php:37)
    http://faq.wordpress.net/view.php?p=7

  11. Anonymous
    Unregistered
    Posted 5 years ago #

    ... just noticed that I get similar errors when posting comments to the new site:
    Warning: Cannot modify header information - headers already sent by (output started at /home/tinman/public_html/wp-config.php:37) in /home/tinman/public_html/wp-comments-post.php on line 177
    (plus line 179, 181, 183, 185... up to 201)
    help :(

  12. podz
    Support Maven
    Posted 5 years ago #

    Look up :)

  13. Anonymous
    Unregistered
    Posted 5 years ago #

    Whitespace? oh, OK - I'll check and report back. Thanks!

  14. Anonymous
    Unregistered
    Posted 5 years ago #

    You guys rawk, that fixed it. :) Thanks heaps!

  15. denisg
    Member
    Posted 4 years ago #

    Hi,
    I've installed Wordpress 1.2.1.1 into a subdirectory of the webserver's document root. The subdirectory is just called "wp".
    The install.php worked fine and the database is set up as expected. The problem is when I try to log in.
    All the other files required by wp-login.php are expected to be directly in the root. I get the following error:
    Not Found
    The requested URL /wp-admin/post.php was not found on this server.
    Files are being searched for directly in the root and the "wp" subdirectory is being ignored. I put an "echo ABSPATH;exit;" line into wp-config.php to see if ABSPATH was correct and it is.
    It translates to "/u/htdocs/wp/" which is correct. I tried another install, this time directly into the root and that setup works fine.
    Must wordpress be located directly in the document root?
    thanks in advance,
    Denis

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.