Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter kaspara

    (@kaspara)

    That leads me to

    404 Error: Not found

    The page you trying to reach does not exist, or has been moved. Please use the menus or the search box to find what you are looking for

    I’m absolutely sure I havent changed more files than I should have, and I have the right files copied..

    Any thoughts?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What’s teh REAL URL of your site?

    Thread Starter kaspara

    (@kaspara)

    tkselsvold.com

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Okay.

    If you look at https://tkselsvold.com/myblog/wp-login.php

    You can see the UNFORMATTED screen. That is pointing to https://tkselsvold.com/wp-admin/css/login.css?ver=20110610

    instead of https://tkselsvold.com/myblog/wp-admin/css/login.css?ver=20110610

    That means your files are still in myblog (GOOD!)

    What’s in the .htaccess file in the tkselsvold.com folder, and what’s in the index.php file in that same location?

    Thread Starter kaspara

    (@kaspara)

    At least I’ve done something right! ??

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

    And the index.php is

    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require(‘./myblog/wp-blog-header.php’);
    ?>

    And thank you so much for the help so far, I really appreciate it.

    Thread Starter kaspara

    (@kaspara)

    I dont really get it, but with the correct thing to put in the index file that you wrote for me earlier, and changing BOTH URLs:

    define(‘WP_HOME’,’https://tkselsvold.com/myblog&#8217;);
    define(‘WP_SITEURL’,’https://tkselsvold.com/myblog&#8217;);

    Fixed everything for me! The wordpress is on the .com, and admin and theme works well.

    Makes me wonder why it breaks when I do it like the guide says, but I’ll just keep it like this then! ?? Thanks so much for your patience and advice ??

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Trying to change the location of wordpress to mydomain.com’ is closed to new replies.