All Nav from homepage simply reloads homepage

Permalink
I have no idea what has happened. When accessing site as a guest, all subpage navigation links simply reload the homepage. I've tried turning on/off pretty urls (was initially off). I've checked the permissions, they are all set for guest. All the pages are accessible and editable when logged in to concrete5 as admin for site editing.
Found one thread searching on google where a guy had the same problem - but all he said was that it worked the next day and he didn't know why.
Please help, I need this fixed by tuesday, as there is a board meeting involving this site.
To the best of my knowledge, the site was working fine at first.
The site iswww.www.SalemAppleButterFestival.com...
Thanks for your help!

 
A3020 replied on at Permalink Reply
A3020
Can you post your .htaccess?
Raven8712 replied on at Permalink Reply
/public_html/.htaccess

/public_html/concrete/vendor/dapphp/securimage/audio/.htaccess

/public_html/concrete/vendor/dapphp/securimage/database/.htaccess
This is what a search in my file manager returns. The top result opens nothing when clicked on. The middle one yields 2 folders with .wav files in them. The bottom one has two file: index.html which is 2bytes in size, and securimage.sq3.
A3020 replied on at Permalink Reply
A3020
If you open the first .htaccess in a text editor, you see an empty file? If not, could you post its contents?
Raven8712 replied on at Permalink Reply
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteRule ^index.html$ / [L,R=301]
RewriteRule ^index.htm$ / [L,R=301]
RewriteRule ^index.asp$ / [L,R=301]
RewriteRule ^index.phtml$ / [L,R=301]

RewriteCond %{HTTP_USER_AGENT} ^rogerbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^exabot [OR]
RewriteCond %{HTTP_USER_AGENT} ^MJ12bot [OR]
RewriteCond %{HTTP_USER_AGENT} ^dotbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^gigabot [OR]
RewriteCond %{HTTP_USER_AGENT} ^AhrefsBot
RewriteRule .* - [F]

# BEGIN OldUrls

RewriteRule ^cache/js-2293d567cc441a6344f712037f4ee900.php$ files/cache-js-2293d567cc441a6344f712037f4ee900.php [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=14&Itemid=58$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-14-itemid-58.html [L]
RewriteRule ^cache/js-a1a80a38b1a01d2876a9abdb8190fb85.php$ files/cache-js-a1a80a38b1a01d2876a9abdb8190fb85.php [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=14&Itemid=64$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-14-itemid-64.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=21&Itemid=95$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-21-itemid-95.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=12&Itemid=96$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-12-itemid-96.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=14&Itemid=69$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-14-itemid-69.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=25&Itemid=98$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-25-itemid-98.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=25&Itemid=97$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-25-itemid-97.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=37&Itemid=81$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-37-itemid-81.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=24&Itemid=99$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-24-itemid-99.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=37&Itemid=100$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-37-itemid-100.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=14&Itemid=75$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-14-itemid-75.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=3&Itemid=101$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-3-itemid-101.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=3&Itemid=102$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-3-itemid-102.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=14&Itemid=66$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-14-itemid-66.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=3&Itemid=104$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-3-itemid-104.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=3&Itemid=103$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-3-itemid-103.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=26&Itemid=70$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-26-itemid-70.html [L]
RewriteRule ^cache/js-be50a17b86b461b56fdce0e645981d1e.php$ files/cache-js-be50a17b86b461b56fdce0e645981d1e.php [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=3&Itemid=105$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-3-itemid-105.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=3&Itemid=110$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-3-itemid-110.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=3&Itemid=111$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-3-itemid-111.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=36&Itemid=80$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-36-itemid-80.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=3&Itemid=108$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-3-itemid-108.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=38&Itemid=82$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-38-itemid-82.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=38&Itemid=86$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-38-itemid-86.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=14&Itemid=74$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-14-itemid-74.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=28&Itemid=72$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-28-itemid-72.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=16&Itemid=78$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-16-itemid-78.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=33&Itemid=76$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-33-itemid-76.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=27&Itemid=71$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-27-itemid-71.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=14&Itemid=73$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-14-itemid-73.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=35&Itemid=79$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-35-itemid-79.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=32&Itemid=112$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-32-itemid-112.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=14&Itemid=68$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-14-itemid-68.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=15&Itemid=59$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-15-itemid-59.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=22&Itemid=67$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-22-itemid-67.html [L]
RewriteCond %{QUERY_STRING} ^option=com_eventbooking&view=calendar&Itemid=40$
RewriteRule ^index.php$ files/index.php-option-com_eventbooking-view-calendar-itemid-40.html [L]
RewriteRule ^cache/js-af3f8cd4c6a493679d12dc0431e8070d.php$ files/cache-js-af3f8cd4c6a493679d12dc0431e8070d.php [L]
RewriteCond %{QUERY_STRING} ^option=com_eventbooking&view=category&layout=table&Itemid=42$
RewriteRule ^index.php$ files/index.php-option-com_eventbooking-view-category-layout-table-itemid-42.html [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=39&Itemid=43$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-39-itemid-43.html [L]
RewriteCond %{QUERY_STRING} ^option=com_contact&view=category&catid=17&Itemid=60$
RewriteRule ^index.php$ files/index.php-option-com_contact-view-category-catid-17-itemid-60.html [L]
RewriteRule ^cache/js-cb026255ad59ba02174d18b4d0330f7a.php$ files/cache-js-cb026255ad59ba02174d18b4d0330f7a.php [L]
RewriteCond %{QUERY_STRING} ^option=com_content&view=category&layout=blog&id=20&Itemid=63$
RewriteRule ^index.php$ files/index.php-option-com_content-view-category-layout-blog-id-20-itemid-63.html [L]
RewriteCond %{QUERY_STRING} ^option=com_user&view=reset$
RewriteRule ^index.php$ files/index.php-option-com_user-view-reset.html [L]
RewriteRule ^cache/js-7ebc49c1611e47137d3666fead71fee9.php$ files/cache-js-7ebc49c1611e47137d3666fead71fee9.php [L]
RewriteCond %{QUERY_STRING} ^option=com_user&view=remind$
RewriteRule ^index.php$ files/index.php-option-com_user-view-remind.html [L]
# END OldUrls


RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . / [L,R=301]

</IfModule>
A3020 replied on at Permalink Reply
A3020
You got to download the file (eg with ftp) and then open it in a text
editor.
Raven8712 replied on at Permalink Reply
Ok, got it, edited that last reply to include it - no idea what any of it means though, lol - much to new to webdesign for that. Thank you for your continuing help, btw! :D
A3020 replied on at Permalink Reply
A3020
This looks like an .htaccess from Joomla, is that right? The quickest way to fix the issue is probably to make a backup of this file and replace its contents with the .htaccess concrete5 provides (see /index.php/dashboard/system/seo/urls). Once the file has been updated, test the website again in-cognito.
Raven8712 replied on at Permalink Reply
I'm completely new to web design, so bear with my questions. I believe Joomla was installed at one time, perhaps when the slate was wiped the hidden files weren't deleted? Also - when I appended the info from your reply to my dashboard, it took me to where I turn pretty urls on and off. I have no idea where the .htaccess info that concrete5 provides is so that I can replace what is there now. Can you direct me a little more clearly on where to copy/paste that from?
A3020 replied on at Permalink Reply
A3020
Try this:
<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>
Raven8712 replied on at Permalink Reply
Thank you! I replaced the info, saved the file, refreshed the page in my other browser - the problem is still the same - no sub pages will open.
A3020 replied on at Permalink Reply
A3020
Well, something has changed. Because now I get a 404-page (http://www.salemapplebutterfestival.com/index.phpsdf) whereas before I got redirected to the home page.

The problem now is that there may be a redirect in some block, some template, some controller, some database entry, some javascript... Basically everywhere.

I'm afraid you have to do some debugging or hire someone to fix it.
Raven8712 replied on at Permalink Reply
Wait - I see I needed to edit the rewrite base line - what do I put there? /salemapplebutterfestival/ or /salemapplebutterfestival.com/ or something else, like the installation path, or what? Again, sorry my knowledge is so rudimentary in this area.
Raven8712 replied on at Permalink Reply
Also - there are 2 other instances of .htaccess found in the system:

/public_html/concrete/vendor/dapphp/securimage/audio/.htaccess

/public_html/concrete/vendor/dapphp/securimage/database/.htaccess

They both say "deny from all"
Is this related at all?
A3020 replied on at Permalink Reply
A3020
No, that's not related.
Raven8712 replied on at Permalink Reply
Ok, good to know! :) The error code 404 you got was because I saved the text wrong at first, and had to resave. It's now simply the same as originally - redirect to home page.
A3020 replied on at Permalink Reply
A3020
That's not true. I checked the sitemap.xml and 404-page after reading your initial post. I was redirect to home. I'm checking now, but I don't get redirected. That's why I'm saying something has changed.

If I debug in Chrome, Network, I see you get a 302 response code on the sub pages. You get redirected by the server, so you can exclude JavaScript.

Maybe you can search through your application directory for the text "302" and see what pops up?

Also, the fact that you're not redirected on the 404 page is interesting. It might be a block or something that redirects you to the homepage. Well let me know what you find.
Raven8712 replied on at Permalink Reply
I tried a file search for 302, nothing meaningful seemed to come up accept there were a couple of addons that had not been updating correctly, so I uninstalled them. That didn't seem to get any effect. code 302 still coming up on subpages. I am completely at a loss. Thank you for all your help - perhaps someone else out there has come across this issue and may chime in?
A3020 replied on at Permalink Reply
A3020
If you feel comfortable sending me an FTP login, I could take a look. If you do so, please send a PM.
A3020 replied on at Permalink Reply
A3020
The issue has been resolved and was caused by an "Under Construction" package that redirected visitors to the home page.
Raven8712 replied on at Permalink Reply
Oh my goodness, how awesome you are! I'm am seriously grateful to you. I did install that package, but never did anything else with it, so it never crossed my mind.
Thank you ever so much!
embodyperiod replied on at Permalink Reply
SO grateful for this thread right now. Had the same problem. Tremendously relieved it's actually a very easy fix!
A3020 replied on at Permalink Reply
A3020
:)
A3020 replied on at Permalink Reply
A3020
Btw @Raven8712, it's best practice to mark something as best answer. That makes it easier for others to quickly find an answer, removes the topic from the "unanswered questions" filter and gives "karma" to the person who helped.