Viewing 8 replies - 1 through 8 (of 8 total)
  • http://go.rvoodoo.com/WPurl
    has lots of info about moving WP

    http://codex.wordpress.org/Moving_WordPress
    is the codex entry

    you basically need to move WP to a wordpress folder

    Thread Starter andreasdk

    (@andreasdk)

    WordPress is lying in a subfolder.

    http://www.burningbush.dk/wordpress

    so you want it to run from root? like domain.com?

    The above links still work, you would need to move from /wordpress to root

    You can either move everything, or leave most of the stuff in /wordpress but run from root
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    has info, but if you need clarification, my link above will help there too

    Thread Starter andreasdk

    (@andreasdk)

    Woops!

    Now it all went bad…

    you haven’t finished moving it…. but I’m not sure which instructions you are following are you moving it entirely, or trying to leave it in /wordpress but run from domain.com?

    No need to worry, it will be an easy fix, and none of your content is at risk

    Thread Starter andreasdk

    (@andreasdk)

    I`d prefer to leave it in /wordpress.

    I have changed the URLS in the admin panel to burningbush.dk
    Unfortunately it won`t let me login through http://burningbush.dk/wordpress/wp-login.php
    When I try it goes to http://burningbush.dk/wp-login.php and says that the link is broken.

    did you do all the steps properly? You need to move index.php out of /wordpress and put it into root (html, public_html) folder

    And you need to make a minor edit to it

    Also, you should only have edited one url You will need to fix that in the database

    Did you read the articles I linked to? They are quite specific…

    wordpress url should be http://burningbush.dk/wordpress
    site address url should be http://burningbush.dk

    These are all the steps exactlty for what you are trying to do:

    Leave WordPress URL set to the location of your files (like http://domain.com/wordpress)

    Change the Site Address URL to root (http://domain.com)

    Save Changes, Do not worry about any error messages you may get, or anything acting up)

    Copy your index.php (the WordPress main one, not the one in your theme) and .htaccess files (you will only have one if using pretty permalinks) to root (html, public_html)

    Open the index.php file you just copied to root in a text editor
    Find the line require(‘./wp-blog-header.php’);
    Edit that to read require(‘./wordpress/wp-blog-header.php’);

    Now you can login to your admin section, it’s important to note that your site is now accessible at domain.com, however your admin section still runs from domain.com/wordpress/wp-admin

    Head to the permalinks menu and update your permalinks. You may need to save them to default then back to custom

    Thread Starter andreasdk

    (@andreasdk)

    The index.php and .htaccess are now copied to / and index.php is edited as described.

    However it still won`t let me log in from http://burningbush.dk/wordpress/wp-login.php

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Redirect to subfolder’ is closed to new replies.