Here is the problem I am getting in a nutshell.

Pretty Permalink + Main Domain = Site goes down Immediately. MySQL gets hammered.

Pretty Permalink + Sub-Domain = Site is up

No Permalink (default links) + Main Domain = Site is up.

My pretty permalinks use the very standard Redirect rules for wordpress into the .htaccess file (I haven't touched this file).

For example, my site is mydomain.com. For months, my staging domain was on staging.mydomain.com. I was using the pretty permalinks on this site to access content: staging.mydomain.com/project/my-project.

When the launch date came, I switched staging to main domain by changing the path in my httpd config file to point the main domain to the staging server path. And the site went down immediately - MySQL gets hammered.

If on the main domain, I change the permalinks to default, the site stays up.

I have researched this topic a lot, and I am no closer to a solution.

I would much appreciate any help!

  • Is it a multisite installation? – JMau Jul 2 '13 at 22:05

Do look at the .htaccess file and check the RewriteBase. It should be commented out or read:

RewriteBase /

It sounds like it might be written as:

RewriteBase /xyz

Where xyz is the name of the folder controlling your subdomain.

Also, what happens when you hit save twice on the Permalinks page?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.