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

How to I fix the URL?

Discussion in 'Web Design' started by Mvfullback33, Oct 13, 2011.

  1. Mvfullback33

    Mvfullback33 BANNED BANNED

    Joined:
    Feb 13, 2011
    Messages:
    15
    Likes Received:
    2
    At the moment I have my domain:
    Mydomain.com redirecting to mydomain.com/wordpress

    Is there anyway to just make the Wordpress at mydomain.com?
     
    • Thanks Thanks x 1
  2. GreyWolf

    GreyWolf Executive VIP Jr. VIP

    Joined:
    Aug 17, 2009
    Messages:
    1,930
    Likes Received:
    5,389
    Gender:
    Male
    Occupation:
    Artist / Craftsman
    Location:
    sitting at my PC
    When you're installing wordpress when it asks for the installation details (Database prefix, Domain, Path, Admin user, etc.), you need to change the "Path:" from the default "/wordpress" to just your webroot "/".

    If you already installed it and want to just change it "on the fly" then you'll need to move everything from "/wordpress" to "/" and then go into your mysql database to search and replace every instance of "/wordpress" to "/".

    There's a lot more potential for errors changing it after it's installed though. The best way is to deal with it during installation.
     
  3. extremephp

    extremephp BANNED BANNED

    Joined:
    Oct 19, 2010
    Messages:
    1,293
    Likes Received:
    1,272
    Keep it short, here is what you should do.

    Move all your files from yourdomain.com/wordpress to yourdomain.com

    Go to Phpmyadmin, select the database you created for wp, and go to wp_options table. Edit the site url and wordpress URL field and you are done :)
     
  4. rajan61

    rajan61 Newbie

    Joined:
    Oct 13, 2011
    Messages:
    9
    Likes Received:
    0
    If your site has a non-www and www version of all your URLs, you?re going to be splitting link value for the same content between two URLs. Rather than capturing 100% of the link value on the page you want to rank in the search results, you could be doing a 50/50, 60/40, or some other kind of split between the two URLs
     
  5. GreyWolf

    GreyWolf Executive VIP Jr. VIP

    Joined:
    Aug 17, 2009
    Messages:
    1,930
    Likes Received:
    5,389
    Gender:
    Male
    Occupation:
    Artist / Craftsman
    Location:
    sitting at my PC
    That's completely unrelated to the question the OP was asking. lol :cool2: