Incorrect root file path after installation
-
Hi, I’m trying to build a new blog, WP v3.8.1 locally on MAMP.
I haven’t worked with WP for several years, so it’s all doing my head in a bit …I got it installed ok, but the first thing I noticed is that it’s displaying as if there is no CSS file. The second thing I noticed is that none of the links on the page are working, anything I click on comes up with a ‘page not found’ message, I can’t even navigate to anything manually by typing in the appropriate URL, it still comes up with ‘page not found’ …
As far as I can figure it seems to think the root directory is different to what it is – I have the root folder named ‘lalaland’, when I open the home page the url is: localhost/lalaland … but if I click on a link it’ll come up with, for example: localhost/wordpress/wp-login.php instead of localhost/lalaland/wp-login.php … if i manually type in the url as it should be it changes the root folder name to wordpress.On looking at the source code I saw all of the urls in there are the same which would explain why the CSS isn’t working …
But for the life of me I cannot find where or in which file it defines what folder is the root folder to fix this.
Can anyone help?
The topic ‘Incorrect root file path after installation’ is closed to new replies.