bwboykin
Member
Posted 4 months ago #
Hello,
I just recently launched a site and made sure to disable permalinks before uploading. The site comes up fine but when I go to enable permalinks I get a '400 Bad Error Request'.
The .htaccess file was blank and I even change CHMOD to 777 to see if it was a write error and that didn't help. I even pasted in code to make URL's rewritable and got the same error.
Is there anything that I am missing?
Thank you
Do you have the mod_rewrite module enabled on your server? If not, you'll probably need to contact your host to get that set up.
bwboykin
Member
Posted 4 months ago #
dkotter,
Thanks for the response. I just checked and it is enabled.
Any other ideas?
Thanks
What did you set the permalinks to?
bwboykin
Member
Posted 4 months ago #
bwboykin
Member
Posted 4 months ago #
Just a guess here but if PHP is operating in safe mode might that be a cause?
%postname%
Did you literally add this in the custom permalink structure window?
if so you are missing the slashes.
and your custom permalink structure should start with a numeric Tag
Examples:
/%post_id%/%postname%/
or
/%year%/%postname%/
bwboykin
Member
Posted 4 months ago #
I've added the slashes before and after so sorry for any confusion. I am using a permalink structure for the pages, not posts, on this site as the owner does not intend to operate a blog.
Thank you
Well looking around at what other people found out who have experienced this 400 error problem when attempting update permalinks was >>> the majority of them needed to contact their Hosts to have the Host change something in httpd.conf or some other Virtual Server-side file.
bwboykin
Member
Posted 4 months ago #
I'm in the process of doing that.
I just went through and selected different permalink options and when saved all returned that error.
Thanks AITpro!
And a couple of other things that you should do on your end.
Do a Database Repair and Optimize your WP DB