Find Jobs
Hire Freelancers

Solve issue with htaccess rewrite rule

$10-30 USD

Completed
Posted almost 5 years ago

$10-30 USD

Paid on delivery
Apache is the web server. We use a rewrite rule in htaccess to pass the url to php (for an MVC system). So, for example, when this address is entered "[login to view URL]" all requests run [login to view URL] with the full path passed to parameter "url", as follows: [login to view URL] When we moved to https we added a line to force any address entered in the browser as [login to view URL] to become [login to view URL] for SEO consistency. The problem: if the user enters "[login to view URL]" it rewrites to "[login to view URL]" but we need it to add the "www." and rewrite consistently to [login to view URL] with the url parameter unchanged. Our current htaccess file in full: Options -MultiViews php_flag display_errors on php_value error_reporting 9999 RewriteEngine On #force pages not entered as SSL to SSL RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l #sends all URLs to [login to view URL] RewriteRule ^(.+)$ [login to view URL]$1 [QSA,L] Please advise on the modification we need to make to have "[login to view URL]" rewrite to "[login to view URL]" (not "[login to view URL]") without breaking any existing functionality. Thank you, Damian
Project ID: 19477105

About the project

20 proposals
Remote project
Active 5 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
Hi, here web developer and linux server admin with +12 years of experience. I have the rules what you need to solve rewrite issue You can do the redirection with force all http traffic (port 80) to https (port 443) with replace RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] to RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ [login to view URL]%{REQUEST_URI} [L,R=301] this redirect [login to view URL] and http://domain to https://www.domain..
$11 USD in 1 day
5.0 (3 reviews)
2.4
2.4
20 freelancers are bidding on average $23 USD for this job
User Avatar
I have good knowledge of PHP, Ajax, Jquery and MYSQL. I able to do this htaccess task very well with good quality. Our main motto is client satisfaction and makes a long-term relationship with you. Thank you
$25 USD in 1 day
5.0 (282 reviews)
8.2
8.2
User Avatar
If you contact me, I'll try this on my website, make sure it works and then come back to you, in other words you'll hire me only if I made sure I can find the right htaccess rule
$30 USD in 1 day
5.0 (192 reviews)
7.1
7.1
User Avatar
Hello Hope you are doing well. I have 7 years of experience in Linux and web hosting. I can handle this issue. Regards VishnuLal*
$30 USD in 1 day
4.9 (475 reviews)
7.3
7.3
User Avatar
Hey, employer. I already have read your description carefully. I have 5+ years enough experience in website development. My major skill are HTML5, CSS3, JavaScript, JQuery, Bootstrap, MySQL etc. I am reliable freelancer you want. Now I am free, I will start to work in your project immediately. Get in touch me. Let me know more details via chat now. Waiting for your positive response. Regards ANKIT
$25 USD in 1 day
4.8 (110 reviews)
7.0
7.0
User Avatar
Hi, i hope this finds you in good health. Seems like you are stuck on htaccess rewrite issue. I will get you bypass it within a minute. I have read your htaccess file code & you know it will need only 1 word change and your are ready to go. :) What if i tell you on messages befOre accepting my bid & then when it work you can accept my bid. Feel free to contact so that we can fix it asap. Will wait for your positive response. Thanks
$12 USD in 1 day
5.0 (43 reviews)
6.4
6.4
User Avatar
Hi I will resolve the issue of apache web server htaccess issue as per your requirement and have expertise in the relevant field. I have 9 years of experience. Let me know for further queries. Regards
$30 USD in 1 day
4.6 (316 reviews)
7.0
7.0
User Avatar
Hello there, I have quite extensive experience with linux systems/servers. I've been working for more than 6 years for different web hosting companies and now I'm working as a Senior Linux Engineer/Administrator. I can start right away! If you have questions, please let me know. Regards, Bogdan Stoica
$25 USD in 1 day
5.0 (134 reviews)
6.1
6.1
User Avatar
I have read your requirment. Can you share this work with me. I have been working within these all skills -- Web Designing, Devlopment, Content Writing, illustrator, Photoshop, Logo Design, Speed Optimiztion and all framwork (Wordpress,woocommerce, Magento, Joomla, opencart, shopify) etc. from last 8 years. hope i will be got positive response.
$25 USD in 1 day
5.0 (10 reviews)
5.0
5.0
User Avatar
Hi! I can help you to solve issue in your htaccess rewrite rule. please kindly contact me for more further discussion, thank you.
$30 USD in 1 day
5.0 (37 reviews)
4.9
4.9
User Avatar
Hello there, Hope you are doing good...!!! As per your requirement I am very much suitable for your job. Please invite me for a further chat and we will discuss on our project. I have 5 years of experience in web development, You will always get quality work from me. Thank you
$25 USD in 1 day
4.9 (15 reviews)
4.6
4.6
User Avatar
Hi, i can do that in few hour. Let me know if you want me to do the job. Its just put “www” in front of %HTTP_HOST% in htaccess file. Thanks
$35 USD in 1 day
5.0 (5 reviews)
4.4
4.4
User Avatar
htaccess Expert Hi there..!! I have gone through the project requirement and I am confident enough to fix htaccess issue. I have over 10 years of experience in Development. Lets have a quick conversation on the details to proceed further with this project. Regards Gaurav
$20 USD in 1 day
5.0 (4 reviews)
3.5
3.5
User Avatar
Dear sir/madam, I have 4 years of experience in mobile and web development with wide skill. I am skilled in mobile application development as well as web application development. Qualifications and experience include: ---------------------------------------------------------- -Mobile application development -Web development and web services -Managed and maintained PHP backend for dynamic database -Skilled in CSS/HTML, jQyery, Node.js, Angular.js, Linux and UNIX platform -Experience with all designing tool such as Microsoft project and Apache -Experienced in PHP framework such as Laravel, Codeigniter, Magento, CakePHP. Thank you for your time and consideration, I look forward to hearing from you. Sincerely, Krupali Mangukiya
$30 USD in 1 day
4.4 (20 reviews)
3.8
3.8
User Avatar
hi, I'm a professional php developer with more than 4 years experience. to fix this issue, the simplest solution is to use fallbackressourse in your htacces
$15 USD in 1 day
5.0 (1 review)
0.3
0.3

About the client

Flag of UNITED STATES
Dallas, United States
4.4
3
Payment method verified
Member since Sep 21, 2015

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.