• Resolved Priccen

    (@priccen)


    Hi
    I have developed a testsite and now it is time to go official.
    My permalinks are in form “https://whm19.louhi.net/~soviosov/2016”
    but I want them to get the official form “sovio-sovelius.com”
    In my webbhotel I have created a .htaccess that redirect from the old site to the new: “sovio-sovelius.com” but the permalinks is still https://whm19.louhi.net/~soviosov/2016/…
    I dont want to mess anymore with the site and want to know how to change the permalinks.
    As I understand I could use either .htaccess or some Pluguin, but I am not sure wich one nor how to do it. Please Help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • When Moving from test Sites to Main sites
    All the Text widget that you have add will get lost,So you have to take a Backup of the text Widget you have created

    You need to change the Url from the Cpanel of the Server

    First Export the DB an then make a copy of the DB ( For Safety )

    Then you need to change the OLD_URL to NEW_URL

    an then import it again to the Phpmyadmin

    Then Login to admin section
    Goto Setting->permalink and set the permalink again

    Thread Starter Priccen

    (@priccen)

    Hi
    Now I had time to try to fix the problem.
    I tried to export, change, an import via phpMyadmin.
    Logged out from WP, Created an exportfile, changed it and imported the changed file. I got Akismet error.
    Tried again, after I deaktivated Akismet Plugin.
    Now I get the following error:
    Fel
    SQL-fr?ga:

    — Dumpning av Data i tabell wp_commentmeta

    INSERT?INTO?wp_commentmeta?(?meta_id?,?comment_id?,?meta_key?,?meta_value?)?
    VALUES?(?1,?2,?‘akismet_error’,?‘1458718980’?)?,?(?2,?2,?‘akismet_history’,’a:4:{s:4:”time”;d:1458718980.49205493927001953125;s:5:”event”;s:11:”check-error”;s:4:”user”;s:14:”soviosov_Pricc”;s:4:”meta”;a:1:{s:8:”response”;s:7:”invalid”;}}’)?;
    MySQL sa:?
    #1062 – Duplicate entry ‘1’ for key ‘PRIMARY’?

    I can’t figure out how to solve the error. It will not update the database due to the error.

    I am glad for more help

    Thread Starter Priccen

    (@priccen)

    Hi
    I did not know that I need to empty all tables in MySql-database before I imported.
    That was my problem.
    Thanks to “harimay” and “girlieworks”

    I want to close this as resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to change permalinks from test to official’ is closed to new replies.