WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Domain change: redirect works only on homepage (2 posts)

  1. Hans Christian
    Member
    Posted 5 months ago #

    Hi!

    I'm trying to move the domain "ca.academyofartbarcelona.com" to "academiadartbarcelona.cat".

    As you can see, the redirect works only in the homepage :-S According to the Codex, the things I've done until now are:

    1. Change the WordPress and site URL in the General settings menu
    2. Replaced all database entries from "ca.academyofartbarcelona.com" to "academiadartbarcelona.cat" with the plugin Search & Replace
    3. Checked the .htaccess. WordPress has made this changes automatically and I think is all right:
      RewriteCond %{HTTP_HOST} ^ca\.academyofartbarcelona\.com$ [OR]
      RewriteCond %{HTTP_HOST} ^www\.ca\.academyofartbarcelona\.com$
      RewriteRule ^/?$ "http\:\/\/academiadartbarcelona\.cat\/" [R=301,L]

    But, by checking the URLs outside the home at Google, you can see that there's no redirection working. For example:

    http://ca.academyofartbarcelona.com/professors/

    It still works! And it should be redirected to http://academiadartbarcelona.cat/professors/

    What's happening? What I'm doing wrong? :-S

  2. Tara
    Member
    Posted 5 months ago #

    I'm trying to move the domain "ca.academyofartbarcelona.com" to "academiadartbarcelona.cat".

    Review this WP codex guide: http://codex.wordpress.org/Moving_WordPress#When_Your_Domain_Name_or_URLs_Change

Reply

You must log in to post.

About this Topic