My website only works when you type "www".

Asked by:
JustinP
Time:
2012-01-20 7:49 pm
Category:
Htaccess
Hits:
1,311
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]

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User

0

ChristiNi
2012-01-20 8:06 pm
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.

You must login before you can post a comment about this answer.

Like this Question?

Have a Question?

If you need some help, submit your question to our Community! We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)

Recent Questions

  1. Can't login to email
  2. "WordPress Login Temporarily Disabled"?
  3. Google Adwords Credit Link Doesn't Work in AMP

Support 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.