• Registered Users, Registered Users 2 Posts: 5,407 ✭✭✭dunworth1


    ok this is pretty easy

    create a new .php document

    copy and paste this code
    <?php

    Header( "Location: http://address&quot; );

    ?>

    replace the word address with the address of the wordpress page eg www.yoursite.com/wordpress

    save the .php file as index

    upload this file in the main directory of you site
    now when you enter www.youraddress.com it will auto redirect to the wordpress


  • Registered Users, Registered Users 2 Posts: 1,897 ✭✭✭kala85


    when people click on the links then will it come up www.site.com/wordpress/news say for the news instead of having www.site.com/news which is what I would prefer.


  • Closed Accounts Posts: 133 ✭✭noshankus


    Very hard to say without actually seeing how it is set up.

    But try this by moving all files under your /wordpress/ folder to the same level as /wordpress/
    i.e. was:
    wordpress/news
    now:
    wordpress/
    news/

    If any of the files contain directory specific links including wordpress, they will have to be manually changed.

    A simple test is to create the news/ folder in the same level as wordpress and put in a file called hello.txt just containing the word "Hello" and then try to access it:
    www.site.com/news/hello.txt


  • Registered Users, Registered Users 2 Posts: 3,495 ✭✭✭Abelloid


    Under General Settings change the Site address (URL).


  • Registered Users, Registered Users 2 Posts: 3,495 ✭✭✭Abelloid


    Actually there's more to it if using a blog as your main page -

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory


  • Advertisement