WordPress.org

Ready to get started?Download WordPress

Forums

Duplicator
[resolved] search issue after restore (16 posts)

  1. carlytx
    Member
    Posted 1 year ago #

    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/

  2. carlytx
    Member
    Posted 1 year ago #

    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.

  3. Cory Lamle
    Member
    Plugin Author

    Posted 1 year ago #

    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

  4. carlytx
    Member
    Posted 1 year ago #

    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

  5. Cory Lamle
    Member
    Plugin Author

    Posted 1 year ago #

    Hey Carlytx,

    Did you ever isolate the issue for this?

    Thxs

  6. carlytx
    Member
    Posted 1 year ago #

    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.

  7. Cory Lamle
    Member
    Plugin Author

    Posted 1 year ago #

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

  8. carlytx
    Member
    Posted 1 year ago #

    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.

  9. Cory Lamle
    Member
    Plugin Author

    Posted 1 year ago #

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

    Cheers!

  10. carlytx
    Member
    Posted 1 year ago #

    what do we have to do to submit a ticket?

  11. Cory Lamle
    Member
    Plugin Author

    Posted 1 year ago #

    Visit: support.lifeinthegrid.com

  12. carlytx
    Member
    Posted 1 year ago #

    thanks just sent it in

  13. Cory Lamle
    Member
    Plugin Author

    Posted 1 year ago #

    Sounds good will get with you shortly...

  14. Cory Lamle
    Member
    Plugin Author

    Posted 1 year ago #

    Issue was resolved with version 0.4.2...

  15. carlytx
    Member
    Posted 1 year ago #

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

  16. Cory Lamle
    Member
    Plugin Author

    Posted 1 year ago #

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

    Thxs

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic