Find Jobs
Hire Freelancers

Simple .htaccess rewrite fix

$10-30 USD

Completed
Posted over 4 years ago

$10-30 USD

Paid on delivery
Hi, I need a quick fix for my .htaccess file. Currently all URLs direct to the [login to view URL] file. But I have made an alternative .php to which I want a couple of pages to go. So for example: [login to view URL] Should keep going to [login to view URL] But [login to view URL] should go to [login to view URL] and [login to view URL] should go to [login to view URL] For reference, see below my current .htaccess contents RewriteEngine on RewriteBase / RewriteCond %{HTTPS} off RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L] RewriteCond %{HTTPS} on RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L] #RewriteCond %{HTTPS} off #RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_URI} !\.(css|js|jpe?g|png|gif|ttf|eot|xml|swf)$ [NC] RewriteRule ^([^/]+)/? [login to view URL]$1 [L,QSA] RewriteCond %{QUERY_STRING} (.*?)page=(\w+)(.*) RewriteCond %{REQUEST_URI} !\.(css|js|jpe?g|png|gif|ttf|eot|xml|swf)$ [NC] RewriteRule ^ /%2?%1%3 [L,R=301] #RewriteCond %{HTTPS} off #RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] #RewriteCond %{QUERY_STRING} page=(.*)$ #RewriteCond %{REQUEST_URI} !\.(css|js|jpe?g|png|gif|ttf|eot|xml|swf)$ [NC] #RewriteRule (.*) /%1? [NC,L,R=301]
Project ID: 23045112

About the project

6 proposals
Remote project
Active 4 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
hello, i can fix this in few minutes, let's chat and let me fix it for you in no time. best regards
$20 USD in 1 day
5.0 (6 reviews)
2.8
2.8
6 freelancers are bidding on average $23 USD for this job
User Avatar
Hi i willl fix htaccess right now thanks bilal
$20 USD in 1 day
4.7 (73 reviews)
5.4
5.4
User Avatar
Hi, I'm an experienced web developer. I would like to work with you. Contact me anytime to get started......... Thanks.
$30 USD in 7 days
5.0 (23 reviews)
4.9
4.9
User Avatar
Hello there, I'm a linux system administrator at a web hosting company. I've dealt with thousand of issues like this and I prove myself to be the best candidate for your job. I've recently done similar job. I'll link to the project: https://www.freelancer.com/projects/apache/Apache-Mod-Rewrite-Expert-Fix/ Please message me for further details. Thanks.
$25 USD in 1 day
5.0 (37 reviews)
4.4
4.4
User Avatar
This can be done so quickly, please contact me for more details and further discussion about your project.
$30 USD in 1 day
5.0 (3 reviews)
2.0
2.0
User Avatar
Hello there, I will fix that issue now. Because I already worked on this type of projects. I'll deliver this project or task within few hours only. I happy to work with you. You can also talk about share project on WhatsApp +91 7617855680. Thanks.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of GREECE
Zuidhorn, Greece
5.0
28
Payment method verified
Member since Dec 8, 2010

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.