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

Godaddy Wrote My .htaccess - Can This Be Used On Another Server?


  • Please log in to reply
3 replies to this topic

#1 lister

lister

    HR 5

  • Active Members
  • PipPipPipPipPip
  • 422 posts

Posted 11 March 2013 - 06:06 PM

I host on Linux economy with GoDaddy - anyways I want to move and I used their 301 feature via their admin panel.

I wasnt able to upload a .htaccess hence why I had to go through their system.

Here is an example of the code is created - can this be used on another server/ hosting company or is it "unique" to GD?

rewriterule ^4\/old-page\.html(.*)$ "http\:\/\/www\.my-site\.com\/security\/$1" [R=301,L] #509443b1b3d64b
rewritecond %{HTTP_HOST} ^www.my-site.com$ [OR]
rewritecond %{HTTP_HOST} ^my-site.com$

 

*** It's that #509443b1b3d64b which looks weird.

Im more used to writing my own .htaccess hence the question - thanks



#2 Ron Carnell

Ron Carnell

    HR 6

  • Moderator
  • 966 posts
  • Location:Michigan USA

Posted 12 March 2013 - 11:48 AM

*** It's that #509443b1b3d64b which looks weird.

It's just a comment.

 

The answer to your question is, yes, the code can be moved with the domain to a different server. It is not unique to GoDaddy.



#3 lister

lister

    HR 5

  • Active Members
  • PipPipPipPipPip
  • 422 posts

Posted 02 April 2013 - 09:52 AM

Cool, so i am ok just to get rid of the #252525 comment and Im good to go? (I guess i just got to try it and see!)

 

thanks



#4 Michael Martinez

Michael Martinez

    HR 10

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

Posted 02 April 2013 - 11:06 AM

Comments have no effect on the performance.  Deleting everything from the hash mark onward for that one line.






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!