I own 10 domains with 10 CMSMS installations on 1 hosting account. The installations are in different subdirectory's.
Domain: www.088-nummer.eu
Original url: www.088-nummer.eu/088-nummer/
Everything works fine untill you go to the page "Pagina 2" in the menu.
In the browser is the url fine when you go over "Pagina 2" (www.088-nummer.eu/pagina-2) but when you click on it you go to www.088-nummer.eu/088-nummer/pagina-2
Now is my question how i solve this problem? Here my .htaccess file.
Code: Select all
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# except for form POSTS
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteCond %{REQUEST_METHOD} !POST$
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
Code: Select all
$config['root_url'] = 'http://088-nummer.eu';
$config['root_path'] = '/home/088-nummer.eu/public_html/088-nummer';
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '';