Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1585 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

.htaccess Simple Rewrite Question

Thread title: .htaccess Simple Rewrite Question
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
08-25-2006, 03:35 AM
#1
Sketch is offline Sketch
Sketch's Avatar
Status: Member
Join date: Aug 2005
Location: Melbourne, Australia
Expertise:
Software:
 
Posts: 419
iTrader: 0 / 0%
 

Sketch is on a distinguished road

  Old  .htaccess Simple Rewrite Question

G'Day,

I'm working on a site and I want to redirect users in the following fashion;

If they visit http://www.site.com/payment or http://site.com/payment

I want to redirect them to https://www.site.com/payment

I'm sure its possible I just don't know how to do it.

Also I have this code

Code:
RewriteRule ^about/$ about [R]
Which should just get rid of the slash off the address name but it doesn't. It redirects the user to;

http://www.site.com/home/myusername/public_html/about/

Which is not correct. Does anyone know how to fix this?

Thank You!

     


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed