Error with top navigation tabs
-
I’m having a problem with the tabs in the navigation on my page.
My URL is: http://www.lindsayvanherk.nl/ and the error I’m getting whenever clicking on one of the tabs in the top navigation menu is as following: http://www.lindsayvanherk.nl/top-navigation/aboutIt might say the error in Dutch, so here’s a translation:
“HTTP 404 – File not found
Oops! This link doesn’t seem to work”What can I do in order to fix the navigation menu tabs?
-
Oh btw I forgot to mention this:
1) I’m using static pages as my navigation buttons in the top menu
2) I’m using the “Constructor” theme (I’m personalizing the “Default” theme within Constructor)Switch to the default Permalink structure and save. Then switch back again.
Okay I’ve now switched back to the default Permalink structure and tested the pages, this all works fine now.
However, I now switched back to common settings “Month and Name” and updated the .htaccess file but again I receive the error…
(I created the .htaccess file myself, with just the Permalink mod_rewrite rules in it, since there was no .htaccess file to begin with)
I know I’m probably missing something really basic…but what π ?
I’d like to use this custom Permalink structure: /%category%/%postname% but don’t know how to implement it without getting the above described error again…
Take a copy of your .htaccess file, then delete it off the server using FTP.
Then try using:
/%category%/%postname%/(WordPress should create a new .htaccess file for you automagically)
Thanks alism, just did that. I got the following message:
“You should update your .htaccess now.”
At the bottom of the page I see this message:
“If your .htaccess file were writable, we could do this automatically, but it isnβt so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.”
So I inserted the new .htaccess code that WordPress gave me in my .htaccess that I created and uploaded the file again back into the FTP server. The .htaccess code that WordPress displayed is as following:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>However, I get the error again…
I replaced the old .htaccess file with that code, so all that is in my .htaccess file is that code now.
Ok, add the following in at the very top:
Options +FollowSymlinksIt might be worth checking with your host that mod_rewrite is actually available too.
Sorry to be such a pain, and thanks a million for all your help, but that didn’t work either…
I’ll check with my host that mod_rewrite is available. Is there anything else I need to check with them, while I’m at it?
I’ll get back to you as soon as I hear anything from them.
Nothing that instantly springs to mind.
This the same host that you’re using?
http://www.sitedeals.nl/werk/71652-wordpress.htmlThat’s not the host I’m using.
I e-mailed my host, they’re gonna check tonight (night in Barcelona) if the mod_rewrite is available.
Update: my host says the mod_rewrite access for me is not available. He suggests that I find a way to work around it or wait for him to find a solution. Meanwhile, my pages still don’t work and I have no clue how to move forward…
Lindsay,
If you don’t have mod_rewrite access then you MUST use the default permalink structure “?p=152” or whatever the page/post number is. That means changing the links for your tabs. So your Contact link will no longer be “http://www.lindsayvanherk.nl/top-navigation/contact/”. It will be “http://www.lindsayvanherk.nl/?page-id=5” or whatever the number is.
It’s not elegant, but your host probably has a Windows server instead of Unix.
Let me know if that works for you.
V
Even with Windows Hosts, permalinks are possible. (Example: Hosts offering Plesk – which is for Windows servers even has an auto-install for Plesk users… that is, if the webhost offers it as an extra)
@lindsay – your host should have no issues with adjusting the server for mod_rewrite . Not sure how they would have a hard time adjusting this setting unless they were a reseller with no server or shell access.
@ Vendetta: the default works fine! I was just wondering if it was possible with customized permalinks as well..
@ blondishnet: I’ve asked them for an update, hopefully they will be able to change this..
I will keep you updated!
The topic ‘Error with top navigation tabs’ is closed to new replies.