Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Wordpress and www.nnn.com domain

  • 10-03-2013 07:39PM
    #1
    Registered Users, Registered Users 2 Posts: 2,781
    ✭✭✭


    Silly question but I have a domain, www.nnn.com with an irish hosting company and I installed Wordpress using their Application Installation tools.

    I can access wordpress via www.nnn.com/wordpress.

    Any easy way to make anyone typing www.nnn.com to go straight to www.nnn.com/wordpress ?

    I realise I could install wordpress in the root or maybe use a http redirect(not sure about this bit) but I am doing this to help a voluntary organisation (no charge) and I want it easy for them to maintain or get some one else to help them in future.


Welcome!

It looks like you're new here. Sign in or register to get started.

Comments

  • Registered Users, Registered Users 2 Posts: 7,677 frozenfrozen
    ✭✭✭


    The easiest method would be to use a http redirect and it could stay in tact after you're finished developing. It's nicer to keep the root free of things like wordpress in case you ever want to move to a different system. Do you need a hand setting up a redirect?


  • Registered Users, Registered Users 2 Posts: 2,781 amen
    ✭✭✭


    yes please


  • Closed Accounts Posts: 249 OneIdea
    ✭✭


    I think you possible installed the wordpress into a directory folder called wordpress where as you should have entered just a forward / off your domain name

    Why not just re-install to a normal position?


  • Registered Users, Registered Users 2 Posts: 16,415 Trojan
    ✭✭✭✭




  • Registered Users, Registered Users 2 Posts: 2,781 amen
    ✭✭✭


    Why not just re-install to a normal position

    Because I used the Hosting companies self install option!


  • Advertisement
  • Closed Accounts Posts: 249 OneIdea
    ✭✭


    amen wrote: »
    Because I used the Hosting companies self install option!
    ..and there should have been a question about where you want to install it. the directory /wordpress is a default location setting.

    What was the installer program?


  • Banned (with Prison Access) Posts: 16,659 dahamsta
    ✭✭✭✭


    If it was Plesk, you can install to the root directory by removing "wordpress" from the install directory field (i.e. leave it blank). If you want a do-over, the installer supports uninstallation. If you've already added content, WordPress has export and import facilities.


  • Registered Users, Registered Users 2 Posts: 114 L8rdude
    ✭✭


    Can we mention the hosting company?

    I had this issue last week, and it it's the same hoster then

    Log into your hosting control panel
    Click on Sites & Domains on the left hand side of the screen
    Now click on the domain
    Now click on Web Applications
    Now click on Wordpress
    Now scroll to the bottom of the screen and click on 'Change URL Path'
    Now delete 'wordpress' from the input box and click Submit

    May take a few minutes to update


  • Posts: 1,299 [Deleted User]
    ✭✭✭


    Just upload a index.php file to your root and make the following the PHP file contents.

    <?php

    header("Location:http://www.nnn.com/wordpress");

    ?>

    Crude, but should work fine.


  • Registered Users, Registered Users 2 Posts: 2,781 amen
    ✭✭✭


    got it working.

    thanks for all the help.


  • Advertisement
  • Moderators, Society & Culture Moderators Posts: 17,642 Graham
    Mod ✭✭✭✭


    It might be worth mentioning how you got it working, otherwise there will be someone really frustrated when they come across this post in a few months looking for an answer to the same problem.


  • Registered Users, Registered Users 2 Posts: 16,415 Trojan
    ✭✭✭✭


    Just upload a index.php file to your root and make the following the PHP file contents.

    <?php

    header("Location:http://www.nnn.com/wordpress");

    ?>

    Crude, but should work fine.

    I recommend not doing it this way: a redirect like this is more of a temporary hack than a permanent solution.

    Here's more on moving the WordPress directory.


  • Registered Users, Registered Users 2 Posts: 2,781 amen
    ✭✭✭


    I created a .htaccess to redirect requests to www.nnn.com to www.nnn.com/wordpress.

    I will be using the proper wordpress moving directories option next week.

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?nnn.com$
    RewriteRule ^(/)?$ wordpress [L]


  • Registered Users, Registered Users 2 Posts: 2,021 ChRoMe
    ✭✭✭


    Graham wrote: »
    It might be worth mentioning how you got it working, otherwise there will be someone really frustrated when they come across this post in a few months looking for an answer to the same problem.

    wisdom_of_the_ancients.png


  • Registered Users, Registered Users 2 Posts: 2,781 amen
    ✭✭✭


    xkcd - a cartoon for every occasion.

    Have to say been that guy in the image...


Welcome!

It looks like you're new here. Sign in or register to get started.
Advertisement