Changing base-url, now pathes don`t work anymore
Permalink
Hello all,
I`m a newbie to concrete5,
At my hosting service I changed the base-url of the concrete5-site fromhttp://www.mysite.de/c5 tohttp://www.mysite.de
Now many pathes don`t work anymore (It works if I use e.g.http://www.mysite.de/index.php?cID=146... but not if I use e.g.http://www.mysite.de/medikamente/... ??
In config/site.php I already made the entries
define('BASE_URL', 'http://www.mysite.de');
define('DIR_REL', '');
...but no success :-(
Could anybody give me a hint please?
I use concrete5 5.6.2.1.
Thank you very much, Kai
I`m a newbie to concrete5,
At my hosting service I changed the base-url of the concrete5-site fromhttp://www.mysite.de/c5 tohttp://www.mysite.de
Now many pathes don`t work anymore (It works if I use e.g.http://www.mysite.de/index.php?cID=146... but not if I use e.g.http://www.mysite.de/medikamente/... ??
In config/site.php I already made the entries
define('BASE_URL', 'http://www.mysite.de');
define('DIR_REL', '');
...but no success :-(
Could anybody give me a hint please?
I use concrete5 5.6.2.1.
Thank you very much, Kai
I created a .htaccess-files in the base-directory as the following:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
Now it works :-)