Any Wordpress experts on here?

Soldato
Joined
16 Apr 2004
Posts
3,892
Location
Shropshire
I've been messing about in Wordpress trying to create myself a basic homepage.

While I've been messing about with it I've installed it in it's own directory. I.E - www.domainname.co.uk/wordpress/ but I now want it in the root public_html directory to act as the new homepage.

Perhaps I'm naive but I assumed that it was as simple as moving the contents of the wordpress directory into the root directory but it doesn't seem as simple as that. It does "work" to a degree but when you click on a category it looks in the wordpress directory which is now empty.

I'm tempted to use the export tool to export all the data, delete the wordpress directory entirely, reinstall wordpress in the root directory and import the data again.

Is there a simpler option at all?
 
If you've already moved it and can't access the admin page, get something like PHPMyAdmin to edit the database, then goto the wp-options table and it's the 2-4th entry, can't remember which.
 
Go to domain/wp-admin, login, go to settings, change your URL. Job done.


That's the first thing I tried but I end up with -


Code:
Warning:  require(./wp-blog-header.php) [[URL="http://www.rehabgaming.co.uk/category/bf3/function.require"]function.require[/URL]]: failed to open stream: No such file or directory in /home/nango/public_html/index.php on line 17

Warning:  require(./wp-blog-header.php) [[URL="http://www.rehabgaming.co.uk/category/bf3/function.require"]function.require[/URL]]: failed to open stream: No such file or directory in /home/nango/public_html/index.php on line 17
 
Last edited:
Back
Top Bottom