Good evening. I just tried to install wordpress mu on my webserver using the directories option rather than the subdomain option.
As you can see there is a problem here
http://blaa.ie/mu/
All the links seem to be borked around back to front if you take a look at the source code..
For example...
http://ie/mu/blaa/wp-content/themes/home/images/kubrickbgcolor.jpg
Any ideas on how to resolve this issue?
I have mod-rewrite enabled on the server.
Well yeah, if you installed it to http://blaa.ie/mu/ and it spews out http://ie/mu/blaa/, then you've typed something in wrong soemwhere. Check your htaccess first. you may also need to go thru the db and change things, but it might be easier to reinstall, carefully following the instructions in the readme.
I have tried many reinstalls but i still get the same problem with the paths. I'm guessing there must be something wrong with the .htaccess file i'm using?
RewriteEngine On
RewriteBase /
# Rewrite http://www.blaa.ie to blaa.ie
RewriteCond %{HTTP_HOST} ^www\.(.*)
RewriteRule ^(.*) http://%1/$1 [R,L]
# force a trailing slash for dirs
RewriteRule !\..{2,4}$ - [C]
RewriteCond %{REQUEST_URI} !^.*/$
RewriteRule ^(.+)$ /$1/ [R=301,L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]*)/?files/(.*) /wp-inst/wp-content/blogs.php?file=$2 [L]
# subdirectory passthru
RewriteRule !^subdir - [C]
RewriteRule ^(.*) /wp-inst/$1 [L]
Register Globals is off
If it's the default htaccess file created on install, then no, that shouldn't be the problem.
Did you search the database for all instances of http://ie/mu/blaa/ ? Did you try changing it to what it should be?
adhawkins
Member
Posted 17 years ago #
I'm having the same problem here:
http://swindonpokerlive.co.uk/blogs/
All of the links there start '.co.uk/....'
Any advice?
Thanks
Andy
adhawkins
Member
Posted 17 years ago #
Ok, I've made some progress. The 'siteurl' value in the database didn't have 'swindonpokerlive' in front of it.
I've since fixed that, but the page is still showing incorrect links for the 'Pages', 'Archives' and 'Categories' links. Also there's a big 'Error 404 - Not Found' in the middle of the page.
Any ideas anyone?
Thanks
Andy