GetSimple Support Forum
Navigation not working... - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Navigation not working... (/showthread.php?tid=5121)



Navigation not working... - patric1978 - 2013-08-29

First of all: I realy like this CMS. Very professional!

Now my question: I bought a cool template from http://www.getsimplethemes.com/ and changed the look of it. You can view it here:

www.twaalfruiter.nl

Now the weird part: the navigation on top works great, but the left side navigation (after clicking an item from the top) doesn't work. I realy can't figure out whats going wrong here.

any help is welcome. thanks!!


RE: Navigation not working... - Carlos - 2013-08-29

Your top links use the default GS structure, SITE/index.php?id=page, but your left-side ones are like SITE/page - and it seems rewrite rules are not working. Do you have an .htaccess file in the site root?


RE: Navigation not working... - patric1978 - 2013-08-29

Thanks for dropping by. I have an htacces file, but I think there is something missing:

AddDefaultCharset UTF-8
Options -Indexes

# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy All
</Files>
<Files sitemap.xml>
Order allow,deny
Allow from all
Satisfy All
</Files>




Thats it.







(2013-08-29, 06:20:08)Carlos Wrote: Your top links use the default GS structure, SITE/index.php?id=page, but your left-side ones are like SITE/page - and it seems rewrite rules are not working. Do you have an .htaccess file in the site root?



RE: Navigation not working... - Carlos - 2013-08-29

Strange. The .htaccess has not been properly created when GS was installed, or someone (or something) has broken it. It's missing these lines after those you posted:

RewriteEngine on

# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]


RE: Navigation not working... - patric1978 - 2013-08-29

Thanks Carlos! Now its working as it should. Great youre responding so fast! Have a nice day!