OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

.htacess help

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Server Issues >> .htacess help
Page: [1]
 
airattack111

 

Posts: 93
Joined: 11/20/2004
Status: offline

 
.htacess help - 11/30/2008 5:08:37   
Ok I've had this problem for a while, and I'm not very good at .htacess.

Right now I have 3 domain names that redirect to my forums, everything works fine.

On one of the domain name ( http://www.ltr450hq.com ) I want to change the directory of the forum.

Right now it's ( /invision/forums/index.php ... )

On ( http://www.kfx450hq.com ) and ( http://www.ds450hq.com ) the directory is ( /invision/index.php ... )

Now what you guys are probably saying is "easy as hell to do". But half of the problem is that websites and my own website linking to specific forum urls will come up to an empty page. So I need /invision/forums/ to redirect to /invision/ ...somehow.

Please help, and I appreciate it. Shorter URL's ftw.
caywind

 

Posts: 1486
From: USA
Status: offline

 
RE: .htacess help - 8/9/2009 3:51:39   
You can have a webpage re-direct using code in the head portion of the page.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Your Page Title</title>
<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com">

<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"> is the part that actually does the redirecting.

The number preceding the url (in this case zero) tells the browser the number of seconds to wait before redirecting to the new url.

_____________________________

Fight the Internet attack, www.awebmasters.net

(in reply to airattack111)
treetopsranch

 

Posts: 1527
From: Cottage Grove, OR, USA
Status: offline

 
RE: .htacess help - 8/9/2009 16:31:46   
In addition to Caywind's meta method here is a good link that explains the htaccess method:

http://www.webweaver.nu/html-tips/web-redirection.shtml

Good on Apache servers not windows servers.

_____________________________

Don from TreeTops Ranch, Oregon

"I've got a taste for quality and luxury"


(in reply to caywind)
BobbyDouglas

 

Posts: 5523
Joined: 5/15/2003
From: Arizona
Status: offline

 
RE: .htacess help - 8/26/2009 18:20:51   
quote:

Good on Apache servers not windows servers.

- It's not available by default, but it is something you can install for free: ISAPI_Rewrite

I've used this on many windows based websites, it's an amazing program... works flawlessly!

It has a really nice gui for finding errors in your rewrite rules too.

_____________________________

Arizona Web Design - Mr Bobs Web Design in Arizona
The Arizona Web Hosting Challenge

(in reply to treetopsranch)
Page:   [1]

All Forums >> Web Development >> Server Issues >> .htacess help
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts