Find freelancers. Lose those costly delays.

With 1.7 million freelancers, we'll match you with the perfect talent.

or, Register with Elance »

htaccess fix
Sign in to Add to Watch List

IT & Programming > Other IT & Programming

View Change History

The client has made the following changes to the job.


Job Description

  |  Change History >>


  • Posted: Mon, Jul 02, 2012
  • Time Left: Closed
  • Location: Anywhere
  • Client prefers freelancers from:

    You are still able to submit a proposal for this job.

    The client prefers freelancers from
    a different location.

    You're still able to submit a proposal for this job, regardless of your location.
  • Start: Immediately
  • Hourly Rate: Not Sure
  • Hrs/wk: Not Sure | Duration: 1 hrs
  • Work View™ Payment Protection
  • W9 Not Required
Sign in to view client's details

I have a system set up where I have pages I want to show clients and they are organised on our server using a conventional path system (root/directory/directory).

Thing is, I don't want the client to have to type in the whole path each time, so we set up a series of redirect instructions in our htaccess file to redirect   [obscured]  /filename to   [obscured]  /directory/directory/filename, like this:

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain\.com
RewriteRule ^(.*)$   [obscured]  /$1 [R=permanent,L]
RewriteRule ^filename/?$ directory/filename

That worked fine until we recently installed WordPress on the server which has written a load of its own stuff in the htaccess file. This seems to have broken the redirect function. I've found a workaround: if I put an empty directory with the same name as the 'filename' then it works but this is kind of pointless as I'm trying to avoid clutter at root level.

So I need some help fixing this. Anyone inte...

Sign in or Register to see more

Job ID: 31646911
Hourly Rate: Avg $ | High $ | Low $ — Show Pricing
  • Submit Date (Latest)

 United States  |  
Expert programmer and web developer specializing in PHP, C#, SQL, LAMP and general web development.
 5.0   |  Private   |  6 Jobs
Bid ID: 31652483  |  Submitted: Jul 2, 2012 17:43 ET 

Thomas Tremain      
Thomas Tremain's identity has been verified.  Learn More
 United States  |  
PHP coder, and Web Server administrative tasks for hire. I know how to feed and care for most servers. Self employed for the last 10 years, small...
 0.0   |  $81 Earnings   |  0 Jobs
Bid ID: 31647633  |  Submitted: Jul 2, 2012 14:11 ET 
Proposal SEALED
Elance is now an Upwork company.
Upwork is the choice of 4M+ clients. Get started working on Upwork today.
Are you ready to post a job like this one?
Post a Similar Job »