• Miiiii

    (@miiiii)


    Hi. I’ve changed domain name and the subscription on my previous domain name has expired. when the subscription expired I got two problems. every link thas was connected to the old domain name got broken. every picture I had which was connected to the old domain name couldn’t be seen on the homepage.

    how do i handle such a problem? the easiest way was to pay for the old domain name and suddenly the problem was solved (the old domain name is of course redirected to my new domain name) but i don’t want to pay for an domain nane i don’t use anymore?

    i’ve watched some tutorials on youtube but i thougt i might as well could ask here. should i solve this problem in config.php or what? i prefer to solve the problem without a plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • jonimueller

    (@jonimueller)

    Do you have access to the files in your cPanel account with the web host where the domain was originally pointed? Unless you dropped the hosting along with the domain, the files should still be there.

    The only ways I know of to redirect people from the old domain to the new one are (1) use a 301 redirect placed inside an .htaccess file located on the original domain; or (2) if you repurchased the domain, just do a redirect from your registrar. But that isn’t going to solve your problem of broken image links.

    Thread Starter Miiiii

    (@miiiii)

    hi,

    you wrote:

    “Do you have access to the files in your cPanel account with the web host where the domain was originally pointed?”

    I still have the same webhost. I just changed name. what changes should i do in the htaccess-file?

    hi, what you need to do is fix the broken images and links.

    please take full backup and then proceed to install a plugin named velvet blue and fill old and new URL detail in this screen https://wordpress.org/plugins/velvet-blues-update-urls/screenshots/

    let us know if it doesnt work. Dont forgot taking backup of database.
    Thanks,Laliz

    Thread Starter Miiiii

    (@miiiii)

    Do you have access to the files in your cPanel account with the web host where the domain was originally pointed? Unless you dropped the hosting along with the domain, the files should still be there.

    i dont know if i have the old files on the server. i was able to log in on the old domain name but what i could see the files that i came to was the same as on the new domainname. my webhost didnt know either.

    i watched a video which mention this code:

    ReWriteEngine on

    ReWriteCond % {HTTP_HOST} ^olddomainl [NC, OR]
    ReWriteCond % {HTTP_HOST} ^www.olddomain [NC]
    ReWriterule ^(.*)$http:// newdomain/ $1 [L, R=301,NC]

    could that be something? i would like to solve this problemwithout a plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘problem with old domain name vs new domain name’ is closed to new replies.