URL problem

The site crashes when I try to change the URL adresse in minstevann.no.

I change it from http://46.226.13.187/~minstevann to the correct adresse: http:www.minstevann.no

Any suggestions?

Hi there,

It would be best to use Better Search Replace plugin to update the current URL of your site to the new one.

Search for http://46.226.13.187/~minstevann/ and replace it with http://www.minstevann.no.

Make sure to select all of the tables in the plugin setting so that all URLs will be updated and to backup your database before doing anything.

Hope this helps.

That made it disastrously worse !!

I really had to work hard to restore it to status quo.

The DNS is pointing correct. I only want to change the adress in the url in the browsers adress field to minstevann.no. I have done so succesfully on all of my other sites, but this one will not cooperate.

Hi there,

Are you certain that the DNS for http://www.minstevann.no/ is correctly pointed to http://46.226.13.187/~minstevann/?

I have just checked and if you try to acces: http://www.minstevann.no/ it goes to this:

If it is properly configured, if you try to access http://www.minstevann.no/, it should redirect to http://46.226.13.187/~minstevann/ and not on a different site. Once the main domain properly pointed to the development site. You can then login to the dev site and go to Settings > General and edit the site URLs there.

You will be initially logged out after updating the URL of the site in the settings page and you will need to update the all the URLs on the site to the new one.

I have one more site which is impossible to redirect. I have checked the DNS and it points correct.
Is it possible for you to check the reason for this problem too?

http://46.226.13.187/~nutrimarine

I want it to be: htttp://www.nutrimarine.no

Hi There,

Please follow our migration guide here (https://theme.co/apex/forum/t/cornerstone-content-builder-migration/126) which will cover all the major steps that you need to perform, that is even when you need to change the URL.

Hope that helps.

This has nothing to do with Cornestone or Pro og migrating to new domains.
I am performing a DNS redirection which have worked fine on many sites before. I have however had problems with 2 sites which act differently and have separate problems.

I only like to have nutrimarine.no as the url-adress instead of 46.226.14.187/~nutrimarine.

I make my sites initially with the 46 adress and reroute the DNS at launch. This works ok all the times, but for these 2.

Hello @kludrik,

Apologies for the confusion.

I just did a DNS lookup on https://mxtoolbox.com and it seems that http://www.minstevann.no/ point to 89.221.244.233. Whereas www.nutrimarine.no point is pointing correctly to 46.226.13.187.

For minstevann.no I think you need to recheck the DNS configurations. Regarding nutrimarine.no, I tried changing the URL Settings > General > WordPress Address (URL) and Site Address (URL) but it seems that after doing so, URL’s won’t change. Can you please try adding following line of code in wp-config.php file. Basically we are trying to hard code the url:


define('WP_HOME','http://www.nutrimarine.no/');
define('WP_SITEURL','http://www.nutrimarine.no/');	

You can take a look at following article on editing wp-config.php file:

Thanks.

Now its not possible to get to nutrimarine.no at all anymore. When I do as you suggest I get:

Fatal error: Call to undefined function update_option() in /home/nutrimarine/public_html/wp-config.php on line 2

Hi,

In that case, please provide us your ftp/cpanel login in Secure Note

Thanks

Here the data:

Hi there,

The question is, why do you have update_option() in your wp-config.php? It’s a config file. Please remove any code from your wp-config.php that isn’t related to configuration. The above instruction doesn’t contain any update_option(). I also recommend contacting a web master to help you with your hosting and configuration issues.

The other reason why it’s not working is, the account for nutrimarine.no doesn’t exist. Try logging in in your WHM as root and go to Account Information > List Account and search for domain nutrimarine.no. It’s not there, what’s there is nutrimarine.com.

Thanks!

I have removed the DNS pointing at the site provider of nutrimarine.no, and replaced it with www forwarding. This works to the degree that I now can login to the site in wordpress. However the page do no load in the browser. I get this error message:

Fatal error: Call to undefined function x_get_view() in /home/nutrimarine/public_html/wp-content/themes/x/page.php on line 17

I am not getting the theme configuration tool to work correctly. It delivers the same error message as above.

I have instructed the provider of nutrimarine.com to try to fix the DNS (wich seems to point correctly to 46.226.13.187/~nutrimarine. Pt this directing do not work.

Hi There,

I’ve manually updated the X theme and Cornerstone plugin and this issue has been fixed.

You should ask them to change DNS. The forwarding will not work.

Regards!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.