Tagged: x
-
AuthorPosts
-
August 20, 2016 at 4:01 pm #1139723
kludrikParticipantI have purchased hotellnorgebergen.no and hotellnorgebergen.com. I want both names to direct to my x-site hotellnorgebergen.no. hotellnorgebergen.no works fine, – .com do not. Both names DNS points to the correct IP.adress.
I have tried to write these sentences into “function.php” in the x-child theme:
update_option( ‘siteurl’, ‘http://hotellnorgebergen.no’, ‘http://hotellnorgebergen.com’ );
update_option( ‘home’, ‘http://hotellnorgebergen.no’, ‘http://hotellnorgebergen.com’ );It does not work. hotellnorgebergen.com will not route to hotellnorgebergen.no
Any suggestions?
August 21, 2016 at 4:11 am #1140138
Rue NelModeratorHello There,
Thanks for writing in!
This request is way beyond the scope of our support. This is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.
This needs a little configuration within your WordPress functions.php file. Please use this instead:
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']); define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);Please check out this article:
https://wordpress.org/support/topic/use-multiple-domains-on-one-wordpress-site-keep-pagerank-when-movingThank you for your understanding.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1139723 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
