Quantcast
Channel: ExeOutput for PHP - G.D.G. Software Forum
Viewing all articles
Browse latest Browse all 1024

How I should redirect because exeOut doesn't support .htaccess

$
0
0

my route : I want to route and use this condition without .htaccess. if(isset($_GET[“route”])) { if ($_GET[“route”] == ‘home’ || $_GET[“route”] == ‘names’ || $_GET[“route”] == ‘logout’){ include “pages/”.$_GET[“route”].".php"; }

I use in .htaccess this:

Options All -Indexes

RewriteEngine On

RewriteRule ^([-a-zA-Z0-9]+)$ index.php?route=$1

Question is : how I should route with out htaccess.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1024

Trending Articles