Is mod_rewrite turned on for this new server?
Is there a .htaccess file?
Yes, there is a .htaccess file.
is this what you mean?:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
No, I meant is mod_rewrite turned on for your new server – That code just says ‘IF it’s on, use for this next section…’ π
What’s your complete .htaccess?
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule Β ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
RewriteRule Β ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
</IfModule>
# END WordPress
# Change PHP memory limit, time limit,
# max post size, and max upload file size
php_value memory_limit 256M
php_value max_execution_time 300
php_value upload_max_filesize 32M
php_value post_max_size 32M
Unrelated to this issue: Always put WP’s htaccess rules at the bottom (it makes your site go through fewer loops).
Okay, what happens if you remove the .htaccess?
If I get rid of the .htaccess, links don’t work, no matter what permalinks setting I use.
Not even ugly permalinks?
By “ugly” do you mean default? fi so, no not even that works.
Yeah, ugly are the default ?p=123 stuff.
So no matter what you set things to, BuddyPress won’t work, but everything else does? Just want to make sure of something.
Do the BuddyPress pages exist?
I know the latest version works off of having the BP ‘pages’ use actual pages in WP.
Yes, I know for a fact that the pages are there.
here is the link to the site: TrueFoodSolutions.com
Switch back pretty permalinks, since if it’s just BP, then we can keep that on.
Can you check your php error log and see if anything shows up?
Your site is really slow to load for me, by the way.
One of the other guys helping with coding, took a look at the .htaccess file and found out that this was causing errors:
# Change PHP memory limit, time limit,
# max post size, and max upload file size
php_value memory_limit 256M
php_value max_execution_time 300
php_value upload_max_filesize 32M
php_value post_max_size 32M
He said
Normally, these aren’t troublesome commands. It merely allows PHP scripts to use more memory (up to 256MB), take longer to execute, etc. However, on the new server, apparently these values are locked, and we can’t change them without errors
The site is working again……still slow, but that is the server.
Thank You for you help.