Changing the Site URL from sub dir. to root dir.
-
I’ve done all the basic changes that are required when you move a WordPress installation from a sub directory to the root directory.
added lines to wp-config.php
define('WP_HOME','https://example.com'); define('WP_SITEURL','https://example.com');
I transfers the files to root Directory, and
I only got the home page up, all the other pages direct to sub directorys 404 error page. I also can’t access the dashboard.I even tried replacing the .htaccess file you had with the default .htaccess file for WordPress, but that too didn’t fix the issue. I checked and confirmed that ymy siteurl and home url are pointed to my domain root directory and not to the sub-directory.
Any way to correct this?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Changing the Site URL from sub dir. to root dir.’ is closed to new replies.