Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Toke on
Hi All,
I have a problem with my site since i moved it from my sub domain to my main domain.
it seems like it still pulls info from my sub domain;
link rel="dns-prefetch" href="//test.founthouse.dk" /
Should be
link rel="dns-prefetch" href="//founthouse.dk" /
And
link href="http://test.founthouse.dk/sites/all/themes/responsive_mytheme/font-aweso..." type="text/css" rel="stylesheet"
Should be
link href="http://founthouse.dk/sites/all/themes/responsive_mytheme/font-awesome/cs..." type="text/css" rel="stylesheet"
how can i change this?
Kind Regards Toke
Comments
Let me know
Hello,
Let me know you are using same database for live domain?
Database
yes the database is the same.
You need
Hello,
You need to replace http://test.founthouse.dk with http://founthouse.dk from the database.
I'm looking
I'm looking, but havn't found it anywhere so far. thanks for pointing me in the right direction though!
Kind Regards
How are you adding the links
How are you adding the links in the first place?
i didn't..
I didn't add it, it was a part of the theme, i think.
Then you've posted in the
Then you've posted in the wrong section of the forum. This section is for code questions.
You can move the thread by editing the original post.
what section would be
what section would be appropriated?
Post Installation.
Post Installation.
I looked
I searched the database for test.founthouse but the only result was in watchdog.
Empty
Hello,
Empty watch dog table. Clear cache form admin>configuration>Performance
half way
That fixed the DNS link but not the
"link href="http://test.founthouse.dk/sites/all/themes/responsive_mytheme/font-aweso..." type="text/css" rel="stylesheet""
=-=
clear the cache tables in the database.
Sorry
That did not help...
Check $base_url
Hello,
Check $base_url path in sites/default/settings.php file
Nope
I didn't find the test in the document. I searched the entire FTP, without finding the test.founthouse code.
Can you
Hello,
Can you please verify server cache if they're enabled, then flush it.
Flused
The Sever is flushed and the DB is truncated.
Can you
Hello,
Can you please check again responsive_mytheme/templates/html.tpl.php file.
Yes
It's not there either. It's so frustrating because i get a 404 on all pages :/ I know i could just create the folder but I would rather not. Thx for helping btw!!
I FOUNT IT!
It WAS in html.tlp.php! didn't show up in search, might have been that i kept opening an old file.
Thank you a lot!