Login   Register  
PHP Classes
elePHPant
Icontem

'if / else' in htaccess ?

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Top level forums  >  PHP Specialists  >  General  >  'if / else' in htaccess ?  
Subject:'if / else' in htaccess ?
Summary:'if / else' in htaccess ?
Messages:2
Author:aslan kurt
Date:2013-05-17 06:38:34
Update:2013-07-22 07:07:14
 

  1. 'if / else' in htaccess ?   Reply   Report abuse  
Picture of aslan kurt
aslan kurt
2013-05-17 06:57:02
Hi,

What i need is;

if request domain.com/something should be redirect to index.php
bu if request have more slashes like domain.com/something/something should be redirect to page wrote in htaccess file. Is there a way to do that?

Thank you,

There is 1 reply in this thread, which is not being displayed.
Browsing this forum thread replies is available only to premium subscribers.


Go to the premium subscriptions page to learn how to become a premium subscriber and have full access to this forum.