Rewritecond jobs

Filter

My recent searches
Filter by:
Budget
to
to
to
Type
Skills
Languages
    Job State
    426 rewritecond jobs found, pricing in USD

    ...($server !~ /^www./){$server = '' . $server;}}@domains = keys(%domains);foreach $domain(@domains){if ($domain eq $server){print "Location: $domains{$server}nn";$match="yes";last;exit}}unless($match){print "Location: nn";exit}exit ; ``` and the .htaccess file is: ``` RewriteEngine on #RewriteEngine On #RewriteCond %{SERVER_PORT} 80 #RewriteRule ^(.*)$ $1 [R=301,L] RewriteCond %{SERVER_PORT} ^2082$ RewriteRule .* https://%{SERVER_NAME}:2083%{REQUEST_URI} [R,L] # -FrontPage- AuthUserFile /home/feetsdr/public_html/_vti_pvt/ AuthGroupFile /home/feetsdr/public_html/_vti_pvt/ DirectoryIndex <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit

    $22 (Avg Bid)
    $22 Avg Bid
    10 bids

    Urgently needing expertise to resolve a critical WordPress issue. it shows this: # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . / [L # END WordPress instead of showing the website

    $19 (Avg Bid)
    $19 Avg Bid
    30 bids

    I have a website working on. This website is using htaccess file to redirect the site. such as RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ $1 [R,L] Redirection seems working, but the website is showing the error message 403 forbidden.

    $24 (Avg Bid)
    $24 Avg Bid
    24 bids

    For the below htaccess redirect rule is working but below lines are not working. <IfModule mod_rewrite.c> Header set Access-Control-Allow-Origin "*" RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{HTTP_HOST} !^www. [NC] RewriteRule (.*) https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteRule ^([A-Za-z0-9-]+)/?$ $1 [NC,L] RewriteRule ^([A-Za-z0-9-]+)/?$ $1 [NC,L] RewriteRule ^([A-Za-z0-9-]+)/?$ $1 [NC,L] RewriteRule ^([A-Za-z0-9-]+)/?$ $1 [NC,L] RewriteRule ^([A-Za-z0-9-]+)/?$ $1 [NC,L] RewriteRule ^([A-Za-z0-9-]+)/?$ $1 [NC,L] </IfModule>```

    $19 (Avg Bid)
    $19 Avg Bid
    15 bids

    ...com/A/AB/ABC/ABCD/ and would receive A/AB/ABC/ABCD/index.html. But now I want to be able to enter http://localhost/A/AB/ABC/ABCD/ and I want the server to give the information I entered to index.php. So again would receive A/AB/ABC/ABCD/ but now from localhost. I have configured everything but it is not working. My .htaccess file contains: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ $1 [QSA,L] /etc/apache2/ contains: <Directory /var/www> Options FollowSymLinks AllowOverride All Require all granted </Directory> <Directory /var/www/html> Options FollowSymLinks AllowOverride All Require all granted </Directory> I also did: # a2enmod rewrite # service apache2 restart But I am still

    $23 (Avg Bid)
    $23 Avg Bid
    18 bids

    Need small assistance with htaccess. I have the following in htaccess rules but still 2 of the URLs are not redirecting while there is no file and no directory with the same names RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ / [NC,L,QSA] This should ideally take only a few minutes if you know what the issue can be.

    $30 (Avg Bid)
    $30 Avg Bid
    3 bids

    ...(wss://). It seems to us the easiest route is to modify our Apache config and create a proxy so that all connections made to wss:// are securely proxied to our ws:// server that we are able to launch successfully. Here is what our current modifications to our Apache config looks like: -- RewriteEngine On RewriteOptions Inherit ProxyRequests Off ProxyPreserveHost on RewriteCond %{HTTP:Upgrade} "websocket" [NC] RewriteCond %{HTTP:Connection} "Upgrade" [NC] RewriteRule .* "ws://%{REQUEST_URI}" [P] <IfModule mod_proxy.c> ProxyPass "/wss/" "ws://" ProxyPassReverse "/wss/" "ws://" </IfModule> -- We're getting an Apache 426 "upgrade connection" warning when we try to...

    $194 (Avg Bid)
    $194 Avg Bid
    11 bids

    I'm trying to get the htaccess to remove .php from file and also allow cakephp redirect, please fix my .htacces to allow for this RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /$1 [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*)$ $ [NC,L]

    $26 (Avg Bid)
    $26 Avg Bid
    17 bids

    Hi Ray, you did some great work for me before. This is a trivial. I want my htaccess file to redirect anyone looking for a html page to be redirected to a php page. For example, if you were trying to reach , you would end up on Currently I've written this and it isn't working... ErrorDocument 404 / RewriteOptions inherit RewriteEngine on RewriteCond $ !-f RewriteCond $ -f RewriteRule ^(.*).html$ $

    $52 (Avg Bid)
    $52 Avg Bid
    1 bids

    Someone did fix my website for 2 weeks ago and updated everything and now it looks like this Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . [L] Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . [L] Warning: Cannot modify header information - headers already sent by (output started at /customers/6/d/e/:1) in /customers/6/d/e/

    $12 (Avg Bid)
    $12 Avg Bid
    4 bids

    Website is stuck giving bad write errors, continually being infected by hack Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . [L] Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . [L]

    $24 (Avg Bid)
    $24 Avg Bid
    33 bids

    ...RewriteEngine On RewriteCond %{HTTP:Connection} Upgrade [NC] RewriteCond %{HTTP:Upgrade} websocket [NC] RewriteRule "^(/?.*)$" ws://localhost:8000/graphql [P,L] ProxyPass / http://localhost:8000/ #RewriteCond %{SERVER_NAME} = #RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] SSLCertificateFile /etc/letsencrypt/live/ ServerAlias SSLCertificateKeyFile /etc/letsencrypt/live/ Include /etc/letsencrypt/ </VirtualHost> <VirtualHost *:443> ServerName ErrorLog ${APACHE_LOG_DIR}/ CustomLog ${APACHE_LOG_DIR}/ combined RewriteEngine On RewriteCond %{HTTP:Connection}

    $24 (Avg Bid)
    $24 Avg Bid
    19 bids

    hi, i want to modify my .htaccess file to 301 my non-www traffic to my www. I have been using this code RewriteEngine On RewriteCond %{HTTP_HOST} !^$ [NC] RewriteRule ^(.*)$ $1 [L,R=301] But when i do that, my wordpress site in a subdirectory redirects to the main page and does not allow my subscribers to log in. The project is quick and simple, re-write my htaccess to allow for non-www to www redirect without messing with my other Wordpress on the same domain.

    $20 (Avg Bid)
    $20 Avg Bid
    8 bids

    ..."" I have tried this htaccess rule RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} ^/myapp.php$ RewriteCond %{QUERY_STRING} ^p=11 RewriteRule ^(.*)$ [QSD,R=301,L] it redirect to new URL but server says page not found on this server with 404 error. Can you please help me to rewrite the rule so server can serve the page "" against the URL "" My current htaccess is as follows <IfModule mod_headers.c> Header always append X-Frame-Options ALLOWALL </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] Header always set

    $20 (Avg Bid)
    $20 Avg Bid
    4 bids

    there is some issue with .htaccess RewriteCond. this is the log: RewriteCond: cannot compile regular expression '^[a-z0-9]+'

    $17 (Avg Bid)
    $17 Avg Bid
    14 bids

    Greetings everyone, i have a wordpress website that was on Apache and it was working fine but now i converted it to Nginx and its giving me 404 not found on Posts only, the homepage is working fine but not the posts i suppose this is a rewrite rules problem. here is what i found in the error l..."", referrer: "" and here is the only rule that was in .htaccess #This Apache config file was created by Duplicator Installer on 2021-04-10 02:35:54. #The original can be found in archived file with the name .htaccess__[HASH] # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . / [L] </IfModule> # END WordPress

    $90 (Avg Bid)
    $90 Avg Bid
    5 bids

    ...legit visitors (and not "bad" bots/crawlers). The last thing they can try is to replace the wordpress cron with real cron as per this article here Also add this rule in your website's .htaccess file and then test the website's behaviour/cpu usage: #Block all bots except known crawlers RewriteCond %{HTTP_USER_AGENT} ^$ [OR] RewriteCond %{HTTP_USER_AGENT} (bot|crawl|robot|spider) RewriteCond %{HTTP_USER_AGENT} !(uptimerobot|bing|Google|msn|MSR|Twitter|Yandex) [NC] RewriteRule ^(.*)$ - [F,L]...

    $202 (Avg Bid)
    $202 Avg Bid
    14 bids

    Code for redirect is below: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} site.eu$ [OR] RewriteCond %{HTTP_HOST} ^www.site.eu$ RewriteRule (.*)$ $1 [R=301,L] </IfModule> We need everything after " " to be excluded from the redirect.

    $22 (Avg Bid)
    $22 Avg Bid
    11 bids

    I HAVE AN HTACCESS THAT LOOKS LIKE THIS: RewriteCond %{HTTP_HOST} $ RewriteRule ^vids/background.mp4$ vids/background-one.mp4 [N] RewriteRule ^pics/logo.png$ pics/logo-one.png [N] RewriteRule ^pics/background-image.png$ pics/background-image-one.png [L] RewriteCond %{HTTP_HOST} $ RewriteRule ^vids/background.mp4$ vids/background-two.mp4 [N] RewriteRule ^pics/logo.png$ pics/logo-two.png [N] RewriteRule ^pics/background-image.png$ pics/background-image-two.png [L] EVERYTHING WORKS FINE FOR , BUT THERE ARE ERRORS FOR mydomain2.com. FOR EXAMPLE, SHOWS PLEASE MAKE SURE YOU KNOW THE PROBLEM/SOLUTION BEFORE BIDDING. THANKS!

    $20 (Avg Bid)
    $20 Avg Bid
    4 bids

    ...CustomLog /var/log/apache2/ common RewriteEngine On RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteCond %{SERVER_NAME} = [OR] RewriteCond %{SERVER_NAME} = RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost> <VirtualHost *:80> ProxyPreserveHost On ProxyPass / ProxyPassReverse / ServerName ServerAlias ErrorLog /var/log/apache2/ CustomLog /var/log/apache2/ common RewriteEngine On RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteCond %{SERVER_NAME} = [OR] RewriteCond %{SERVER_NAME} = RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost> and

    $22 (Avg Bid)
    $22 Avg Bid
    4 bids

    This means we need to redirect all requests to the site, except for the contents of a couple of directories, to the root. I need a custom RewriteRule and RewriteCond in the Wordpress .htaccess file. attached image to see more info:

    $121 (Avg Bid)
    $121 Avg Bid
    14 bids

    ...RewriteEngine On RewriteBase / RewriteRule ^index.html [QSA] RewriteCond %{QUERY_STRING} page=one RewriteRule ^pics/logo.png pics/logo-one.png RewriteCond %{QUERY_STRING} page=two RewriteRule ^pics/logo.png pics/logo-two.png HERE IS SOME MORE INFO: #This WORKS: #RewriteRule ^pics/logo.png$ pics/logo-one.png #This WORKS: #RewriteCond %{QUERY_STRING} page=one #RewriteRule ^index.html$ index.php #This WORKS: #RewriteCond %{REQUEST_URI} ^/$ #RewriteRule ^index.html$ index.php #This DOES NOT WORK (it's not what I need, but showing issue is not just query_string): RewriteCond %{REQUEST_URI} ^/$ RewriteRule ^pics/logo.png$ pics/logo-one.png #This DOES NOT WORK, and is what I need: #RewriteCond %{QUERY_STRING} page=one #Rew...

    $20 (Avg Bid)
    $20 Avg Bid
    1 bids

    Hi, I'm trying to use htaccess to rewrite urls, if url is rewrite the url to so it uses the proper base directory. I wrote: RewriteCond %{HTTP_HOST} ^(?:www.)?example.com RewriteCond %{REQUEST_URI} !^/example.com/ RewriteRule ^(.*)$ /example.com/www/ [L] But it rewrites all urls so doesn't work.

    $32 (Avg Bid)
    $32 Avg Bid
    15 bids

    whm have problem and i want someone can fix it my site give me this error and i think cpanel have problem RewriteEngine On # Handle Front Controller... RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ [QSA,L] # Disable Directory Listing For Security Options -Indexes # Caching For Static Files To Make Bandwidth Lower <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType text/html "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType ...

    $27 (Avg Bid)
    $27 Avg Bid
    4 bids

    Hi read carefully before bid, please I have a centos apache server with Nginx there have installed Plesk panel i have a web app in sails node js, when i run it run on 1337 port, i have to operate http://myip:1337 i have created .htaccess file with the below code RewriteEngine On RewriteRule ^$ [P,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ $1 [P,L] so when i open domain it opens a web app which is running http://myip:1337 its a backend of react native app there have a chat/message function in-app which wok on web socket but its not working on apache when i remove the tick from "Proxy mode Nginx proxies requests to Apache. Turn off to stop using Apache." then i have to open the domain as

    $13 / hr (Avg Bid)
    $13 / hr Avg Bid
    7 bids

    Hi read carefully before bid, please I have a centos apache server with Nginx there have installed Plesk panel i have a web app in sails node js, when i run it run on 1337 port, i have to operate http://myip:1337 i have created .htaccess file with the below code RewriteEngine On RewriteRule ^$ [P,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ $1 [P,L] so when i open domain it opens a web app which is running http://myip:1337 its a backend of react native app there have a chat/message function in-app which wok on web socket but its not working on apache when i remove the tick from "Proxy mode Nginx proxies requests to Apache. Turn off to stop using Apache." then i have to open the domain as

    $22 / hr (Avg Bid)
    $22 / hr Avg Bid
    7 bids

    Hi read carefully before bid, please I have a centos apache server with Nginx there have installed Plesk panel i have a web app in sails node js, when i run it run on 1337 port, i have to operate http://myip:1337 i have created .htaccess file with the below code RewriteEngine On RewriteRule ^$ [P,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ $1 [P,L] so when i open domain it opens a web app which is running http://myip:1337 its a backend of react native app there have a chat/message function in-app which wok on web socket but its not working on apache when i remove the tick from "Proxy mode Nginx proxies requests to Apache. Turn off to stop using Apache." then i have to open the domain as

    $4 / hr (Avg Bid)
    $4 / hr Avg Bid
    2 bids

    I need to create a script that should read all the sites inside "home" folder of a server with WHM and: 1) if there is not a .htaccess file inside public_html it should create ir with this code: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> 2) if the .htaccess exists ir should add this code at the top Thanks, Francisco

    $24 (Avg Bid)
    $24 Avg Bid
    9 bids

    This is probably something really simple... Here's my .htaccess file: *** Options -Indexes +FollowSymLinks -MultiViews RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !^www. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] Redirect 301 / RewriteRule ^browse/([0-9]+)/?$ $1 RewriteRule ^search/([_A-Za-z0-9-]+)/([0-9]+)/?$ $1&page=$2 RewriteCond %{THE_REQUEST} ^([a-zA-Z0-9-]+) /([a-zA-Z0-9-]+).php HTTP/ RewriteRule ^([a-zA-Z0-9-]+).php $1 [L,QSA] RewriteRule ^([a-zA-Z0-9-]+)/?$ $1 [L,QSA] *** Here's what happens if I visit the url I am trying to redirect: I get a 404 not found and this is the url:

    $23 (Avg Bid)
    $23 Avg Bid
    5 bids

    ...RewriteEngine On Options -Indexes <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*)$ $ RewriteCond %{THE_REQUEST} ^[A-Z]{3,}s([^.]+).php [NC] RewriteRule ^ %1 [R,L] RewriteRule ^([0-9a-zA-Z-_-]+)$ $1 RewriteCond %{HTTP_HOST} !=localhost RewriteCond %{HTTP_HOST} !^www. RewriteRule (.*) https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] #Now, rewrite to HTTPS if www present: RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} !=localhost RewriteCond %{HTTP_HOST} ^www. Rew...

    $30 (Avg Bid)
    $30 Avg Bid
    4 bids

    This is probably something really simple... Here's my .htaccess file: *** Options -Indexes +FollowSymLinks -MultiViews RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !^www. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] Redirect 301 / RewriteRule ^browse/([0-9]+)/?$ $1 RewriteRule ^search/([_A-Za-z0-9-]+)/([0-9]+)/?$ $1&page=$2 RewriteCond %{THE_REQUEST} ^([a-zA-Z0-9-]+) /([a-zA-Z0-9-]+).php HTTP/ RewriteRule ^([a-zA-Z0-9-]+).php $1 [L,QSA] RewriteRule ^([a-zA-Z0-9-]+)/?$ $1 [L,QSA] *** Here's what happens if I visit the url I am trying to redirect: I get a 404 not found and this is the url:

    $26 (Avg Bid)
    $26 Avg Bid
    4 bids

    Need to have this edited to direct all traffic to the non-www site url while making sure https: is used in all cases. <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_USER_AGENT} ^(.+)$ RewriteCond %{SERVER_NAME} ^patrickmullen.com$ [OR] RewriteCond %{SERVER_NAME} ^www.patrickmullen.com$ RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] Header add Strict-Transport-Security "max-age=300" </IfModule>

    $17 (Avg Bid)
    $17 Avg Bid
    5 bids

    ...file to detect mobile device. Google is telling me it is getting a 301 error on iphones when trying to load the page. Can you look at the script and tell me what needs to be fixed? Should take about 10 minutes for someone knowledgeable. RewriteCond %{HTTP_USER_AGENT} android.+mobile|avantgo|bada/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)/|plucker|pocket|psp|symbian|treo|up.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^(1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|b...

    $25 (Avg Bid)
    $25 Avg Bid
    3 bids

    My site is being slowed down by an apparent 301 redirect for HTTP to HTTPS - I'd like this rectified and believe that adding the following code to my HTACCESS will resolve this. RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ $1 [R,L] Essentially this project is to assist me with increasing my score on Pingdom around URL Redirects - currently a C - 80

    $17 (Avg Bid)
    $17 Avg Bid
    12 bids

    ...code for to handle going from www to non www. Also, my site has an htaccess file so I need to rewrite the file without breaking my site. I don't know what the current file is doing. Current HTAccess is: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . / [L] </IfModule> Found blog suggesting something like... RewriteEngine On RewriteCond %{HTTPS_HOST} ^ [NC] RewriteRule ^(.*)$ $1 [L,R=301] I'm looking for the correct text to copy then paste into my htacess file and have it work. I think this is a super simple project for someone that knows what they are doing. Once you provide the new file, I will c...

    $19 (Avg Bid)
    $19 Avg Bid
    4 bids

    Hi, I ...isn't applied for some reason. After saving changes I'd try to create a new post but the permalink stays something like "". So the change to custom permalinks is never applied. My .htaccess file seems to be working fine and has the following rewrite rules: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . / [L] </IfModule> # END WordPress According to all forums and sites I've visited to solve this problem, everything is correct now and it should work but I just can't get it to work. I just need someone to guide me so I can do whatever is needed. I'll pay only when I'm able t...

    $6 / hr (Avg Bid)
    $6 / hr Avg Bid
    4 bids

    I need someone to provide me with the correct .htaccess code to redirect all my Google indexed url's to https://www. The majority are indexed with the 'http://' prefix. I am currently using the following code without success: ## Redirects all http:// requests to the same page, but with https://www. RewriteEngine On RewriteBase / RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_HOST} ^mydomain.net$ [OR] RewriteCond %{HTTP_HOST} ^www.mydomain.net$ RewriteRule .* %{REQUEST_URI} [R=301,L]

    $33 (Avg Bid)
    $33 Avg Bid
    2 bids

    ... using IP eg. Proxy call site from real browser using eg. IP - Run using php 7.x - Run using apache 2.4 using linux - Use curl or something public available - Allow login to wordpress backend - Add custom header like (meta powered by xxx) What i have .htaccess (redirect all calls to ) RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /$1 [NC,L,QSA] //get url from browser $url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; //tell curl a different ip to use curl_setopt($ch, CURLOPT_RESOLVE, array($p_Hostname . ":80:" . $p_IP, $p_Hostname . ":443:&quo...

    $226 (Avg Bid)
    $226 Avg Bid
    5 bids

    ...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 ^([^/]+)/? $1 [L,QSA] RewriteCond %{QUERY_STRING} (.*?)page=(w+)(.*) RewriteCond %{REQUEST_URI} !.(css|js|jpe?g|png|gif|ttf|eot|xml|swf)$ [NC] Rew...

    PHP
    $23 (Avg Bid)
    $23 Avg Bid
    6 bids

    This is the content of a .htaccess apache that need to be converted into NGINX - - - Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^www.(.+) [NC] RewriteRule ^(.*) http://%1/$1 [R=301,NE,L] RewriteCond %{ENV:HTTPS} on RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteEngine on AddDefaultCharset "UTF-8" RewriteRule ^index/?$ [QSA] RewriteRule ^page/([^/.]+)/?$ $1 [QSA] RewriteRule ^AAAAAA/?$ [QSA] RewriteRule ^BBBBBBB/?$ [QSA] RewriteRule ^JOBS/?$ [QSA] RewriteRule ^advert-form/?$ [QSA] RewriteRule ^contact/?$ [QSA] RewriteRule ^AAAAAA/([^/.]+)/?$ $1 [QSA] RewriteRule ^profile/([^/.]+).html/?$ $1 [QSA] RewriteRule

    $23 (Avg Bid)
    $23 Avg Bid
    3 bids

    I have this existing Wordpress .htaccess: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / #RewriteRule ^lang/(.*) /?lang=$1 RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . / [L] </IfModule> # END WordPress Now I would like to transform any URLs that have a '/lang-'. Example: --> Should redirect internally (not fur browser to)

    $22 (Avg Bid)
    $22 Avg Bid
    9 bids

    Hi - I have recently completed an HTML website for a client. The client has installed an SSL certificate on the domain and I have added a rewrite rule to the .htaccess file. Despite this the site will not load over HTTPS and I keep getting an error message "too many redirects occurred". This is the code I added to .htaccess file: RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] I need help to sort this problem out please. DO NOT BID ON THIS IF YOU ARE NOT CERTAIN THAT YOU CAN RESOLVE THIS ISSUE!

    $21 (Avg Bid)
    $21 Avg Bid
    35 bids

    ..."Strictly fabidden.. ErrorDocument 404 /errors/ ErrorDocument 500 "Server gone wild.. # Redirect to domain without www. RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC] RewriteRule .* http://%1%{REQUEST_URI} [R=301,L] # Same for HTTPS: RewriteCond %{HTTPS} on RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC] RewriteRule .* https://%1%{REQUEST_URI} [R=301,L] # Remove trailing slash from non-filepath urls RewriteCond %{REQUEST_URI} /(.+)/$ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ %1 [R=301,L] # Include trailing slash on directory RewriteCond %{REQUEST_URI} !(.+)/$ RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+)$ $1/ [R=301,L] # 301 Redirect URLs. Redirec...

    $31 (Avg Bid)
    $31 Avg Bid
    6 bids

    ...installed a fresh Wordpress site with multisite enabled on AWS ec2 ubuntu instance. I followed all the instructions during the setup. My .htaccess looks like below # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteRule ^index.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*.php)$ $1 [L] RewriteRule . [L] </IfModule> # END WordPress and wp-config looks like below define( 'WP_ALLOW_MULTISITE', true ); define('MULTISITE', true); define('SUBDOMAIN_INSTALL', true);...

    $11 (Avg Bid)
    $11 Avg Bid
    8 bids

    ...subfolder, otherwise: RewriteBase / Options +FollowSymlinks # Redirect http to https RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ $1 [R,L] # to redirect to / RewriteCond %{THE_REQUEST} ^.*/index.php # FAIL IF IN SUBFOLDER RewriteRule ^(.*)$ /$1 [R=301,L] # Not found redirect ErrorDocument 404 /demo # if subfolder, otherwise: ErrorDocument 404 / # Redirects index to / and to / RewriteRule ^index$ /demo # if subfolder, otherwise: RewriteRule ^index$ / #RewriteRule ^index.php$ /demo # FAILS for if in subfolder # RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(d+(?:/.+?)?)/?$ https://www.your-website-name

    $70 (Avg Bid)
    $70 Avg Bid
    10 bids

    I have a Apache Webser and want to deliver WebP over a Script. the script generates from .png and .jpg a .webP if needet. i have startet to write a rewrite rool who does not work: 1. Checking if browser supports WebP 2. Check if File is jpg oder png 3....rewrite rool who does not work: 1. Checking if browser supports WebP 2. Check if File is jpg oder png 3. rewrite all Images in 2 subfolders (Does not Work) Example: /webptest/ --> /webp/ Example: /webptest2/ --> /webp/ ### WEBP RewriteEngine On Options +FollowSymlinks RewriteCond %{HTTP_ACCEPT} image/webp RewriteCond %{REQUEST_URI} (?i)(.*)(.jpe?g|.png)$ RewriteRule ^webptest/(.*).jpg?$ /webp/$ [QSA]

    $39 (Avg Bid)
    $39 Avg Bid
    6 bids

    I have a subdomain , which has an A record pointing ...system information and page content to Google. Privacy Policy This server could not prove that it is ; its security certificate is from recrutodemo.se. This may be caused by a misconfiguration or an attacker intercepting your connection. Proceed to (unsafe) Is there a way to get around this? This is the htaccess for RewriteEngine On RewriteCond %{HTTP_HOST} ^(?:info|career|karriar).?([a-z0-9-]+?.?[a-z0-9]+) [NC] RewriteRule ^ %1/section%{REQUEST_URI}/host/%{HTTP_HOST} [P,L] If I force the browser to accept the SSL exception then the address is displayed as it should and the redirect works correctly.

    $128 (Avg Bid)
    $128 Avg Bid
    25 bids

    I have a subdomain , which has an A record pointin...system information and page content to Google. Privacy Policy This server could not prove that it is ; its security certificate is from recrutodemo.se. This may be caused by a misconfiguration or an attacker intercepting your connection. Proceed to (unsafe) Is there a way to get around this? This is the htaccess for RewriteEngine On RewriteCond %{HTTP_HOST} ^(?:info|career|karriar).?([a-z0-9-]+?.?[a-z0-9]+) [NC] RewriteRule ^ %1/section%{REQUEST_URI}/host/%{HTTP_HOST} [P,L] If I force the browser to accept the SSL exception then the address is displayed as it should and the redirect works correctly.

    $34 (Avg Bid)
    $34 Avg Bid
    10 bids

    Hello. I need to know the proper way to write the following url: to be included in RewriteCond %{HTTP_REFERER} Use Case: I need ONLY users who are referred from the above URL to to be redirected to I have proof of concept when referring by domain/subdomain but require assistance for a specific url. RewriteEngine On RewriteCond %{HTTP_REFERER} example.com [NC] RewriteRule ^cv-services/?$ $1/cv-services-acca$2 [R=301,L]

    $22 (Avg Bid)
    $22 Avg Bid
    10 bids

    ...Require all granted </Proxy> ProxyPreserveHost On ProxyPass /jira retry=0 ProxyPassReverse /jira ProxyPass /synchrony <Location /synchrony> Require all granted RewriteEngine on RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC] RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC] RewriteRule .* ws://%{REQUEST_URI} [P] </Location> ProxyPass /wiki retry=0 ProxyPassReverse /wiki <Location /> Require all granted </Location> RedirectMatch ^/$ https://collab

    $15 (Avg Bid)
    $15 Avg Bid
    2 bids