Hope someone can help a real newbie. I’ve been working on a new site for my local U3A using Concrete5: never used a CMS before, only HTML and CSS, so everything is extremely new to me. I’ve started editing the default theme but somehow I’ve managed to screw up the navigation in the header: if I’m not logged in, clicking on any of the pages simply refreshes the homepage (index.php). If I am logged in, the links work perfectly. I know very little about php and understand even less so far!
The site is at http://www.highamandrushdenu3a.org.uk. Someone on the Concrete5 forum tried to help with this issue but managed only to ascertain that “all of your pages redirect back to index.php. Can you check in your website files that you don’t have a .htaccess file in there somewhere that is doing redirects? The autonav has the correct links but the server is redirecting all of those links back to index.php for some reason. I can see using the Chrome Inspector that the URL http://www.highamandrushdenu3a.org.uk/index.php/services is returning a Status Code:302 Found which means that it’s being redirected. I can’t really tell what would be redirecting it.”
I have an htaccess file at the top level (above public html) which simply says:
[php]AddType x-httpd-php54 .php[/php]
I also have another htaccess file inside the public html folder which says:
[php]suPHP_ConfigPath /var/sites/h/highamandrushdenu3a.org.uk/public_html
AddType x-httpd-php54 .php
# -- concrete5 urls start --
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
# -- concrete5 urls end --[/php]
Assuming the issue is not in the htaccess file(s) it probably lies somewhere in the php files. Anyone any bright ideas what files I need to check and what I should be looking for?
Really grateful for any pointers.