• Resolved rothaar

    (@rothaar)


    I’ve created a subdomain to redesign and test my website. I’ve followed a post I found on the internet which said:

    I recommend creating a subdomain like dev.yourdomain.com or staging.yourdomain.com. Password protect the directory so no one ends up on the wrong site and there’s no chance search engines will crawl it.

    Copy all your files to the subdomains folder, most hosting control panels just create a folder in your main website for subdomains so you can do this in the file manager. Otherwise, download a copy and upload it to the subdomain’s folder.

    Export your database using PHPmyAdmin, create a new database and import the data into the new database. After you import the data find the wp_options table and edit homeurl and siteurl to be dev.yourdomain.com.

    Edit wp-config.php on the dev site to use the new database, user and password.

    You should be all set with your dev site at this point and you’ll keep your current settings and content so you don’t end up with a bunch URL changes.

    I’ve done all that and my website loads when I enter the subdomain url, but all the links are still linked to the original site and so is the WordPress login page, i.e. I cannot log into the WordPress installation on my subdomain. How can I solve this?

    Thank you.

    K.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Website Redesign On Subdomain’ is closed to new replies.