1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Remove /WP from the url

Discussion in 'Domain Names & Parking' started by Grobarcina, Nov 3, 2015.

  1. Grobarcina

    Grobarcina Newbie

    Joined:
    Nov 6, 2014
    Messages:
    22
    Likes Received:
    2
    Hi guys!


    I was trying to remove the " / wp " from the end of my wordpress website, I checked around on how to do it and found it. I followed the steps and changed the URL-name, edited the file in the root directory that had to be edited. But the problem is that it still doesn't work, I can still access the "/ wp-admin /" of course but I can't access the website. Since the " / wp " and the ". com" (without the / wp ) doesn't work. I was just wondering if it's a time thing where I have to wait for it to apply or have I done something wrong?


    The wordpress guide on how to do it also mentioned: "Since the site is not working for some of these steps, it is best to make this change at a time of low activity, e.g., the middle of the night.". I got the information from Wordpress' own FAQ-section.


    That is why I was wondering! I also contacted the host service of course, but I wanted to see if you guys might have some clues regarding this.
     
  2. arpitagarwal82

    arpitagarwal82 Power Member

    Joined:
    Feb 20, 2008
    Messages:
    731
    Likes Received:
    471
    Location:
    Localhost
    You just need to go to general settings page in wp dashboard and change the url their.

    If you still find issues with it, please PM me your website UL and I will tell you how to fix it.
     
    • Thanks Thanks x 1
  3. Grobarcina

    Grobarcina Newbie

    Joined:
    Nov 6, 2014
    Messages:
    22
    Likes Received:
    2
    Thank you for the quick reply. I did as you said, I will wait until tomorrow. If I still have issues I will contact you! Thanks
     
  4. | ALIEN |

    | ALIEN | Regular Member

    Joined:
    Jan 28, 2013
    Messages:
    282
    Likes Received:
    131
  5. bermanHost

    bermanHost Regular Member

    Joined:
    Aug 19, 2014
    Messages:
    478
    Likes Received:
    40
    Simple way is to change the URL from the wordpress dashboard as it is mentioned above.
     
  6. bignose

    bignose Jr. VIP Jr. VIP

    Joined:
    Dec 6, 2009
    Messages:
    711
    Likes Received:
    109
    Gender:
    Male
    What is set in the Permalink and General menus of the site admin panel?
     
  7. Cryogenesis

    Cryogenesis Jr. VIP Jr. VIP

    Joined:
    Sep 1, 2013
    Messages:
    1,769
    Likes Received:
    2,508
    Gender:
    Male
    Location:
    India
    Home Page:
    While installing WordPress you need to choose the directory you want it in. It's set to 'wp' by default and if you don't remove that then your site's gonna look like yoursite.com/wp and you can't do anything about it.

    The next time install it in the home directory (public_html) and not in public_html/wp.
    Cheers!
     
    • Thanks Thanks x 1
  8. Ste Fishkin

    Ste Fishkin BANNED BANNED

    Joined:
    May 14, 2011
    Messages:
    2,058
    Likes Received:
    8,214
    You installed it in the wrong place.........
     
    • Thanks Thanks x 1
  9. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,232
    Occupation:
    Retired
    Location:
    Old Peoples Home
    I think, its been a while since I did this for someone, you will have to go through your database and change every occurrence of /wp to nothing.

    ** EDIT **

    To do it, log into PHPMyAdmin and export the database. Open that sql file in something like notepad++ and do a search and replace.
    This is the tricky bit: in PHPMyAdmin drop all the tables and then import the sql file you just edited and you should be good to go.

    As always, ensure you have a decent back up first incase everything goes tits up!
     
  10. Cryogenesis

    Cryogenesis Jr. VIP Jr. VIP

    Joined:
    Sep 1, 2013
    Messages:
    1,769
    Likes Received:
    2,508
    Gender:
    Male
    Location:
    India
    Home Page:
    OP this looks like a lot of work so I'd simply reinstall WordPress to public_html.
    Check this out - http://prntscr.com/917x5o
     
  11. ChanzGrande

    ChanzGrande Elite Member

    Joined:
    Feb 16, 2008
    Messages:
    2,487
    Likes Received:
    1,179
    Occupation:
    Accountant
    Location:
    Northern Woods Counting Money
    If you are still experiencing this issue on a new wordpress installation, my recommendation is to correctly install wordpress to the appropriate directory. Unfortunately though, based on your original query my gut tells me you are trying to access the following link but want to remove the "wp" part:

    http://website.com/wp-admin

    This is hard-coded into a wordpress installation and CANNOT be changed without re-writing every explicit reference within the wordpress code. If this is the correct interpretation of your question it makes one wonder ... why would you be trying to change the way wordpress works anyway.

    If I'm wrong, and you simply installed wordpress to http://site.com/wp as the directory where you installed wp, then the fix is as simple as properly reinstalling NOT in that directory OR:

    move all the files to the appropriate folder AND update functions.php with the correct URL and SITE information AND make the same changes in the database using PHPMYADMIN.

    I'm still convinced you somehow think the wp-admin means your blog is in a folder called wp, but it's actually just how that particular ADMIN login page is structured. All admin functions you engage in your browser will show wp-admin most of the time. If you're legitimately installed in the wrong folder ... contact someone who knows what they are doing to correct this as you will be both unlikely to correct it, and super likely to mess things up even further. Sometimes it's just best to reach out and let people with more experience correct such simple problems.
     
  12. Lomomu

    Lomomu Junior Member

    Joined:
    Nov 19, 2015
    Messages:
    109
    Likes Received:
    24
    HideMYWP is probably one of my favourite plugins, can use it to change any url structure, div classes or id's from your theme on your site. If that helps in any way.
     
  13. bermanHost

    bermanHost Regular Member

    Joined:
    Aug 19, 2014
    Messages:
    478
    Likes Received:
    40
    As i have mentioned above you can change the url from dashboard. Else in the backend move the files outside of the folder wp, so that you no need to use the wp in url.
     
  14. jomana

    jomana Registered Member

    Joined:
    Jul 6, 2015
    Messages:
    76
    Likes Received:
    9
    Occupation:
    IM wannabe
    Location:
    The edge of the milky way
    all in one security plugin can do this and obfuscate the login pages and reg pages