Reputation: 13
I have this code in my .htacces
RewriteRule ^(.+)/(.+)/(.+)$ index.php?modo=$1&tipo=$2&poblacion=$3
And when I go to myweb.com/first-text/second-text/third-text nad this show me
The following error occurred: The requested URL caused an internal server error.
If you get this message repeatedly please contact the webmaster.
Upvotes: 1
Views: 42
Reputation: 2634
Use the following Rules in .htaccess file:-
RewriteEngine on
RewriteRule ^([^/.]+)/([^/.]+)/([^/.]+)$ index.php?modo=$1&tipo=$2&poblacion=$3 [L]
Then you can use the url as:-
myweb.com/modoValue/tipoValue/poblacionValue
Upvotes: 1