My website only works when you type "www".

Asked by:
JustinP / 8 Points
Time:
2012-01-20 3:49 pm EST
Category:
Htaccess
Hits:
2,451
I'm getting my site set up with a WordPress installation. WordPress is installed in a directory called "wp" in order to keep it well contained. That way if I decide to use something else in the future it will be easier to switch. I have a redirect set up to send "All Public Domains" to http://www.justinpille.com/wp.

Everything works like I want it to when typing "www.justinpille.com", but it goes to Web Hosting Hub's under construction page when you type "justinpille.com". I tried changing the .htaccess file as is recommended on the page , but it did not change the behavior.

So I changed the file back to the way it was, which looks like this:

RewriteEngine on

# BEGIN WordPress

# END WordPress

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ "http\:\/\/justinpille\.com\/wp" [R=301,L]

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by User

0

ChristiNi
Staff
9,518 Points
2012-01-20 4:06 pm EST
Hi Justin,

I'm sorry you're having trouble redirecting your domain to your WordPress installation. While researching this for you, I did not have any trouble getting to your site through either www.justinpille.com or justinpille.com. This is likely due to caching in your browser. Please try clearing your browser cache and navigating to your site again.

Please let us know if you have any additional questions or need further assistance.

Regards,

Christi N.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.