rewrite for specific page in joomla

Discussion in 'Apache' started by nservices, Jun 4, 2009.

  1. #1
    Hi,
    how i can rewrite the page
    http://www.mysite.com/index.php?option=com_chronocontact& ;chronoformname=form1
    to https://www.mysite.com/index.php?option=com_chronocontact&am p;chronoformname=form1
    or to http://www.mysite.com/form/ (this address work with SSL automatically

    Thanks,
    Nservices.
     
    nservices, Jun 4, 2009 IP
  2. ilikenwf

    ilikenwf Active Member

    Messages:
    425
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    85
    #2
    ilikenwf, Jun 4, 2009 IP
  3. nservices

    nservices Guest

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    when i try redirect index.php to mysite.com/form its work
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^index.php$ https://www.mysite.com/form/
    PHP:
    but i need one page of index.php
    Just (index.php?option=com_chronocontact&chronoformname=form)
    and i try to do
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^index.php?option=com_chronocontact&chronoformname=form$ https://www.mysite.com/form/
    PHP:
    and this is not work.
     
    nservices, Jun 4, 2009 IP
  4. ilikenwf

    ilikenwf Active Member

    Messages:
    425
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    85
    #4
    Use a 301 redirect.
     
    ilikenwf, Jun 4, 2009 IP
  5. nservices

    nservices Guest

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    redirect work well for index.php
    in redirect 301 /index.php http://www.mysite.com/form/
    but not work in:
    in redirect 301 index.php?option=com_chronocontact&chronoformname=order http://www.mysite.com/form/

    any idea ?
     
    nservices, Jun 4, 2009 IP
  6. mutanzgaming

    mutanzgaming Peon

    Messages:
    280
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    use ATRIO- SEF , or goto Menu Paramerters u will see option for SUPPORT SSL on this link
     
    mutanzgaming, Jun 7, 2009 IP