Wordpress filter: Only my homepage has the wrong domain showing in the address bar
March 7, 2010 11:11 PM   Subscribe

How can I make my Wordpress blog's homepage show the correct domain in the browser address bar?

Using Wordpress 2.9.2 with a theme, I'm unable to get the home page of my website to "mask" correctly.

All other pages are fine. They show "www.mattdavis.ca/whatever" in the address bar.

The home page, however, shows the directory where the host is stored, which is http://www.verticalgraindesigngroup.com/mavis/.

I've tried asking this question on Wordpress IRC channels and twice on the Wordpress forums, but no luck so far. Extensive searching of the Wordpress Codex and Googling has been to no avail.

More info:
- "domain masking" is enabled with my host
- tried searching for any links in the PHP database that point incorrectly
- tried everything here
- tried every possible permutation of the "blog address" and "site URL" settings within the wordpress admin
- in case it's relevant, this is my htacess file

Thanks in advance! I'm a first time Wordpresser, but definitely a convert except for this one thing.
posted by graytona to Computers & Internet (8 answers total)
 
Response by poster: Under "wordpress address" it's http://www.verticalgraindesigngroup.com/mavis and under "blog address" it's http://www.mattdavis.ca.

If I change them both to www.mattdavis.ca, I can't log into Wordpress because it won't accept my password. Maybe that symptom is a clue?

I've actually already sat down for a few hours with my friend who runs Vertical Grain. He doesn't use WP usually, and together we weren't able to solve this.
posted by graytona at 7:48 AM on March 8, 2010


You could try editing your wp-config.php file so both SITE_URL and WP_HOME are pointing to the correct domain:

Editing wp-config.php
posted by backwards guitar at 9:21 AM on March 8, 2010


Response by poster: Backwards guitar, unfortunately I've tried that. SITE_URL and WP_HOME seem to have the same effect as setting "wordpress address" and "blog address" within the admin settings.

The result is, if I change the SITE_URL to mattdavis.ca, I'm locked out of my WP account, and have to add the RELOCATE tag to get back in.

Much appreciate the response, though!
posted by graytona at 10:57 AM on March 8, 2010


Sorry, missed that in your main post. What about refreshing your permalinks page?

I'd also consider going over the settings in your domains panel - maybe there's an old setting there that is being overlooked.
posted by backwards guitar at 11:13 AM on March 8, 2010


Response by poster: Hades, I gave your suggestion a try just now, but neither of the login links you suggested works unfortunately.

Anything else I might try? Much appreciated.
posted by graytona at 1:57 PM on March 8, 2010


Response by poster: With both of those options set to www.mattdavis.ca, no login/password is accepted (regardless of the link I use to login).

When both options are set to www.mattdavis.ca, there is no change to the URL: the incorrect address in the browser is still in effect.

Thanks again for the help!
posted by graytona at 2:53 PM on March 8, 2010


Response by poster: Hades, first of all thank you so much for all this help -- I truly appreciate it.

To answer your questions: I made the PHPinfo pages, which are here:
http://mattdavis.ca/info.php
and the same page, but pointing to it the other way:
http://www.verticalgraindesigngroup.com/mavis/info.php

The two versions do seem to differ, but for the fields you mention, they are identical: all of those fields show "www.verticalgraindesigngroup.com"

Unfortunately, the plugin doesn't seem to have worked. Once the plugin was enabled, I got this Firefox error:
The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

Do these things help narrow it down at all?
posted by graytona at 10:07 PM on March 8, 2010


Response by poster: You were right about the extra slash! That's all it was. I'm pretty sure I've spent at least 12 hours on this problem... all because of that. Thank you so much ... no way i would have ever thought to try that solution.

On the "domain forwarding" setting within the Netfirms admin panel, there is an example URL which is http://www.somedomain.com/ ... I didn't give it much thought, I just copied the example which did include the slash.

Thanks again so much for your help... much appreciated!
posted by graytona at 9:31 AM on March 9, 2010


« Older Email tutorial needed.   |   How do I speed up a video inIMovie while playing... Newer »
This thread is closed to new comments.