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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

make folder as root?

  • 04-07-2010 7:27pm
    #1
    Registered Users, Registered Users 2 Posts: 8,070 ✭✭✭


    I set up my blog here
    www.iamjpg.com/love

    is it possible to make it so when people visit
    www.iamjpg.com it goes directly to /love

    without using php or javascript in a fake index.html
    dont want to move whole wordpress either


Comments

  • Registered Users, Registered Users 2 Posts: 9,579 ✭✭✭Webmonkey


    Placebo wrote: »
    I set up my blog here
    www.iamjpg.com/love

    is it possible to make it so when people visit
    www.iamjpg.com it goes directly to /love

    without using php or javascript in a fake index.html
    dont want to move whole wordpress either
    You could use a ht access file if you using Apache

    .htaccess in root of iamjpg.
    Redirect / http://www.iamjpg.com/love/
    

    I think that's suppose be the most Search Engine Friendly.

    But a PHP can do a 301 direct as well:

    index.php:

    [php]<?
    header( "HTTP/1.1 301 Moved Permanently" );
    header( "Location: http://www.iamjpg.com/love/&quot; );
    ?> [/php]


  • Closed Accounts Posts: 264 ✭✭tc2010


    Your host might have very simple settings in there control panel to do this.

    Im with godaddy and this is easily done through there control panel

    I was struggling with the htaccess file because i was hosting 8 domains on the same server :pac: Had it sorted in 2 mins through the control panel


Advertisement