Support » Plugin: Duplicator - WordPress Migration Plugin » search issue after restore

  • Resolved carlytx

    (@carlytx)


    This is probably minor but I can’t figure it out. After we did a backup and restored into a different directory everything seems to work with the exception of the search.

    Originally we thought this was an issue with the search plugin we were using but we deactivated it and deleted it and the problem is still there with the standard WP search which we have in one of the sidebars.

    The problem is that when we do a search the first page of results displays correctly but when we click on the link to retrieve the next page it displays the home page due to some redirect issue.

    First page of results shows as this:

    http://oursite.com/?s=news and returns the results correctly

    clicking on the retrieval of the second page of results shows this:

    http://oursite.com/page/2/?s=news but displays the home page of the site.

    (note I just changed our actual domain name to oursite)

    The search works correctly on the original site. So I think that after the restore into a different directory some path is not set correctly.

    Also noticed one other thing. Once the backup is restored all the links in pages and posts are changed correctly to reflect the new domain. However we have some links embedded in footer.php that are not changed. I don’t know if this is by design or something that should be changed. Its not a big deal we can go in and change these manually if necessary.

    http://wordpress.org/extend/plugins/duplicator/

Viewing 15 replies - 1 through 15 (of 15 total)
  • One thing I forgot to mention. The permalinks are set to post name. If I change that to default the search results for multiple pages works but with the permalinks set to post name it does not.

    Plugin Author Cory Lamle

    (@corylamleorg)

    Hey Carlytx,

    I would double check the .htaccess file from before you duplicated and after just to compare the differences. Sometimes what you have to do with those plugins that write to the .htaccess is just re-save the settings.

    As far as the footer issue. The plugin only updates the database, the wp-config.php and your .htaccess file if you have one. Any mods to theme files you will need to update separately…

    Hope that helps

    Just checked .htaccess and the only difference is that the lines in bold do not exist in the restored version. I put them in but it didn’t make a difference in the search. I will try to resave the settings on all plugins.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    <IfModule mod_php5.c>
    php_value memory_limit 999M
    </IfModule>

    # END WordPress

    Plugin Author Cory Lamle

    (@corylamleorg)

    Hey Carlytx,

    Did you ever isolate the issue for this?

    Thxs

    I have not been able to figure this out. It is not a major issue for us at the moment because the restore we are doing is just for testing. But it would be good to figure out why this happened. It must have something to do with permanlinks since as I indicated above when you change to the default permalink instead of post name it works.

    My guess is that it may also have something to do with the fact that we are restoring into a different domain.

    One of the people I work with posted this issue as a general question in the troubleshooting forum a couple of days ago but did not receive any response. I also noticed that this issue has been raised several times over the last few years and I didn’t see any resolution to the problem.

    Plugin Author Cory Lamle

    (@corylamleorg)

    Looks like it may be related to your pagination settings possibly. This thread might help…

    I’ll take a look but I don’t think this is it since it works without a problem on the original site.

    All I did was do a backup and restore it into another directory (different domain name) and it does not work as long as the permalinks are set to post name.

    Plugin Author Cory Lamle

    (@corylamleorg)

    If you want to submit a support ticket I can look closer at it for you…

    Cheers!

    what do we have to do to submit a ticket?

    Plugin Author Cory Lamle

    (@corylamleorg)

    Visit: support.lifeinthegrid.com

    thanks just sent it in

    Plugin Author Cory Lamle

    (@corylamleorg)

    Sounds good will get with you shortly…

    Plugin Author Cory Lamle

    (@corylamleorg)

    Issue was resolved with version 0.4.2…

    thanks again. is the beta version I downloaded the same as the final version or do we have to downloaded it again?

    Plugin Author Cory Lamle

    (@corylamleorg)

    I would download it again when it comes out, just in-case anything was adjusted during the testing phase…

    Thxs

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘search issue after restore’ is closed to new replies.