Welcome Guest, Not a member yet? Register   Sign In
Additional redirect in htaccess or routes.php?
#1

[eluser]Mark75[/eluser]
Hi,
i have a little problem regarding an additional redirect.

I use clean urls, this is my htaccess:
Code:
<IfModule mod_rewrite.c>

    RewriteEngine On
    RewriteBase /

    # www-subdomain
    RewriteCond %{HTTP_HOST} ^example\.com$
    RewriteRule ^(.*) http://www. example.com/$1 [R=301,L]

    # index.php
    RewriteCond $1 !^(index\.php|assets|robots\.txt)
    RewriteRule ^(.*)$ /index.php/$1 [L]

</IfModule>

That works fine. But how do i additionally make this url (which i cannot change):
Code:
http://www.example.com/?load=1

to load
Code:
http://www.example.com/page

Has it to be done in the htaccess or in routes.php? Any help is greatly appreciated.
Mark




Theme © iAndrew 2016 - Forum software by © MyBB