extra variables appear in url after leaving home page |
[eluser]paulcj2[/eluser]
In my test site: www.clickbasicsdemo.com/index.php when one clicks on a link in the top navigation from the home page (for example the link "page") the link works fine. However, after arriving on "page" the urls contain extra variable "/page/clickbasicsdemo/", which is incorrect and brings up a 404 page not found error. Here's what I have done to configure the urls: 1) in the .htaccess file RewriteEngine on RewriteCond $1 !^(index\.php|css|images|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L] 2) in config/config.php $config['base_url'] = BASE_URL; 3) in config/constants.php define('BASE_URL', 'http://clickbasicsdemo.com/'); define('SITE_ADDRESS', 'clickbasicsdemo'); 4) in views/header.php the top navigation link for "page" is <li><a href="page/clickbasicsdemo/444">page</a> </li> What's my next troubleshooting step? |
Messages In This Thread |
extra variables appear in url after leaving home page - by El Forum - 09-27-2008, 11:03 AM
extra variables appear in url after leaving home page - by El Forum - 09-27-2008, 01:09 PM
extra variables appear in url after leaving home page - by El Forum - 09-27-2008, 04:39 PM
|