Filtre

Son aramalarım
Şuna göre filtrele:
Bütçe
ile
ile
ile
Tür
Beceri
Diller
    İş Durumu
    632 rewriterule iş bulundu, ücretlendirmeleri EUR

    ...$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 PUT DELETE> order deny,allow deny

    €20 (Avg Bid)
    €20 Ortalama Teklif
    10 teklifler

    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

    €18 (Avg Bid)
    €18 Ortalama Teklif
    30 teklifler

    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.

    €22 (Avg Bid)
    €22 Ortalama Teklif
    24 teklifler

    For the below htaccess redirect rule is wo...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>```

    €18 (Avg Bid)
    €18 Ortalama Teklif
    15 teklifler

    ...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 getting an error in the browser:

    €21 (Avg Bid)
    €21 Ortalama Teklif
    18 teklifler

    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.

    €28 (Avg Bid)
    €28 Ortalama Teklif
    3 teklifler

    ...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 connect to this. When applying to the job please put "DONT IGNORE ME" ...

    €179 (Avg Bid)
    €179 Ortalama Teklif
    11 teklifler

    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]

    €24 (Avg Bid)
    €24 Ortalama Teklif
    17 teklifler

    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 RewriteEngin...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$ $

    €48 (Avg Bid)
    €48 Ortalama Teklif
    1 teklifler

    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/

    €11 (Avg Bid)
    €11 Ortalama Teklif
    4 teklifler

    Busco desarrollador con experiencia en RewriteRule para arreglos de filtros en la paginas Coloco ejemplos Acual: Como quiero el arreglos: Utilizo wordpress y una plantilla de pago la web es de videos

    €21 (Avg Bid)
    €21 Ortalama Teklif
    7 teklifler

    ...r3wqfew/ should redirect to (something like this)... Here is my script maker said: Did you drop using Apache and switched to Nginx? The problem is that this URL: Is rewritten here: By this rewrite rule in /admin/.htaccess: RewriteRule ^billings/([^/]*)/ec0a74fd48e3abb9af3739c5bfb0acc7.php$ billings/$1/$ [L,QSA] The fact that virtual URL gives 404 means that either Apache, or mod_rewrite is not working. If you migrated your project to nginx, you may be missing these system rewrites: # admin panel rewrites rewrite ^/admin/posts_for_(.*).php$ /admin/$1 last; rewrite ^/admin/feeds/(

    €94 (Avg Bid)
    €94 Ortalama Teklif
    5 teklifler

    We need mod_rewrite for the .htaccess file. The following structure has to be achieved: www.domain.co... Where: gb/de is language/location page-1 is a webpage directory-1/ is a directory/folder and should be accessed by its own file The mod_rewrite should look like something like: RewriteRule ^([^/]+)/?$ $1 [NC,L] RewriteRule ^([^/]+)/([^/]+)/?$ $1&directory=$2 [NC,L]

    €14 (Avg Bid)
    €14 Ortalama Teklif
    3 teklifler

    I need an .htaccess and rewriterule expert to modify .htaccess file. We want to include 404 page. Now file includes IfModule with some rules. We may need to update that too.

    €26 (Avg Bid)
    €26 Ortalama Teklif
    19 teklifler

    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]

    €22 (Avg Bid)
    €22 Ortalama Teklif
    33 teklifler

    ...[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} Upgrade [NC] RewriteCond %{HTTP:Upgrade} websocket [NC] RewriteRule "^(/?.*)$"

    €22 (Avg Bid)
    €22 Ortalama Teklif
    19 teklifler

    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.

    €18 (Avg Bid)
    €18 Ortalama Teklif
    8 teklifler

    ...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 Content-Security-Policy "upgrade-insecure-requests;"

    €18 (Avg Bid)
    €18 Ortalama Teklif
    4 teklifler

    I need to fix 2 points : 1. change private IP to public IP for the webserver that web site can be run 2. fix this code that pages can be run : RewriteRule ^([^/.]+)/?$ $1 RewriteRule ^([^/.]+)/([^/.]+)?$ $1&page=$2 RewriteRule ^([^/.]+)/([^/.]+)/([^/.]+)?$ $1&items=$2&page=$3 RewriteRule ^([^/.]+)/([^/.]+)/([^/.]+)/([^/.]+)?$ $1&items=$2&countries=$3&page=$4 work take maximam 2 hours by teamveiwer or anydask the operating system is windows server 2012 r2

    €5 / hr (Avg Bid)
    €5 / hr Ortalama Teklif
    3 teklifler

    I need to fix 2 points : 1. change private IP to public IP for the webserver that web site can be run 2. fix this code that pages can be run : RewriteRule ^([^/.]+)/?$ $1 RewriteRule ^([^/.]+)/([^/.]+)?$ $1&page=$2 RewriteRule ^([^/.]+)/([^/.]+)/([^/.]+)?$ $1&items=$2&page=$3 RewriteRule ^([^/.]+)/([^/.]+)/([^/.]+)/([^/.]+)?$ $1&items=$2&countries=$3&page=$4 work take maximam 2 hours by teamveiwer or anydask the operating system is windows server 2012 r2

    €6 / hr (Avg Bid)
    €6 / hr Ortalama Teklif
    4 teklifler

    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

    €83 (Avg Bid)
    €83 Ortalama Teklif
    5 teklifler

    ...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]...

    €186 (Avg Bid)
    €186 Ortalama Teklif
    14 teklifler

    ...RewriteOptions inherit RewriteEngine on RewriteRule ^$ RewriteEngine on RewriteRule ^port-stephens/quad-bike/$ port-stephens/quad-bike/ RewriteEngine on RewriteRule ^port-stephens/quad-bike/$ port-stephens/quad-bike/ RewriteEngine on RewriteRule ^port-stephens/quad-bike/$ port-stephens/quad-bike/ RewriteEngine on RewriteRule ^port-stephens/quad-bike/$ port-stephens/quad-bike/ RewriteEngine on RewriteRule ^nelson-bay/quad-bike/$ nelson-bay/quad-bike/ RewriteEngine on RewriteRule ^nelson-bay/quad-bike/quad-biking-family-package

    €17 (Avg Bid)
    €17 Ortalama Teklif
    5 teklifler

    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.

    €20 (Avg Bid)
    €20 Ortalama Teklif
    11 teklifler

    ...Current user profile URLs: RewriteRule ^profile/model/(.*)/([0-9]+)/(.*)/(.*) $1&iModelId=$2&vModelName=$3&msg=$4 RewriteRule ^profile/model/(.*)/([0-9]+)/(.*) $1&iModelId=$2&vModelName=$3 RewriteRule ^profile/model/(.*)/([0-9]+) $1&iModelId=$2 Example: replace: /profile/model/O-8/iModelId/vModelName with: /vModelName result: <link href="" rel="canonical"/> Current Category Section: RewriteRule ^category-models/([0-9]+)/([0-9]+)/([0-9]+)/(.*).html $3&nstart=$1&start=$2 RewriteRule ^category-models/([0-9]+)/(

    €28 (Avg Bid)
    €28 Ortalama Teklif
    1 teklifler

    I currently have the following rewrite rule: RewriteRule ^([^/]*)/([^/]*)$ /$1&page=$2 [L] If somebody goes to It loads However, this stops people going to other directories. So if we had a folder called test, you cannot go to I am looking for somebody to adjust this line so that you can still visit directories like /test or /example

    €14 (Avg Bid)
    €14 Ortalama Teklif
    23 teklifler

    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!

    €18 (Avg Bid)
    €18 Ortalama Teklif
    4 teklifler

    ...log 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>

    €20 (Avg Bid)
    €20 Ortalama Teklif
    4 teklifler

    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:

    €112 (Avg Bid)
    €112 Ortalama Teklif
    14 teklifler

    ...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=o...

    €18 (Avg Bid)
    €18 Ortalama Teklif
    1 teklifler

    I believe my client site has been hacked. I see 3 files created in the last month, and the htaccess file was modified. 10/29/20 10/4/20 10/29/20 the htaccess file references the file. RewriteRule . [L,S=10000] When accesing the site via a page on google search results, I get a 'too many redirects' error. and all rankings have fallen considerably. I deleted the 3 files and delete the reference to in the htaccess file. Now I'm getting a 500 error. I need help getting the site up and running.

    €54 (Avg Bid)
    €54 Ortalama Teklif
    16 teklifler

    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.

    €30 (Avg Bid)
    €30 Ortalama Teklif
    15 teklifler

    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 text/x-...

    €25 (Avg Bid)
    €25 Ortalama Teklif
    4 teklifler

    i have a node js web app in sails which run on http://localhost:1337 i want to run this on my domain i dont want i want it run i am using plesk panel on centos server help please

    €3 / hr (Avg Bid)
    €3 / hr Ortalama Teklif
    10 teklifler

    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

    €12 / hr (Avg Bid)
    €12 / hr Ortalama Teklif
    7 teklifler

    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

    €20 / hr (Avg Bid)
    €20 / hr Ortalama Teklif
    7 teklifler

    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 Ortalama Teklif
    2 teklifler

    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

    €22 (Avg Bid)
    €22 Ortalama Teklif
    9 teklifler

    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:

    €21 (Avg Bid)
    €21 Ortalama Teklif
    5 teklifler

    ...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. RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] ------ HERE MY NGINX location ~* ...

    €28 (Avg Bid)
    €28 Ortalama Teklif
    4 teklifler

    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:

    €24 (Avg Bid)
    €24 Ortalama Teklif
    4 teklifler

    Hello, I added a domain to CWP on Centos 7. The HTACCESS file is being overwritten whenever I visit Then when it's overwritten with the lines below. ----------------- <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteRule ^.*[-](d+)/(.*)/$ scripts/index.php?id=$1&%{QUERY_STRING} [L] RewriteRule ^.*i/(.*)/$ scripts/index.php?cat=$1&%{QUERY_STRING} [L] </IfModule> ----------------- I get this error when I visit the domain after the lines above are added by the system automatically: ----------------- Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. ----------------- I don't use wordpress. Please tell me what you did to fix this i...

    €30 (Avg Bid)
    €30 Ortalama Teklif
    15 teklifler

    Tiny project for someone who knows how to fix this. We have a new website which has just been migrated to a host, however the permalinks are messed up and the site is not displaying the correct URL structure for product categories or products. I suspect this requires a rewriterule in htaccess, but don't have time to troubleshoot and fix it myself. Someone with experience in writing rewrite rules and regex and WooCommerce permalinks will be able to fix this within minutes so bid accordingly.

    €17 (Avg Bid)
    €17 Ortalama Teklif
    15 teklifler

    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>

    €16 (Avg Bid)
    €16 Ortalama Teklif
    5 teklifler

    I have a rewrite condition in my htaccess 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|...gh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|xda(-|2|g)|yas-|your|zeto|zte-) [NC] RewriteRule ^(?!mobile)(.*)$ http://%{HTTP_HOST}/mobile/$1...

    €23 (Avg Bid)
    €23 Ortalama Teklif
    3 teklifler

    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

    €16 (Avg Bid)
    €16 Ortalama Teklif
    12 teklifler

    ...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 copy and past...

    €18 (Avg Bid)
    €18 Ortalama Teklif
    4 teklifler

    Hi, I need a...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 to cha...

    €6 / hr (Avg Bid)
    €6 / hr Ortalama Teklif
    4 teklifler

    ...error ----------------------------------- GETCode 500 The "HTTP_AUTHORIZATION" or "REDIRECT_HTTP_AUTHORIZATION" is missing in the global variable $_SERVER on your server. Be sure you added the RewriteRule as mentioned in the documentation. If you did that, please contact your provider and ask him how to do make one of these available, otherwise authentication is not working. ----------------------------------- {"code":"rest_missing_header","message":"The "HTTP_AUTHORIZATION" or "REDIRECT_HTTP_AUTHORIZATION" is missing in the global variable $_SERVER on your server. Be sure you added the RewriteRule as mentioned in the documentation. If you did that, please contact your provider and ask him how...

    €26 (Avg Bid)
    €26 Ortalama Teklif
    3 teklifler

    Hi, i need a catch-all function for the URL shortener (). Catch-all function means, all not shortened urls should be redirected to another domain. RewriteRule (.*) $1 URL examples: is shortened in the urls shortener = is redirected by the url shortener is not shortened by the url shortener = should be redirected from the catch-all function to If i add the to the url shortener it should be redirected than from the url shortener and not more from the catch-all function. If i delite the from the url shortener it should be than redirected from the catch-all

    €20 (Avg Bid)
    €20 Ortalama Teklif
    2 teklifler