I am experiencing this problem for wordpress multi sites . I have enabled network of blogs . So now I create many blogs in my wp and visit subblog via myblog.com/sublog . But the problem is that resources in the subblog starting with myblog.com/sublog .. dont load like css images etc . But the resources without subblog in the url are working . SO how to configure htaccess to omit that subblog part so it can load the resources correctly in subblogs ? So in the below url i have set up the 'hey' sub blog . http://secret.dubizzle.com/hey/ where u cant access for example this resourece .
http://secret.dubizzle.com/hey/wp-content/themes/twentyeleven/images/headers/lanterns.jpg and also css files . This url works when you remove the 'hey' part :since it is fake . What i want you to help me with is to help make changes to htacces files in the way so when browser makes get request to grab above mentioned imges and csses I feed it url without sub blog names so it gets the real feeds . I think you got the idea . Your help is highly appreciated . Here is what i currently have in my htaccess http://pastebin.com/GNWFinZ5 .Thanks .

Member Avatar for LastMitch

@narekm

This url works when you remove the 'hey' part :since it is fake . What i want you to help me with is to help make changes to htacces files in the way so when browser makes get request to grab above mentioned imges and csses I feed it url without sub blog names so it gets the real feeds .

1) Noone will help you make the changes!
2) So you got this example from here: http://pastebin.com/GNWFinZ5 but you don't understand it.
3) You're not helping yourself by not provide any code. Not the one you posted but the one you are working on!
4) Here is couple of links will explain how to correct htaccess file:

http://www.htaccess-guide.com/how-to-use-htaccess/

http://phpcollection.com/correct-htaccess-structure/

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.