Redirecting Url - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: Redirecting Url (/showthread.php?tid=37739) Redirecting Url by John Anderton on 01-31-2005 at 06:51 AM
I just changed the url of my forums as the name of my forums was already taken. So can someone make me a simple redirect page. I mean if someone would type the name of my old forum address they should be redirected to my new forums. RE: Redirecting Url by L. Coyote on 01-31-2005 at 06:58 AM
If you can still host files in that other web, you can put an index.htm file with: RE: Redirecting Url by John Anderton on 01-31-2005 at 07:05 AM
Ok i made a index.html with frontpage and now i'm adding that line. Thanks for that leo. Also can i do something if the user had bookmarked a different page (other than the index page, mentioned in edit above) code:It shows> code:Should i use notepad instead. And where shoud this code be. Body, or head I have attatched the index.html. If u have the time can u do it or just post the answer and i'll do it. Thanks quote:I can still use that url cause i have it. I had to change it since a company of that name existed. So i thought of a new name and googled it. So i guess its safe to use the new name EDIT 2: quote:Huh ?? I dont know how to do something and i am asking for help. How that spam ??? RE: Redirecting Url by WDZ on 01-31-2005 at 07:34 AM
quote: Just use Notepad and place the <meta> code in the <head> section. It doesn't have to be anything fancy... code: quote:Are you allowed to use .htaccess files on this host? If so, place the following line in the file (if it doesn't exist, create it)... code:That should redirect any request for any page to the new URL. RE: Redirecting Url by John Anderton on 01-31-2005 at 07:41 AM
Thanks i made the page. Also the main page of the url shows /index.php at the end unlike this forum so thats a php and this is this is a html so neprobs ? quote:No not allowed. So should i use my error 404 idea. How does that work ? RE: Redirecting Url by Ezra on 01-31-2005 at 11:32 AM
Error 404 works with a .htacces also. RE: Redirecting Url by segosa on 01-31-2005 at 01:59 PM No, you can't do it then if you can't edit the .htaccess. Just create the index.html page and hope people are smart enough (!) to try the main page. RE: Redirecting Url by John Anderton on 01-31-2005 at 02:04 PM Ok but my host gives me an option to have a personal error 404 page RE: Redirecting Url by WDZ on 01-31-2005 at 02:46 PM
quote:Oh, set up via a control panel? That might work. quote:Well, as long as people don't specifically request a php file, you should be fine. In other words, if they just go to http://sciontech.freefronthost.com/. Of course, you could always rename that .html file to .php, and even make multiple copies of it with different names to replace all the .php files that people might have bookmarked. RE: Redirecting Url by John Anderton on 01-31-2005 at 04:26 PM
quote:So u mean like index.htm, index.php, usercp.php etc. Thanks. Also is there no code changes reqd. in the one you gave. Thats html so if i rename it to php still will it work ??? I'm assuming yes cause WDZ said so Thanks Wdz RE: Redirecting Url by WDZ on 01-31-2005 at 04:33 PM
quote:Yes it will, because PHP files are assumed to be HTML until you enter PHP mode with <? or <?php. RE: Redirecting Url by matty on 02-01-2005 at 12:09 AM
Use Javascript... code: |