Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Help With .htaccess ?


  • Please log in to reply
2 replies to this topic

#1 EGS

EGS

    HR 3

  • Active Members
  • PipPipPip
  • 67 posts

Posted 14 November 2010 - 12:22 PM

Please help.

The http:// of my site doesn't work and it needs to be www. for some reason.

I've tried using .htaccess to put www. in URL but for some reason it redirects to my main directory of the site and this is a problem with my forum.

CODE
http://example.com/forum
- doesn't work
But @
CODE
http://www.example.com/forum
- it does work

What can I put in the forum directory to make it load as www. ?

WordPress is the one making the main directory work fine with www. with a strange code.

#2 chrishirst

chrishirst

    A not so moderate moderator.

  • Moderator
  • 6,670 posts
  • Location:Blackpool UK

Posted 16 November 2010 - 11:40 AM

QUOTE
WordPress is the one making the main directory work fine with www. with a strange code.
Means what exactly?

#3 Michael Martinez

Michael Martinez

    HR 10

  • Active Members
  • PipPipPipPipPipPipPipPipPipPip
  • 5,013 posts
  • Location:Georgia

Posted 16 November 2010 - 12:48 PM

Wordpress takes control of the domain's root URL when you install it at the root level. You probably just need to redirect your www-less domain name to your www-domain name. I don't think it's advisable to fight with Wordpress in your .htaccess file. If you feel uncomfortable with Wordpress' choices, you can move it to a sub-domain or sub-directory.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

SPAM FREE FORUM!
 
If you are just registering to spam,
don't bother. You will be wasting your
time as your spam will never see the
light of day!