Title: Problem with URL
Last modified: August 21, 2016

---

# Problem with URL

 *  Resolved [JAVOB](https://wordpress.org/support/users/javob/)
 * (@javob)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-url-7/)
 * Hello,
 * Great plugin, works but has a little flaw, to restore the database I noticed 
   that the url for not ending in M ie instead of ending [http://www.mydomain.com](http://www.mydomain.com)
   ended at [http://www.mydomain.co](http://www.mydomain.co)
 * I think the problem lies in the conditional of line 24 of file “edbfnd.php” complirse
   that removes the last character.
 * You hope you can fix it.
 * Good job.
 * Greetings.
 * [https://wordpress.org/plugins/export-db-to-a-new-domain/](https://wordpress.org/plugins/export-db-to-a-new-domain/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [shibi](https://wordpress.org/support/users/shibi/)
 * (@shibi)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-url-7/#post-4967393)
 * Hi,
 * Thanks I fixed it.
    Line 24 was the problem it should be
 * `if(substr($this->new_site, -1) == "/") {`
 * Anyway thanks again for notice and report this 🙂
 * Greetings.
 *  Thread Starter [JAVOB](https://wordpress.org/support/users/javob/)
 * (@javob)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-url-7/#post-4967441)
 * I’m glad you’ve solved.
 * Greetings.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem with URL’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/export-db-to-a-new-domain.svg)
 * [Export DB to a new domain](https://wordpress.org/plugins/export-db-to-a-new-domain/)
 * [Support Threads](https://wordpress.org/support/plugin/export-db-to-a-new-domain/)
 * [Active Topics](https://wordpress.org/support/plugin/export-db-to-a-new-domain/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/export-db-to-a-new-domain/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/export-db-to-a-new-domain/reviews/)

## Tags

 * [data-base](https://wordpress.org/support/topic-tag/data-base/)
 * [export](https://wordpress.org/support/topic-tag/export/)

 * 2 replies
 * 2 participants
 * Last reply from: [JAVOB](https://wordpress.org/support/users/javob/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-url-7/#post-4967441)
 * Status: resolved