WordPress.org

Ready to get started?Download WordPress

Forums

Navigation Menu in Cloned blog links back to old blog (10 posts)

  1. sean_patrick
    Member
    Posted 2 years ago #

    Dear knowledgeable people,

    I humbly seek your advice:

    I've cloned a blog in order to test some changes.

    Everything works fine except for the navigation menu. Certain pages (not all though) link back to the old blog. The strange part is the url is showing the address for the new blog but when you click the link it redirects you to the old blog.

    The wordpress address and site url are up to date in the general settings.

    Any help would be most appreciated.

    -Sean

  2. MartinW70
    Member
    Posted 1 year ago #

    Having the same problem, cloned site links to old site. Any suggestions?

    Martin

  3. cinghaman
    Member
    Posted 1 year ago #

    you would have to update site_url on phpmyadmin did you do a proper search and replace on your DB ?

  4. MartinW70
    Member
    Posted 1 year ago #

    Hi Robin,

    So far I just cloned the site with "installatron". I have a working wordpress site in http://www.sitename/wp. Now I want a testsite (clone) in http://www.sitename/test/wp.
    When I install a search & replace plugin, can I just search for sitename/wp and replace with sitename/test/wp?
    I don't want to screw things up ;-)

  5. cinghaman
    Member
    Posted 1 year ago #

    i havnt used installatron but does this mean that both your site are using same database ?

  6. MartinW70
    Member
    Posted 1 year ago #

    No, there are 2 different installations of WordPress, database_wp1 and database_wp2.

  7. cinghaman
    Member
    Posted 1 year ago #

    so which ever the database is setup for your cloned site, use a DB script to search and replace

  8. cinghaman
    Member
    Posted 1 year ago #

    backup before doing so though

  9. MartinW70
    Member
    Posted 1 year ago #

    Hi Robin,
    I used search & replace, but links still did not work, although when hovering the mouse over the links, the path seemed correct.
    After some more reading in this forum I changed the permalinks from "year-month-day-name" to "standard"
    Problem solved!

    Thanks for your help!

  10. cinghaman
    Member
    Posted 1 year ago #

    cool

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags