pictures does not apeare in posts

The correct .htaccess for a multi-site setup looks like this: RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ – [L] RewriteRule . index.php [L] Note the rule for files: That’s how WordPress locates your images. You need also a … Read more

MAMP.app & .htaccess – Can’t override after config

Are you sure your default <Directory /> settings aren’t getting overridden somewhere else? I have mine directly in the vhost and .htaccess and rewrite rules work fine. <VirtualHost *:80> ServerName wp.project DocumentRoot “/Users/chris/Sites/wp.project” <Directory “/Users/chris/Sites/wp.project”> Options Indexes Includes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>

Need rewrite for URL with specific string

You should solve this at the plugin level. While this rewrite rule … RewriteRule (.*)/?mysite.com/(.*) /$1/$2 [L,R=301] RewriteRule ^(.*)THUMB /$1 [L,R=301] … does what you are asking for, it is just cosmetic. Find the code that creates the wrong URL and fix that. Give the plugin author feedback; I’m sure s/he wants to know about … Read more

Why are all pages redirecting to homepage when using custom permalinks?

Here’s my .htaccess … there are a few differences, perhaps it might be worth comparing: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ – [L] RewriteRule . index.php [L] </IfModule> Also, I assume you … Read more

Permalinks in Multisite not working

For permalinks you may have to include index.php before the custom permalink structure within the permalinks settings option panel: /index.php/%postname%/ Just a guess but thats what I had to do on a couple of my sites. Let me know if that does not work and then we can look at your .htaccess file.

custom permlink .htaccess file 404 Not Found error

If your WordPress installation is in the folder ‘sitename’, than this .htaccess should go in that folder. Not your theme folder. From the WordPress codex: WordPress’s index.php and .htaccess files should be together in the directory indicated by the Site address (URL) setting on your General Options page (http://codex.wordpress.org/Using_Permalinks)

redirect old pages by .htaccess

%postname% is not a mod_rewrite rewrite tag. You are going to have to write out the path. mod_rewrite operates before WordPress, or PHP, gets involved. You don’t have access to any of that functionality. If your “contact” page– the page named “contact”– has ID 213 you shouldn’t have to do anything to redirect, though. This … Read more