Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

Help with an 'accident' site/url change on existing site?

         

Gemini23

11:42 pm on Sep 10, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Anyone able to help

The wordpress installation (and has been for several years) is in a folder with the root of the domain being set as a single html page (Not ideal but it has worked ok)

I understand that I could get the WordPress content from the folder to display as the root/front page etc

BUT I MISTAKENLY amended the WordPress url to be the SAME as the Site URL
Immediately this caused an error... and while I tried to edit it back to be as it was the error was done.

I am now not able to get it back to how it was.
I have been on to Siteground hosting who have reinstalled database and file backups from yesterday (ie before) but it doesn’t make any difference.

I have logged into the relevant database and file name wp_options - and checked that the SITE and HOME are as they should be and they are - ie both showing the folder.

Via a browser - chrome etc - The folder/url where the wordpress should be doesn't display correctly and I can see that some of the css/js resources are going straight to the root.
I can see the login etc but when I click login it refreshes to show the wp-login at the root and doesn't access the wordpress admin panel?

I haven't posted the url but IF anyone is able to help then happy to dm or display here?

Help anyone?

TorontoBoy

12:05 am on Sep 11, 2018 (gmt 0)

5+ Year Member Top Contributors Of The Month



I'm not exactly sure of your issue. My original recommendation will not solve your issue.

read this WP codex: [codex.wordpress.org...] and look for a redirect or a subdomain or aubdirectory install

not2easy

1:05 am on Sep 11, 2018 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Showing WP as if it was in the root directory when it is in another folder is covered step by step here: [codex.wordpress.org...]

If possible. look at the settings in your htaccess and in the Admin > Settings file - and in the wp-config.php file. Some of that can be done via ftp.

Gemini23

9:32 am on Sep 11, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks - what I don't understand is why when I restore backups before the issue occurred doesn't resolve it...

Gemini23

10:11 am on Sep 11, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



RESOLVED - Contacted Siteground again and another techie did a restore and all now working again...