Title: wordpress URL lost
Last modified: February 8, 2017

---

# wordpress URL lost

 *  [giuliabigini](https://wordpress.org/support/users/giuliabigini/)
 * (@giuliabigini)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-url-lost/)
 * Hi,
 * I made a uge mistake: I cancelled my wordpress URL from setting. Now I can’t 
   access to my website and it gives to me:
 * Not Found
 * The requested URL /wp-login.php was not found on this server.
 * What should I do? There’s any easy why? I’m not practice in that!
 * Thank you so much!
 * web site: www/tradercom.it/PROVA

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

 *  [j09](https://wordpress.org/support/users/j09/)
 * (@j09)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-url-lost/#post-8770044)
 * Hello [@giuliabigini](https://wordpress.org/support/users/giuliabigini/)
 * Try and see if following this solves the issue
 * [Can’t login after changing domain name](https://www.youtube.com/watch?v=KzhFJAXj2yA)
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-url-lost/#post-8770108)
 * – Access phpMyAdmin on your host, then check the wp_options Table (Note: The 
   table prefix of wp_ may be different if you changed it when installing), and 
   make sure **siteurl** field and **home** field are correct. See [https://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database](https://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database)
 *  [Shariq Khan](https://wordpress.org/support/users/shariqkhan2012/)
 * (@shariqkhan2012)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-url-lost/#post-8776366)
 * If you have access to wp-config.php, then add these two lines to your wp-config.
   php:
 *     ```
       define('WP_HOME','http://www.tradercom.it/PROVA');
       define('WP_SITEURL','http://www.tradercom.it/PROVA');
       ```
   
 * It is important that you make a copy of wp-config.php before making any changes.
 * You have to add those lines towards the end, just before the comment which says:
   `"
   <strong>/* That's all, stop editing! Happy blogging. */</strong>"`
 * You would now be able to login to your site. Once you have logged in, go to the
   _Settings_ page and set the url again.
    Now you can safely remove the lines you
   had earlier to the wp-config.php
 * After removing the lines, check that you are able to login again.
 *  Thread Starter [giuliabigini](https://wordpress.org/support/users/giuliabigini/)
 * (@giuliabigini)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-url-lost/#post-8776833)
 * Hi,
 * Thank you everybody!
 * [@t-p](https://wordpress.org/support/users/t-p/) and [@j09](https://wordpress.org/support/users/j09/)
   
   The table prefix is definitely not wp but wor2787 (no idea what it means) the
   site URL and home URL file I think are right:
 * Site URL is: [http://tradercom.it/tradercom.it/PROVA](http://tradercom.it/tradercom.it/PROVA)
   
   Home URL: [http://tradercom.it/tradercom.it/PROVA](http://tradercom.it/tradercom.it/PROVA)
 * Is that right?
 * [@shariqkhan2012](https://wordpress.org/support/users/shariqkhan2012/)
    in my
   phpmyadmin I can’t find the wp-config.php but I have it in my filezilla… Should
   I change it from filezilla?
 * Thank you again <3
 *  [Shariq Khan](https://wordpress.org/support/users/shariqkhan2012/)
 * (@shariqkhan2012)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-url-lost/#post-8776969)
 * Yes, you have to do it from FilZilla
 *  Thread Starter [giuliabigini](https://wordpress.org/support/users/giuliabigini/)
 * (@giuliabigini)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-url-lost/#post-8782446)
 * Hi!
 * Sorry again.
    [@shariqkhan2012](https://wordpress.org/support/users/shariqkhan2012/)
   I did what you succested me and something has changed but know if I sourch for
   [http://tradercom.it/tradercom.it/PROVA](http://tradercom.it/tradercom.it/PROVA)
 * This message ccomes out, what does it mean?
    Warning: require(/home/traderco/
   www/tradercom.it/PROVA/wp-includes/random_compat/random.php) [function.require]:
   failed to open stream: No such file or directory in /home/traderco/www/tradercom.
   it/PROVA/wp-includes/compat.php on line 435
 * Fatal error: require() [function.require]: Failed opening required ‘/home/traderco/
   www/tradercom.it/PROVA/wp-includes/random_compat/random.php’ (include_path=’.:/
   usr/local/php5.3/lib/php’) in /home/traderco/www/tradercom.it/PROVA/wp-includes/
   compat.php on line 435
 * Thank you again!
 *  [Shariq Khan](https://wordpress.org/support/users/shariqkhan2012/)
 * (@shariqkhan2012)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-url-lost/#post-8784220)
 * Not sure what is happening here. But I am not able to post any replies on the
   forum. Looks like that new replies are getting auto-deleted
 *  [Shariq Khan](https://wordpress.org/support/users/shariqkhan2012/)
 * (@shariqkhan2012)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-url-lost/#post-8784224)
 * What was your website url?
    1. **[http://tradercom.it/tradercom.it/PROVA](http://tradercom.it/tradercom.it/PROVA)**
   OR 2. **[http://tradercom.it/PROVA](http://tradercom.it/PROVA)**
 * My understanding was that the website address was **[http://tradercom.it/PROVA](http://tradercom.it/PROVA)**
   
   That’s why in my original message I had asked to add this in wp-config.php :
 *     ```
       define('WP_HOME','http://www.tradercom.it/PROVA');
       define('WP_SITEURL','http://www.tradercom.it/PROVA');
       ```
   
 * However now I see that your website url was **[http://tradercom.it/tradercom.it/PROVA](http://tradercom.it/tradercom.it/PROVA)**,
   so now change the entry in wp-config.php to:
 *     ```
       define('WP_HOME','http://tradercom.it/tradercom.it/PROVA');
       define('WP_SITEURL','http://tradercom.it/tradercom.it/PROVA');
       ```
   
    -  This reply was modified 9 years, 4 months ago by [Shariq Khan](https://wordpress.org/support/users/shariqkhan2012/).
      Reason: Corrected the formatting
    -  This reply was modified 9 years, 4 months ago by [Shariq Khan](https://wordpress.org/support/users/shariqkhan2012/).
      Reason: Corrected the code tag
 *  Thread Starter [giuliabigini](https://wordpress.org/support/users/giuliabigini/)
 * (@giuliabigini)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-url-lost/#post-8784667)
 * Hi!
 * yes sorry the web site url is: ‘[http://tradercom.it/tradercom.it/PROVA](http://tradercom.it/tradercom.it/PROVA)
   but I have already try to entry in wp-config.php thi URL. For this reason the
   new message came out.
    Warning: require(/home/traderco/www/tradercom.it/PROVA/
   wp-includes/random_compat/random.php) [function.require]: failed to open stream:
   No such file or directory in /home/traderco/www/tradercom.it/PROVA/wp-includes/
   compat.php on line 435
 * Fatal error: require() [function.require]: Failed opening required ‘/home/traderco/
   www/tradercom.it/PROVA/wp-includes/random_compat/random.php’ (include_path=’.:/
   usr/local/php5.3/lib/php’) in /home/traderco/www/tradercom.it/PROVA/wp-includes/
   compat.php on line 435
 * Seems the problem is in wp-includes/random_compact/random.php
 * Is it possible that this file is damage? Sorry probably this question sounds 
   stupid but I’m not understanding what is going on.
 * Thank you again!
 *  [Shariq Khan](https://wordpress.org/support/users/shariqkhan2012/)
 * (@shariqkhan2012)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-url-lost/#post-8784707)
 * You need to check whether random.php exists in the directory **wp-includes/random_compat/**
 *  Thread Starter [giuliabigini](https://wordpress.org/support/users/giuliabigini/)
 * (@giuliabigini)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-url-lost/#post-8784809)
 * Yes, i checked and it exists
 *  Thread Starter [giuliabigini](https://wordpress.org/support/users/giuliabigini/)
 * (@giuliabigini)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-url-lost/#post-8785083)
 * Do you think there is a solution?
 * Thank you again
 *  [Shariq Khan](https://wordpress.org/support/users/shariqkhan2012/)
 * (@shariqkhan2012)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-url-lost/#post-8785168)
 * Well the error says:
    _‘/home/traderco/www/tradercom.it/PROVA/wp-includes/random\
   _compat/random.php’ _ does not exist.
 * Yet, you say that random.php does exist inside random_compat directory.
 * Can you double check that?
 * If you still thik that it does exist, then try renaming random.php to something
   else like random.php_original.
    And then reload the page. Now see if the error
   is still the same or does it change

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

The topic ‘wordpress URL lost’ is closed to new replies.

## Tags

 * [wordpress-url](https://wordpress.org/support/topic-tag/wordpress-url/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 13 replies
 * 4 participants
 * Last reply from: [Shariq Khan](https://wordpress.org/support/users/shariqkhan2012/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-url-lost/#post-8785168)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
