Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi Lanks. Have you thought about using permalinks instead of the basic link structure? If you haven’t already, be sure to check out the basic permalink guide here:
    Using Permalinks

    For a quick solution, you could setup a redirect and redirect http://www.bullerswood.bromley.sch.uk/bbcschoolreport to http://www.bullerswood.bromley.sch.uk/?p=123. This may be the fastest solution for you.

    Redirects are usually setup in something called a .htaccess file, and you should contact your web hosting provider and ask them how they recommend that you setup a redirect.

    Thread Starter Lanks

    (@lanksford)

    Hi Brad,

    Thanks a lot for your reply, i appreciate it.

    I guess if we were to change the link structure, it would then change the whole site, which will be a bit of a problem?

    Thanks for the other information, we host the site at school on a server here, so would i still have to contact our provider?

    Again, sorry for the lack of knowledge, and thanks for your help!

    I guess if we were to change the link structure, it would then change the whole site, which will be a bit of a problem?

    This could or could not be a problem, mostly it would depend on how you have other parts of your website setup.

    Thanks for the other information, we host the site at school on a server here, so would i still have to contact our provider?

    Because you host the site on your own server, you are in essence the provider. Do you know if you’re running IIS or Apache, Windows or Linux web server?

    Thread Starter Lanks

    (@lanksford)

    Hi Brad, i’m sorry for taking so long to reply – i do appreciate your help!

    Anyway, we are running Ubuntu web server 10.10 with LAMP and WordPress 3.1.3.

    We would like to move to Ubunut 11.10 soon as we have an issue with memory leaking from the current server. Would you recomend that?

    Thanks again

    Hi Lanks, to confirm, you need to create this URL http://www.bullerswood.bromley.sch.uk/bbcschoolreport, but you’re not using permalinks in WordPress?

    There are many ways you can accomplish this. Some depend on this, that, and the other. For example, you’ll need apache’s mod_rewrite installed on your server to work with permalinks.

    I have a history of doing things in a manner that is easy for me, so the idea below is not really the ideal way for WordPress users to accomplish your task. This, however, should be very easy to setup.

    1. Create a folder in your WordPress site, call it bbcschoolreport

    2. In that folder, create an index.php file and put in the following code:

    <?
    	Header( "HTTP/1.1 301 Moved Permanently" );
    	Header( "Location: http://www.bullerswood.bromley.sch.uk/?p=123 " );
    	exit();
    ?>

    This way, when someone visits http://www.bullerswood.bromley.sch.uk/bbcschoolreport, it will redirect them to http://www.bullerswood.bromley.sch.uk/?p=123

    Easy peasy, as long as the BBC is OK with /bbcschoolreport redirecting.

    Thread Starter Lanks

    (@lanksford)

    That is correct. We are using the default setting (http://www.bullerswood.bromley.sch.uk/?p=123)

    Ok i will try and do what you said today and reply back.

    Thanks again for your help

    Thread Starter Lanks

    (@lanksford)

    Goodmorning Brad,

    I know it’s an obvious question, but could you tell us what location to put the bbcschoolreport folder in?

    Thanks again!

    Thread Starter Lanks

    (@lanksford)

    Hi Brad, i think we have it working! I’ll reply back when i’m sure it’s fully working!

    Thanks again

    Thread Starter Lanks

    (@lanksford)

    Hi Brad,

    We’ve got it working, such a simple thing in the end!

    Thanks for your help, we got there in the end.

    Take care

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Custom permalink’ is closed to new replies.