Solved ... 404 Error when I try to add a menu item and...
Posted 17 years 2 months ago
First I just want to say I love the templates you guys offer. I am not a web designer but I work with graphics allot and am somewhat familiar with HTML. I have 2 issues I am stuck with and could really use some help.
I am working with the Simplex template. Every time I try to add a menu item to the main menu, after I add the item I get a 404 error when I click on the new item on my site. I can't figure out what I am doing wrong. I name it appropriately and I link it to an article. Then I apply it and refresh my site. My new item will be there, but when I click it goes to a 404 error page. What am i doing wrong?
Also, is there a why to make the top item in the menu, the one that stays statically visible, to not be clickable but rather only have the sub menu items clickable? Did that make since... Let me know if you need me to rephrase that.
Any help at all would be greatly appreciated!!! Thank you.
Under the about us tab is about maid right, testimonials, faqs and about maid right 2. The first and last are linked to articles. both go to the error...
Re: Solved ... 404 Error when I try to add a menu item and...
Posted 17 years 2 months ago
Well, it seems that this is an issue with the SEO friendly option. If I set it to no, the menu items work... Is there a fix for this? I hope so, I can't imagine going through all of this work to find out that the site is not SEO friendly.
Re: Solved ... 404 Error when I try to add a menu item and...
Posted 17 years 2 months ago
Ok, I think I figured it out. When I first set this to Search Engine Friendly URLs I was getting a 404 error. I had just "yes" checked on the SEF URLs , and off on the other 2 options which are Use Apache mod_rewrite and Add suffix to URLs. I then tried it with both the SEF URLs and the Add suffix to URLs both set to on. Nothing. So I then turned on the Use Apache mod_rewrite and switched the name of the htaccess.txt file to .htaccess and my errors went from 404 to a 500 Internal server error.
After researching a bit, I set my file permissions on the .htaccess file to 705 (read write execute on Owner and read execute on Public). Nothing. I then opened my .htaccess file in DW and looked at the code. There is a line that says:
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla Directory (just / for root)
# RewriteBase /
So I removed the # sign from just before the RewriteBase / and presto, it all works. I also added to other lines to the code, 1 for helping with shared servers: Options -MultiViews and 1 for forcing PHP5: AddType x-mapp-php5 .php and now all seems well.
I finished by installing the Smartsef URL rewriter component from
www.smartsef.org/
which required their .htacess file which I modded with the same exact changes as list above and everything seems good other than the fact it seems slower then it was before. Not sure if this had something to do with the speed or not.
Could someone look this over and let me know if it is really working and that i didn't just fall asleep in front of the computer dreaming my issues were over.