News
: April 3, 2008 - New Contest! -
Win 5 Years of Hosting and $1,000!
June 30, 2008 -
Submit Your Site for the July 08 Site of the Month Award!
Home
Help
Search
Calendar
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
July 06, 2008, 09:45:40 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Web Hosting Forum | Lunarpages
>
Lunarpages Web Hosting - Advanced Assistance
>
Web Management
>
Redirect
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Redirect (Read 215 times)
kathleenk
Newbie
Offline
Posts: 1
Redirect
«
on:
January 24, 2008, 08:31:40 AM »
Greetings,
How can I get this
http://ourwebsite.com/here
to automatically bring up this
http://ourwebsite.com/here/
(with the slash)? The first link does not bring up the default index page in the directory, instead we get a page not found.
I was told I had to create and upload a redirect to append the slash.
Anyone have any ideas?
Logged
Mitch
Lunarpages Traffic Cop
Senior Moderator
Berserker Poster
Offline
Posts: 6741
Re: Redirect
«
Reply #1 on:
January 24, 2008, 08:34:12 AM »
Try adding this to your .htaccess files (changing the domain to reflect your own):
Code:
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*[^/])$ http://www.example.com/$1/ [R=301,L]
Hope that helps!
Logged
+
Submit Your Web Site for the
July 08
Web Site of the Month Award!
+
Also Read the
JUNE 2008 Lunarpages Newsletter! Good Stuff!
Mitch the Moderator
- Please Respect & Review the
Lunarforums Rules
Before Posting!
Lunarpages Web Hosting
|
Lunarpages Forums
|
Lunarpages Affiliate Program
Need something to read? Try
Lunartics
&
the Lunarpages Newsletter
!
Lunar Fun! -
Share Your Computer's Desktop Thread!
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Lunarpages Web Hosting - Information & Opportunities
-----------------------------
=> Lunarpages Web Hosting - Announcements
=> Lunarpages Web Hosting - Hosting Plans & Site Information
=> Job Opportunities at Lunarpages Web Hosting
=> Lunarpages Web Hosting - Network Information
=> Lunarpages Web Hosting - Server Information
-----------------------------
Lunarpages Web Hosting - Before Signing Up
-----------------------------
=> Lunarpages Web Hosting Plans - Pre-Sales Questions
-----------------------------
Lunarpages Web Hosting - Online Help Desk
-----------------------------
=> Lunarpages - Webhosting Help
=> Lunarpages - Beginner Assistance
=> Lunarpages - How to's
=> E-mail with your Lunarpages Hosting Plan
=> Lunarpages - CPanel Help
=> Lunarpages - Ecommerce Hosting
=> Lunarpages - FrontPage
=> Lunarpages - DreamWeaver
=> Lunarpages - Message Boards-Forums-Fantastico Scripts
===> Lunarpages - Joomla / Mambo
-----------------------------
Lunarpages Web Hosting - Advanced Assistance
-----------------------------
=> Web Management
=> Lunarpages - Webdesign and HTML
=> Lunarpages - Search Engine Optimization
=> Lunarpages - Animation & Flash
=> Lunarpages - Graphics
=> Lunarpages - Web Hosting, Email & PC Security
=> Lunarpages - Dedicated Web Hosting
=> Lunarpages - Reseller Web Hosting
=> Lunarpages - VPS Hosting
=> Lunarpages - SharePoint Services (Beta)
===> Lunarpages - cPanel & WHM
===> Lunarpages - General
===> Lunarpages - Plesk
===> Lunarpages - Security
===> Lunarpages - Tutorials
===> Lunarpages - Webmin
===> Lunarpages - WHM
-----------------------------
Lunarpages Web Hosting - Coding
-----------------------------
=> Lunarpages - ASP
=> Lunarpages - C++ / PERL / CGI
=> Lunarpages - PHP & MySQL
=> Lunarpages - Java Applets & Javascript
=> Lunarpages - JSP & Servlets
=> Lunarpages - Ruby Hosting
=> Lunarpages - Windows Development & Hosting
-----------------------------
Lunarpages Web Hosting - Entertainment
-----------------------------
=> Lunarpages - Chat & Stuff!
=> Lunarpages - Contests
=> Fun at Lunarpages!!
=> Lunarpages - Online Gaming
-----------------------------
Lunarpages Web Hosting - General
-----------------------------
=> Social Networking
=> Lunarpages Free Web Hosting - Education Program
=> Lunarpages - Affiliate Program
=> Introduce Yourself to the Lunarpages Forum Community!
=> Your Websites & Creations at Lunarpages!
=> Lunarpages Website of the Month
=> Lunarpages - Service and Trade
Loading...