cancel
Showing results for 
Search instead for 
Did you mean: 

Wordpress - Stylesheet referencing problem

mouseblack
Dabbler
Posts: 17
Thanks: 1
Registered: ‎17-03-2008

Wordpress - Stylesheet referencing problem

I have installed & re-installed wordpress a number times now. I am not trying to customize the php files or create my own themes - just trying to get the default or classic theme to work...
When I login to the admin pages there is no 'styling' - just basic text - I thought that this was how it should be. However when I go to view site no themes are displayed - again just text.
I have viewed the page source and all appears to be normal. When I save the page source and stylesheet to my computer's hard drive and amend the link in the HTML to reference the stylesheet I get a webpage that is 'styled'
I believe that I have set the permissions correctly. Any help would be gratefully received.
URL = http://ccgi.mouseblack.force9.co.uk/cgi-bin/wordpress/
Happy to supply further info if requested
Thanks
3 REPLIES 3
zubel
Community Veteran
Posts: 3,793
Thanks: 4
Registered: ‎08-06-2007

Re: Wordpress - Stylesheet referencing problem

You need to move the wordpress directory out of the cgi-bin directory Smiley
Instead of using http://ccgi.mouseblack.force9.co.uk/cgi-bin/wordpress/ it will need to be http://ccgi.mouseblack.force9.co.uk/wordpress/
B.
mouseblack
Dabbler
Posts: 17
Thanks: 1
Registered: ‎17-03-2008

Re: Wordpress - Stylesheet referencing problem

Thanks Barry,
It's working - can't believe that it was as simple as that!
Paul
prichardson
Grafter
Posts: 1,503
Thanks: 1
Registered: ‎05-04-2007

Re: Wordpress - Stylesheet referencing problem

It's amazing what can be cured so simply.
The cause of this is that the Wordpress code works perfectly fine from the cgi-bin, however images and style sheets are not cgi scripts, and thus the server just dumps a huge "what the..." when trying to execute them.
As Wordpress is PHP, it works outside of the cgi-bin perfectly fine, were CSS & images work perfectly fine too.