Pirjo
Forum Replies Created
-
Hi,
Thank you for your advises. The problem is solved now. AllowOverride is ok on our new server. Today I noticed that .htaccess file’s name was changed when I transfered the files to the new server. It was after transfering htaccess. After I saved it on notepad inside apostrophes (“.htaccess”) I got the dot back.
Br. Pirjo
Hi,
Thank you for your answer.
I tried you asked me to do. But it didn’t help. My .htaccess is on the bootthrowing.net/blog/ -dicectory as it was on the old server. It is this kind:
# BEGIN WordPress RewriteEngine On RewriteBase /blog 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] # END WordPress
Br. Pirjo
Forum: Networking WordPress
In reply to: Upgrading WPMU to 3.0 and removing of blogs.phpOkey, next time I’ll find it.
Forum: Networking WordPress
In reply to: Upgrading WPMU to 3.0 and removing of blogs.phpYou are right, I tested, I don’t need it. I removed the …plugins row. First I thought I need it because in some reason I can’t use EmbedIt plugin, when I’m signed in as admin, but it’s not so necessary. So we can forget it at least now.
Everything else seems working now.
This case can be closed.
Thank you very much that you helped me.
Forum: Networking WordPress
In reply to: Upgrading WPMU to 3.0 and removing of blogs.phpHi!
Thank you very much for helping me.
Today I realized what is wrong. I have installed our WordPress on a subdirectory /blog. So I think the main fault have been on this row RewriteBase /. I’m sorry I didn’t realize this earlier.
Now my .htaccess is similar you posted except the RewriteBase row and this RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*. I think I need it for plugins.
Now my .htacess looks like this:
# BEGIN WordPress RewriteEngine On RewriteBase /blog RewriteRule ^index\.php$ - [L] # uploaded files RewriteCond %{REQUEST_URI} !.*wp-content/plugins.* 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] # END WordPress
Forum: Networking WordPress
In reply to: Upgrading WPMU to 3.0 and removing of blogs.phpNow I tested that with Google Chrome. The problem is same with it. So I think this does not depend on the web browser.
Forum: Networking WordPress
In reply to: Upgrading WPMU to 3.0 and removing of blogs.phpNo, I don’t have.
Because I was not sure I tested it here
https://www.htaccesstools.com/test-hotlink-protection/with this image
https://bootthrowing.com/blog/rosentei/files/perunakellari.jpgForum: Networking WordPress
In reply to: Upgrading WPMU to 3.0 and removing of blogs.phpYes, first they show up once and when I use the refresh button of browser they are gone.
Forum: Networking WordPress
In reply to: Upgrading WPMU to 3.0 and removing of blogs.phpThank you for soon answer.
Removing the row you advised didn’t help me.
Just in case I review my problem: Images disappear when I use browser’s refresh button. That happen both on the published posts and on Media Libraty with thumbnails.
I have IE 9. I’m going to test with Chrome in this night.
Forum: Networking WordPress
In reply to: Upgrading WPMU to 3.0 and removing of blogs.phpHi!
Thank you for your instructions.
I corrected that but it didn’t help me.
I tried also add this in my .htaccess
RewriteRule ^files/(.*)$ https://domain.com/wp-content/files/$1 [L,R=301]and I tried to enter the upload path on the following fields of wp_N_options table in database:
upload_path (this was already earlier)
upload_url_path
fileupload_urlNothing of those didn’t help me.
I have noticed that quite many have had problems with image displaying after upgrading from WPMU to 3.N. Do you know if somewhere are listed the most common solutions for this?
Forum: Networking WordPress
In reply to: Upgrading WPMU to 3.0 and removing of blogs.phpHi,
I copied .htaccess from the page Ipstenu posted.
I installed old WordPress MU in subfolder blog so I tried to add the row below into .htaccess for one site
RewriteRule ^([_0-9a-zA-Z-]+/)?bootthrowing.com/blog/files/(.+) wp-content/blogs.dir/1/files/$2 [L]
according this example
RewriteRule ^([_0-9a-zA-Z-]+/)?siteN/files/(.+) wp-content/blogs.dir/N/files/$2 [L]
I have still same broblem. What can I try now?Now my .htacess is this kind of
# BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteCond %{REQUEST_URI} !.*wp-content/plugins.* RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?bootthrowing.com/blog/files/(.+) wp-content/blogs.dir/1/files/$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] # END WordPress
Forum: Networking WordPress
In reply to: Upgrading WPMU to 3.0 and removing of blogs.phpBelow is a copy of my .htaccess
RewriteEngine On RewriteBase BASE/ #uploaded files RewriteRule ^(.*/)?files/$ index.php [L] RewriteCond %{REQUEST_URI} !.*wp-content/plugins.* RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteCond %{REQUEST_URI} ^.*/wp-admin$ RewriteRule ^(.+)$ $1/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule . - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L] <IfModule mod_security.c> <Files async-upload.php> SecFilterEngine Off SecFilterScanPOST Off </Files> </IfModule>