logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$8
Domain Aliase

Hi! I did a new wp-installation on my server with the url 'www.dundakova.net', then I did creat a domain alias to reach the site 'http://www.dundakova.design-studio-basel.ch' as long i'm working on it.

Now all functions are workink but it's not directing to the right css an js, it's still leading to 'www.dundakova.net'.

Is it a problem of the settings or the provider?

The original domain http://www.dundakova.net/ runs on a diffrent server.

Thanks

This question has been answered.

Simone Fuchs | 09/13/11 at 3:11pm Edit


(1) Possible Answers Submitted...

See a chronological view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    09/13/11
    3:18pm
    John Cotton says:

    Are you sure that the old domain is not hard coded in header.php?

    Also, have you changed the domain on the Dashboard > Settings > General page?

    Finally, it could be something left in the database (perhaps by the theme) in which can you need to have a look at the theme settings or dig into the database itself. If you'd only just started, it won't be very big.

    • 09/13/11 3:39pm

      Simone Fuchs says:

      Hi, I did checked the database again and yes, there was still the old url in wp-options.

      I did change the url and now it's all working. When I'm done, I can just change the url back again and all the files and links have the corect (new) address?

    • 09/13/11 3:43pm

      John Cotton says:

      Not quite...

      Anything that's in the theme that comes from functions (eg get_bloginfo(), get_stylesheet_directory_uri() etc will be fine.

      But media uploads and any links you hard code in posts will have to be changed as those are in database tables which don't get updated.

      Generally it's the wp_posts table that needs updating and a simple SQL REPLACE statement does the job.

This question has expired.



Simone Fuchs voted on this question.



Current status of this question: Completed



Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.