• I want to move my existing page
    bliss-box/net
    to my new location.
    http://spawnlinux.ddns.net/newsite/wordpress/

    Here I will make a new page, so the first thing I did was a back up of my site and I set everything up on the new domain ( linux ) I used the same wp-config for the DB and user and two things confuse me.

    1, when I go to http://spawnlinux.ddns.net/newsite/wordpress/ my tabs above try to go to folder that do not exist. Also I have the site configured to go to a main tab instead of the blog. Looks like that is also not found. I would have expected the back up to copy the entire site. I can not see my existing site because it is hosted on WP itself. I want to understand why those tabs go nowhere.

    2. if I go to http://spawnlinux.ddns.net/newsite/wordpress/wp-admin it tries to forward me to the original Bliss-Box.net site. I tried via local IP, domain name, and external IP. So I’m sure its not a DNS issue, and lost as to why it would do that.




    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must also adjust the domain in the project when moving. Have a look at this article:

    Moving WordPress

    Thread Starter ulao

    (@ulao)

    Looks like I missed that part but I’m unsure what to put in there.

    define(‘WP_SITEURL’,’http://spawnlinux.ddns.net/newsite/wordpress’);

    I’d guess but that causes the site to load for a very long time and then say “Oops! That page can’t be found.” I still am confused on where the tabs (pages) go to? There needs to be a landing page of file for the url to work.

    also appending wp-admin to the end foes to a login screen and then I get “An error occurred during a connection to spawnlinux.ddns.net.” and I see its trying https ? I so no have a secure test site. I saw this in the qp-login

    wp_safe_redirect( ‘https

    but changing to wp_safe_redirect( ‘http didnt fix it.

    I also read about define(‘FORCE_SSL_ADMIN’, false); but that didnt fix it.

    • This reply was modified 1 year, 1 month ago by ulao.
    • This reply was modified 1 year, 1 month ago by ulao.
    • This reply was modified 1 year, 1 month ago by ulao.
    • This reply was modified 1 year, 1 month ago by ulao.
    • This reply was modified 1 year, 1 month ago by ulao.
    Thread Starter ulao

    (@ulao)

    accidental post, can’t find remove option.

    • This reply was modified 1 year, 1 month ago by ulao.

    The error message indicates that your web server does not know how to handle the call – probably the .htaccess file that controls access is missing (if you have Apache) OR the configuration in nginx for this. As soon as you get into the backend, you can generate the htaccess file under Settings > Permalinks. I would therefore recommend that you first make sure that you can reach the backend. To do this, you must enter the domain under which your project is running. I think

    define('WP_SITEURL','http://spawnlinux.ddns.net/newsite/wordpress');

    in the wp-config.php would be correct. I’m currently getting a response with content there, but it’s extremely slow.

    Thread Starter ulao

    (@ulao)

    yeah I think the server is just slow. I also just restored my DB because I wanted to attempt this again and now I’m getting redirected again. I do have

    define(‘WP_SITEURL’,’http://spawnlinux.ddns.net/newsite/wordpress’);

    FYI: this site is adding that prefix, but its the same as you typed.

    in my config. So I’m stuck again, with the redirrect. This is just a linux box were I installed wordpress. I copied the .htaccess from the backup, do I need to make my own?

    The backend is on my network I can get to it via. 192.168.0.19, but going there also redirrects me.

    If by backend you mean the wp admin. I use
    http://spawnlinux.ddns.net/newsite/wordpress/wp-admin
    this goes to a login, and then it redirects back to the spawnlinux but adds the s. to http. Still can not fix that. Viewing the page source is created all https’s
    href=’https://spawnlinux.ddns.net….

    from my DB

    mysql> SELECT * FROM wp_options WHERE option_name = ‘home’;
    +———–+————-+———————————————-+—— —-+
    | option_id | option_name | option_value | autol oad |
    +———–+————-+———————————————-+—— —-+
    | 2 | home | http://spawnlinux.ddns.net/newsite/wordpress | yes |
    +———–+————-+———————————————-+—— —-+
    1 row in set (0.00 sec)

    mysql> SELECT * FROM wp_options WHERE option_name = ‘siteurl’;
    +———–+————-+———————————————-+—— —-+
    | option_id | option_name | option_value | autol oad |
    +———–+————-+———————————————-+—— —-+
    | 1 | siteurl | http://spawnlinux.ddns.net/newsite/wordpress | yes |
    +———–+————-+———————————————-+—— —-+
    1 row in set (0.00 sec)

    • This reply was modified 1 year, 1 month ago by ulao.
    • This reply was modified 1 year, 1 month ago by ulao.
    • This reply was modified 1 year, 1 month ago by ulao.
    • This reply was modified 1 year, 1 month ago by ulao.
    • This reply was modified 1 year, 1 month ago by ulao.
    • This reply was modified 1 year, 1 month ago by ulao.
    Thread Starter ulao

    (@ulao)

    wow, so my pc is doing this to me? I checked my host file but that is not it. I used another PC and it does not redirrect, but the page is missing something. Also the tabs still go to a none exist location. really confused about that one. Also the wp-admin still wants to put in a https

    • This reply was modified 1 year, 1 month ago by ulao.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘moving to a new server need help’ is closed to new replies.