Find Jobs
Hire Freelancers

htaccess redirect update needed

$5-10 USD

Completed
Posted almost 16 years ago

$5-10 USD

Paid on delivery
Should be a quick project and some easy money, but I can't figure it out. Currently, urls on my site look like this: [login to view URL] I've set up a rewrite rule in htaccess so that url's can be accessed with either: [login to view URL] or [login to view URL] No problems there... I used: RewriteRule ^movie/([0-9]+)/[login to view URL] [login to view URL]$1 RewriteRule ^movie/([0-9]+) [login to view URL]$1 My problem is that there are lots of old links that still point to [login to view URL] and I'd like to avoid "duplicate content" penalties on search engines... so, long story short: [login to view URL] needs to redirect to /movie/123/[login to view URL] A few notes: 1) Other scripts on the site use the d= variable (ie, [login to view URL])... your work should not conflict with them. 2) Since we have the site on a development server and on a live server, absolute links can not be used. In other words, you have to redirect to: /movie/123/[login to view URL] instead of: [login to view URL] After I accept your bid, I'll send you the htaccess file that we currently use. Apply your changes, upload it here, I'll test it, and we'll go from there (I can not give you FTP access to my site). Thanks! ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform PHP Version 4.4.8 htaccess (mod_rewrite enabled)
Project ID: 3955937

About the project

1 proposal
Remote project
Active 16 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$7 USD in 7 days
4.9 (202 reviews)
6.5
6.5

About the client

Flag of UNITED STATES
United States
5.0
11
Member since Jul 30, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.