Title: /wp problem
Last modified: August 30, 2016

---

# /wp problem

 *  [GEMMAHAZELBENEKE](https://wordpress.org/support/users/gemmahazelbeneke/)
 * (@gemmahazelbeneke)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-problem-1/)
 * Hi, my site was up and running and had the /wp at the end of the URL, however
   I wanted the /wp out from the end of my URL, I went under settings and just deleted
   it from both my site and the other URL, thus there stood [http://www.mydomain.com/wp](http://www.mydomain.com/wp)
   and I made it [http://www.mydomain.com](http://www.mydomain.com) and saved and
   logged out. Now I cannot get back to my log in page or find my website,
 * PLEAASE HELP!

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

 *  [innuvo](https://wordpress.org/support/users/innuvo/)
 * (@innuvo)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-problem-1/#post-6639052)
 * Ok, so this is a database issue. You have changed it within the settings but 
   not the database.
 * If you are not comforatable with phpMyAdmin, tehn contact your host as its a 
   very common problem that takes about 30 seconds to fix, they *should* be able
   to sort it for you
 *  Thread Starter [GEMMAHAZELBENEKE](https://wordpress.org/support/users/gemmahazelbeneke/)
 * (@gemmahazelbeneke)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-problem-1/#post-6639070)
 * thank you very much, but is it possible that someone here could perhaps help 
   me? as my host is only the host but does not really work with C-panel, I know
   I must change it in my c-panel but how or where?
 *  [innuvo](https://wordpress.org/support/users/innuvo/)
 * (@innuvo)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-problem-1/#post-6639074)
 * Ok…this should help you with what you need to do in the database…
    [https://www.namecheap.com/support/knowledgebase/article.aspx/9495/2187/how-to-move-wordpress-from-subfolder](https://www.namecheap.com/support/knowledgebase/article.aspx/9495/2187/how-to-move-wordpress-from-subfolder)
 *  Thread Starter [GEMMAHAZELBENEKE](https://wordpress.org/support/users/gemmahazelbeneke/)
 * (@gemmahazelbeneke)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-problem-1/#post-6639079)
 * thank you very much, I can actually understand that and the fact that it has 
   screenshots makes it sooo much easier!
 * Have a wonderful day!
 *  [codemovement.pk](https://wordpress.org/support/users/codemovementpk/)
 * (@codemovementpk)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-problem-1/#post-6639128)
 * Hi,
 * here is also a good guide that may help in moving wordpress site.
    [https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory](https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
   [http://www.inmotionhosting.com/support/edu/wordpress/329-move-folders](http://www.inmotionhosting.com/support/edu/wordpress/329-move-folders)
 *  Thread Starter [GEMMAHAZELBENEKE](https://wordpress.org/support/users/gemmahazelbeneke/)
 * (@gemmahazelbeneke)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-problem-1/#post-6639137)
 * Hi I did this all and /wp does not show anywhere anymore, however when I now 
   search [http://www.mydomain.com/wp-admin/](http://www.mydomain.com/wp-admin/)
   it redirects me to [http://www.mydomain.com/wp-admin/install.php](http://www.mydomain.com/wp-admin/install.php)
   is this correct?
 *  [Justin Greer](https://wordpress.org/support/users/justingreerbbi/)
 * (@justingreerbbi)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-problem-1/#post-6639150)
 * [@gemmahazelbeneke](https://wordpress.org/support/users/gemmahazelbeneke/)
 * You mentioned you just installed this from what I understand. If there is not
   content in your site or no customization yet done to it. Just remove all the 
   files and DB and start over using the cPanel application (fantastico or something
   installer).
 * If you have a reason you need to get the THIS site up an going, please continue
   reading. Else, Maybe the following can help someone else in the future.
 * I normally do not like to caps everything and bold but please please
    **MAKE 
   A BACKUP OF YOUR DB BEFORE YOU EVEN THINK ABOUT POKING AROUND IN IT.**
 * If WordPress is redirecting to the install page, then there is an issue. The 
   DB could be incomplete, corrupted or just not there. There are a ton of guides
   about what you need to do but I advise you to understand what is needed and not
   just follow instructions. Working with PHPMyAdmin is complex and EXTREMELY _Gulps
   some coffee_, EXTREMELY powerful and unforgiving.
 * Now you have two issues on your hands.
    - Something is wrong with your DB
    - Your site still needs moved
 * **Here is what I would do. **
 * 1. Make a backup of your DB and site files before moving forward.
    2. Move the
   WordPress files form the directory `/yoursite/wp` to `/yoursite`. 3. Open wp-
   config.php and add the two following lines to right around line 17 (righ above
   the line that says `define('DB_NAME', ....;`).
 *     ```
       define('WP_HOME','http://yourdomain.com');
       define('WP_SITEURL','http://yourdomain.com');
       ```
   
 * This will get your site URL changed temporary so you can work on getting everything
   else working. The above tells WP to use those variables instead of looking in
   the DB.
 * (Once you get the site working using the above method, you can then update the
   site options by using the “update_option” method found at [https://codex.wordpress.org/Changing_The_Site_URL](https://codex.wordpress.org/Changing_The_Site_URL)).
 * 4. Just for giggles, attempt to visit your site again. If you are redirected 
   to the install screen again. Clear your browser cache and try again in a new 
   window or tab. If you are still redirected to the install screen you have some
   issues with your DB.
 * 5. You may need to count your marbles and find a developer to help you out. You
   visit [http://jobs.wordpress.net/](http://jobs.wordpress.net/) if you would like
   to hire someone.
 * Your host should be able to help you out on the server side. Maybe they have 
   a disaster recovery backup but it will more than likely cost to get it.
 *  Thread Starter [GEMMAHAZELBENEKE](https://wordpress.org/support/users/gemmahazelbeneke/)
 * (@gemmahazelbeneke)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-problem-1/#post-6639190)
 * Morning all, okay my site is up and running (all is fine)
    however my content
   is not there, the theme I downloaded is there and I activated it again, but my
   pages that I added etc is not there, I believe it will still be on my c-panel.
 * What can I do?
 * Thank you for all your support
 *  [Justin Greer](https://wordpress.org/support/users/justingreerbbi/)
 * (@justingreerbbi)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-problem-1/#post-6639222)
 * C-Panel is lust an interface/portal to get you to different parts of your hosting
   server. Somehow it looks like the DB was changed or was emptied. Did you re go
   through the process of installing WordPress when the screen came up?

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

The topic ‘/wp problem’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 4 participants
 * Last reply from: [Justin Greer](https://wordpress.org/support/users/justingreerbbi/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/wp-problem-1/#post-6639222)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
