I can't seem to access my WordPress Site since changing the URLs. I followed the instructions to the letter (using a pre-existing subdirectory Install) codex.wordpress.org/Giving_Wordpress_Its_Own_Directory, which resulted in a 404 error.
I then subsequently tried to backtrack removing/renaming the files on the root directory, but now I am unable to access WordPress to update the website Site Address.
When I try to login http://www.pro-moto.co.uk/content/wp-admin it appears to be sending me to http://www.pro-moto.co.uk/wp-login.php so it is clearly sending me to the wrong place.
How do I change this back and restore the site back. I did do a backup, but unfortunately I did it with a Plugin within WordPress that I can't now get access too!
Heeeeeeeeelp (in a Penelope Pitstop kind of way!)
kmessinger
Member
Posted 4 months ago #
Thanks for the prompt response :0)
I'm a complete novice at this, if I go with the edit wp-config, where is the best place to insert the
define('WP_HOME','http://example.com');
and as it was originally set to 'http://www.promoto.co.uk/content' should I reset it to that?
Great, I took a leap of faith and just did it, thankfully it has now restored my website and wordpress back to its original state, but unfortunately I can't now change the location in the general settings.
I need the wordpress to appear on the home page for the website, bearing in mind that I have now hard coded the wp-config.php, what is the best way for the wordpress to be active on the http://www.promoto.co.uk home page rather than having to go to http://www.promoto.co.uk/content? (which is a renamed WordPress directory, done at install)
you are very close add at wp-config
define('WP_SITEURL', 'http://www.promoto.co.uk');
then rename index.html your site will live.
make sure you have index.php there with correct path edited from http://codex.wordpress.org/Changing_The_Site_URL
copy index.php from content folder and paste at root.
Open your root directory's index.php file in a text editor
Change the following and save the file. Change the line that says:
require('./wp-blog-header.php');
to the following, using your directory name for the WordPress core files:
require('./content/wp-blog-header.php');