WebFaction
Community site: login faq

I have installed WordPress; however, when I visit the site the URLs are incorrect, pointing to "http:/". After searching, I inserted the line:

define('SITE_URL', 'http://example.com');

into wp-config.php (substituting the correct URL in place of example.com, of course :>) Still no change. I then tried to access the database so I could change the setting there, but I keep getting the error #1045 Cannot log in to the MySQL server. Suggestions?

Take care, Don

asked 17 Dec '12, 14:28

dfjennings
312
accept rate: 0%


These steps in our WordPress documentation should fix it: WordPress Links Point to the Wrong Domain

Hope that helps!

permanent link

answered 17 Dec '12, 14:43

seanf
12.2k41836
accept rate: 37%

(Someone should update those instructions for the new Control Panel.) Following those instructions for deleting and adding a new WordPress app did not work by itself; however, in conjuction with manually specifying the site URL in wp-config.php, it does work now. Thanks!

(18 Dec '12, 10:37) dfjennings

If you can login to the database, goto wp_options and search for siteurl in option_name. In the option_value value you will see the value of your wordpress domain.

permanent link

answered 18 Dec '12, 03:11

epqrs
16921331
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×244
×32

question asked: 17 Dec '12, 14:28

question was seen: 3,814 times

last updated: 18 Dec '12, 10:37

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM