PDA

View Full Version : redirecting url


apoc
08-01-2008, 08:07 AM
hiya need alittle help if possible

i lost on how to redirect my url to include the post link after

ie.

ive bought www.homepageuk.eu to link to my current site but everything i click in the forum link it remains www.homepageuk.eu

what im after it for the links to look summit like this

Hosted Link : http://apoc.ulmb.com/wbb/index.php?page=Board&boardID=24
Redirected Link : www.homepageuk.eu/index.php?page=Board&boardID=24

or

Hosted Link : http://apoc.ulmb.com/wbb/index.php?page=Index
Redirect Link : www.homepageuk.eu/Index

any help will be much appreciate

bullhorn7
08-01-2008, 08:46 AM
Im lost.. what do you mean? If you want www.homepage.uk to redirect to your subdomain I personally think its a bad idea. but I still dont understand your question.

apoc
08-01-2008, 02:07 PM
ok the Domain name i have bought is www.homepageuk.eu

my current forum domain is http://apoc.ulmb.com/wbb/

I current have www.homepageuk.eu aimed at http://apoc.ulmb.com/wbb/

When I Click the www.homepageuk.eu link it takes me to my forum but when i click any internal pages www.homepageuk.eu remains the page url so if i want to direct someone to a specific post i cant copy the url because its still www.homepageuk.eu

So For instance..

using the host url i want to direct someone to my tag wall post the host url is http://apoc.ulmb.com/wbb/index.php?page=Thread&threadID=6

what i want it to be is using the domain name so it displays http://www.homepageuk.eu/Thread&threadID=6

Tyler
08-01-2008, 02:50 PM
You need to add hompageuk.eu as a web site here then upload your forum files to it.

apoc
08-01-2008, 03:25 PM
kk copying files across now fingers crossed :) and thanx for ur help guys is much appreciated.

apoc
08-01-2008, 04:39 PM
Ok Im abit unsure whats going on Ive downloaded the Forum using ftp and then Uploaded it to homepageuk.eu but it still refers to the posts and forums being linked onto apoc.ulmb.com will that correct itself or have i actually gotta reinstall the forum from scratch

http://www.homepageuk.eu/wbb/index.php

im guessing the index.php changes to forum links will apply in 72 hrs etcs.#??

UnlimitedMB
08-01-2008, 05:03 PM
you need to goto the admin area of your forum and change the url

apoc
08-01-2008, 06:30 PM
much appreciated sorted just got to wait for the actually www.homepageuk.eu link to work now... 72 hrs is that right? comes up with this admin is that correct.

directory index not allowed
please upload a file named index.html or index.php into this directory to replace this message

If you can still see this page after uploading your index file press CTRL+F5 now.

the site index file is in the wbb folder

UnlimitedMB
08-01-2008, 06:56 PM
If you can see the "directory index not allowed" then your domain is already working, you just need to upload the content.

apoc
08-01-2008, 08:46 PM
its already there

http://www.homepageuk.eu/wbb/

UnlimitedMB
08-01-2008, 09:17 PM
Works fine for me.
Im unsure what your question is???
If you know its working then why are you asking?

Tyler
08-01-2008, 09:24 PM
You put your files in a folder in your domain, they will not show when you go to http://www.homepageuk.eu only when you go to http://www.homepageuk.eu/wbb/ if you dont want it that way then you need to upload the files one directory lower then wbb.

apoc
08-01-2008, 09:25 PM
http://www.homepageuk.eu/ this link doesnt work :(

if i click http://www.homepageuk.eu/wbb/ is works which is where the index page is if i aim http://www.homepageuk.eu/ at http://www.homepageuk.eu/wbb/ i get the error

directory index not allowed
please upload a file named index.html or index.php into this directory to replace this message

If you can still see this page after uploading your index file press CTRL+F5 now.


Edit Ok Getcha so ignore the wbb bit of the folder and just upload the site directly

Ok I have 2 folders wbb and wcf.. if i move the content of wbb to the root directory will it effect the second folder?

apoc
08-01-2008, 10:49 PM
Ok Tried it with no luck looks like ill have to keep the wbb thanks for all ya help guys.

Tyler
08-02-2008, 12:03 AM
I have no clue what you are doing now. Did you read my post above?

bullhorn7
08-02-2008, 01:58 AM
Your index file is screwed up

apoc
08-02-2008, 06:13 AM
I tried moving the content of the wbb folder to the root directory like u said which didnt work but its ok now i think ive come up with a solution


again thanx for all ur help this can be closed.

Victor01469
08-02-2008, 01:43 PM
This member wants http://www.homepageuk.eu/ to redirect to http://www.homepageuk.eu/wbb/

This can be accomplished using a PHP 301 redirect, or you could simply move the files inside your wbb folder to your root directory.

PHP 301 Redirect: Create a file called index.php in your root directory. The inside of the file should look like this:

<?php
// Permanent redirection
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.homepageuk.eu/wbb/");
exit();
?>

You're welcome.
Your welcome.