Forums

Custom permalink (10 posts)

  1. Lanks
    Member
    Posted 4 months ago #

    I look after this website: http://www.bullerswood.bromley.sch.uk/

    Currently the permalink settings are set to the default setting, eg: http://www.bullerswood.bromley.sch.uk/?p=123

    However, for a BBC School Report that the school is conducting, i have to create a new page so that the link appears as http://www.bullerswood.bromley.sch.uk/bbcschoolreport

    If it is not set as this the BBC don't accept it.

    I've tried searching the forums and found this widget: http://wordpress.org/extend/plugins/custom-permalinks/, although apparently it wont work.

    1) Do you think the above widget will work?

    or

    2) Do you know of any other plugins that will do the trick?

    Many thanks for your time, apologies if i've made obvious mistakes as it's my first post.

    Take care

  2. Brad Markle
    Member
    Posted 4 months ago #

    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.

  3. Lanks
    Member
    Posted 4 months ago #

    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!

  4. Brad Markle
    Member
    Posted 4 months ago #

    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?

  5. Lanks
    Member
    Posted 3 months ago #

    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

  6. Brad Markle
    Member
    Posted 3 months ago #

    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.

  7. Lanks
    Member
    Posted 2 months ago #

    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

  8. Lanks
    Member
    Posted 2 months ago #

    Goodmorning Brad,

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

    Thanks again!

  9. Lanks
    Member
    Posted 2 months ago #

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

    Thanks again

  10. Lanks
    Member
    Posted 2 months ago #

    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

Reply

You must log in to post.

About this Topic