Clusty
Search for rewriterule at Google
| Results 1 - 52 for rewriterule. (0.35 seconds) |
Smart HTTP and HTTPS RewriteRule Redirects
Smarter SSL HTTPS to HTTP Redirections in .htaccess using RewriteRule to set an environment variable. www.askapache.com/htaccess/http-https-rewriterule-redirect.html |
Plugin Displays all WordPress Rewrite Rules for Permalinks
AskApache RewriteRules Viewer is a simple plugin that makes it easy for developers and code hackers to view the current WordPress RewriteRules at any time. … www.askapache.com/htaccess/rewriterule-viewer-plugin.html |
mod_rewrite tips with RewriteRule and RewriteCond for .htaccess
mod_rewrite tips and tricks for .htaccess files using RewriteBase, RewriteCond, RewriteEngine, RewriteLock, RewriteLog, RewriteLogLevel, RewriteMap, … www.askapache.com/htaccess/mod_rewrite-tips-and-tricks.html |
Fresh .htaccess Examples: Cookies, Variables, Custom Headers
Cookie Manipulation in .htaccess with RewriteRule Got some fresh .htaccess … cookie-name.*$ [NC] RewriteRule .* /login-error/set-cookie-first.cgi [NC,L] … www.askapache.com/htaccess/htaccess-fresh.html |
Mod_Rewrite Basic Examples
RewriteRule have following format. # Each part separated by a space. … In this example, URL is modified and the RewriteRule will be applied again. … www.askapache.com/htaccess/mod_rewrite-basic-examples.html |
Redirect all feeds to FeedBurner with .htaccess
Using the AskApache RewriteRules Viewer plugin for WordPress, we see exactly what … d RewriteRule . /index.php [L] </IfModule> # END WordPress RewriteCond … www.askapache.com/htaccess/redirecting-wordpress-feeds-to-feedburner.html |
Using htaccess to make phpBB Search Engine Optimized
+-vt([0-9]+).html$ /htaccess/viewtopic.php?t=$1 [QSA,L] RewriteRule ^htaccess/post([0-9]+).html$ /htaccess/viewtopic.php?p=$1 [QSA,L] RewriteRule … www.askapache.com/phpbb/using-last-modified-etag-mod_expires-mod_headers-to-seo-phpbb.html |
Using TIME_HOUR and TIME_MIN for htaccess RewriteCond
.htaccess,apache-htaccess,htacess,htacces,htaccess,apache,rewriterule,rewriteengine,rewritebase,rewriterule,rewritecond,time_hour,time_min,variables … www.askapache.com/htaccess/using-time_hour-and-time_min-rewritecond-in-htaccess-2.html |
.htaccess mod_rewrite rewrite examples
RewriteRule ^(.+)\.pdf$ /cgi-bin/pdf-viewer.php?file=$1.pdf [L,NC,QSA] … WordPress RewriteRules Viewer A hit-list of some of my favorite mod_rewrite code … www.askapache.com/htaccess/htaccess-mod_rewrite-rewrite-examples.html |
Rewrite underscores to hyphens for SEO URL
Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule !\. … $1-$2-$3-$4-$5-$6-$7 [E=underscores:Yes] RewriteRule … www.askapache.com/htaccess/rewrite-underscores-to-hyphens-for-seo-url.html |
Commonly Used htaccess Code
Options +FollowSymlinks RewriteEngine On RewriteRule ^/*(.+/)? … [NC] RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301] #If you want to cover both http and … www.askapache.com/htaccess/commonly-used-htaccess-code-examples.html |
HTTPS / SSL Apache Tips, .htaccess Tricks, and Server Hacks
RewriteCond %{HTTPS} !=on RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L] … on RewriteRule "^(/secure/.*)" "https://%{HTTP_HOST}$1" [R=301,L] … www.askapache.com/htaccess/ssl-example-usage-in-htaccess.html |
Alternate Content based on the Time with mod_rewrite in .htaccess
Jul 10, 2007 … Options +FollowSymLinks RewriteEngine On RewriteBase / # 5am > < 8am RewriteCond %{TIME_HOUR} >02 RewriteCond %{TIME_HOUR} <05 RewriteRule … www.askapache.com/htaccess/time_hour-rewritecond-time.html |
Redirecting WordPress index.php to root
Options +FollowSymLinks DirectoryIndex index.php RewriteEngine On RewriteBase / RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule … www.askapache.com/htaccess/redirect-index-blog-root.html |
Replacing ‘%23′ with ‘#’ in incoming links
The Urlencode RewriteRule Goal. So I had to redirect incoming links that contained /article.html%23comment-155. to. /article.html#comment-155. The Solution … www.askapache.com/htaccess/replacing-urlencoded-in-incoming-links.html |
.htaccess File and mod_rewrite examples
d # Existing Directory RewriteRule . /index.php [L] ## ALTERNATIVE … [NC] RewriteRule ^.*\.(bmp|tif|gif|jpg|jpeg|jpe|png)$ http://google.com [R] ## DENY … www.askapache.com/htaccess/ultimate-htaccess-file-sample.html |
Password Protection and Authentication Locking down Apache with …
www\.askapache\.com$ [NC] #RewriteRule ^(.*)$ /$1 [R=301,L] ### STOP LOOP CODE … [NC] #RewriteRule .* /cgi-bin/forbidden.cgi [L] # # AUTHENTICATION … www.askapache.com/htaccess/apache-authentication-in-htaccess.html |
htaccess Tutorial for Apache Webmasters
1\.1\.1\.1 RewriteRule .* http://www.htaccesselite.com [R=302,L] … temporary-offline\.html$ RewriteRule .* /temporary-offline.html [R=302,L] … www.askapache.com/htaccess/htaccess-for-webmasters.html |
mod_rewrite Fix for Controlling updated files and Caches
RewriteEngine On RewriteBase / RewriteRule ^j/apache-([0-9]+)\.js$ /j/apache.js [L] RewriteRule ^c/apache-([0-9]+)\.css$ /c/apache.css [L] … www.askapache.com/htaccess/mod_rewrite-fix-for-caching-updated-files.html |
301 on AskApache
mod_rewrite tips with RewriteRule and RewriteCond for .htaccess … www.askapache.com/htaccess/http-https-rewriterule-redirect.html … www.askapache.com/search/-301/ |
Hacking WP Super Cache for Speed
RewriteCond %{HTTP:Accept-Encoding} gzip RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f RewriteRule ^(. … www.askapache.com/htaccess/hacking-wp-super-cache-for-speed.html |
301 Redirectmatch, Redirect, and mod_rewrite
RewriteRule .* http://www.askapache.com/$1 [R=301,L] RewriteRule ^(.*)\.html([^c]+)comment-(.+)$ http://www.askapache.com/$1.html#comment-$3 [R=301,L,NE] … www.askapache.com/htaccess/301-redirect-with-mod_rewrite-or-redirectmatch.html |
SSL Content Warning Security Fix
RewriteEngine On RewriteBase / RewriteRule ^htaccess/googleplayer\.swf(.*)$ http://video.google.com/googleplayer.swf$1 [L] RewriteRule ^htaccess/youtube/(. … www.askapache.com/htaccess/mixed-ssl-content-warning-secure-fixed.html |
.htaccess file for Powweb
http://www.site.com/$1 [R=301,L] ### CACHEABLE FILES RewriteRule ^z/j/site-([0-9]+)\.js$ /z/j/site.js [L] RewriteRule ^z/c/site-([0-9]+)\.css$ /z/c/site.css … www.askapache.com/htaccess/powweb-htaccess.html |
Environment on AskApache
Using Apache Environment Variables in .htaccess files with RewriteRule, SetEnvIf, … Smart HTTP and HTTPS RewriteRule Redirects: Smarter SSL HTTPS to HTTP … www.askapache.com/search/-environment/ |
Site Map for AskApache.com
Smart HTTP and HTTPS RewriteRule Redirects: Smarter SSL HTTPS to HTTP Redirections in .htaccess using RewriteRule to set an environment variable … www.askapache.com/about/site-map/ |
302 on AskApache
As an option, this specify external redirect 302 (Temorary) # RewriteRules may have additional Conditions. RewriteCond STRING expression [optional flags] … … www.askapache.com/search/-302/ |
Apache SSL in htaccess examples
on RewriteRule ^(/secure/.*) https://%{HTTP_HOST}$1 [R=301,L] … RewriteRule ^/(.*):SSL$ https://%{SERVER_NAME}/$1 [R,L] RewriteRule ^/(. … www.askapache.com/htaccess/apache-ssl-in-htaccess-examples.html |
503 Status Code Search Engine SEO
cgi-bin/error/503\.php [NC] RewriteRule .* /cgi-bin/error/503.php RewriteCond %{REMOTE_HOST} !^1\.1\.1\.1 RewriteCond %{REQUEST_URI} ! … www.askapache.com/htaccess/503-service-temporarily-unavailable.html |
301 Redirect on AskApache
www.askapache.com/htaccess/http-https-rewriterule-redirect.html. mod_rewrite tips with RewriteRule and RewriteCond for .htaccess … www.askapache.com/search/301-redirect/ |
Articles on AskApache
mod_rewrite tips with RewriteRule and RewriteCond for .htaccess … Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule !\. … www.askapache.com/search/-articles/ |
Blocking Bad Bots and Scrapers with .htaccess
Blocking Bad Robots and Web Scrapers with RewriteRules ..... Jernej 04.14.08 at 7:53 am. SetEnvIfNoCase vs RewriteRules ? Which one is faster ? … www.askapache.com/htaccess/blocking-bad-bots-and-scrapers-with-htaccess.html |
301 Redirect Cheatsheet - mod_rewrite, javascript, cfm, perl, php …
… to site.com/thisword.html to http://www.askapache.com RewriteEngine On RewriteBase / RewriteRule ^thisword\.html$ http://www.askapache.com [R=301,NC,L] … www.askapache.com/htaccess/list-of-methods-to-redirect-users-to-different-page.html |
Feeds on AskApache
Redirecting Wordpress Feeds to Feedburner · Smart HTTP and HTTPS RewriteRule Redirects · Redirect all feeds to FeedBurner · SEO Redirects without … … www.askapache.com/search/feeds/ |
Give visitors the choice to open or save a pdf using .htaccess and php
WordPress RewriteRules Viewer .htaccess and php example serves .pdf files to give visitors the choice to open in an external program or save to disk wRead … www.askapache.com/htaccess/pdf-plugin-adobe.html |
Fight Blog Spam with Apache
Also, Cindy alerted me to the fact that adding: RewriteCond %{HTTP:VIA} ^.+pinappleproxy [NC] RewriteRule .* - [F] Will also catch a lot of the spammers. … www.askapache.com/htaccess/fight-blog-spam-with-apache.html |
.htaccess - Wikipedia
[NC] RewriteRule \.(gif|jpg)$ http://www.example.com/hotlink.gif [R,L] … www\.sitename\.com$ [NC] #case-insensitive RewriteRule ^(. … www.askapache.com/htaccess/htaccess-wikipedia.html |
Log all .htaccess/.htpasswd logins
login*\.php$ RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},E=REMOTE_USER:%{ENV:REDIRECT_REMOTE_USER}] <Files login.php> AuthName "Protection" … www.askapache.com/htaccess/htaccess-htpasswd-basic-auth.html |
Update: AskApache Password Protect Plugin
RewriteRule .* - [F]. this would exclude people for browsing or direct calling the plugins or template stuff except for the blog software itself. just a … www.askapache.com/wordpress-plugins/securing-htaccess-plugin.html |
url Rewrite on AskApache
mod_rewrite tips with RewriteRule and RewriteCond for .htaccess … When RewriteRule that changes URL is matched, modified URL will go through Next … … www.askapache.com/search/url-rewrite/ |
Set Environment Variables According To URL
RewriteEngine On RewriteBase / RewriteRule ^(.*)/S=([^/]+)/(.*)$1/$3 [E=STATUS:$2]. From: Set Environment Variables According to URL … www.askapache.com/htaccess/set-environment-variables-according-to-url.html |
Block on AskApache
and by giving the variable a value of “https” for HTTPS or “http” for HTTP I can remove all duplicate rewriterule blocks. This is sweet I’m telling you! … www.askapache.com/search/-block/ |
Askapache on AskApache
mod_rewrite tips with RewriteRule and RewriteCond for .htaccess .... Smarter SSL HTTPS to HTTP Redirections in .htaccess using RewriteRule to set an … www.askapache.com/search/-askapache/ |
seo on AskApache
mod_rewrite tips with RewriteRule and RewriteCond for .htaccess … http://subdomain.domain.tld/$1 [L,R=301] ## SEO REWRITES ### RewriteRule ^(.*)/ve/(. … www.askapache.com/search/-seo/ |
url on AskApache
mod_rewrite tips with RewriteRule and RewriteCond for .htaccess … In this example, URL is modified and the RewriteRule will be … … www.askapache.com/search/-url/ |
Setenvifnocase on AskApache
SetEnvIfNoCase vs RewriteRules ? Which one is faster ? … mod_rewrite tips with RewriteRule and RewriteCond for .htaccess … www.askapache.com/search/-SetEnvIfNoCase/ |
Shell on AskApache
Smart HTTP and HTTPS RewriteRule Re · CSS Cross-Browser Compatibility Tip · AskApache … www.askapache.com/htaccess/http-https-rewriterule-redirect.html … www.askapache.com/search/-shell/ |
Htaccess Html on AskApache
mod_rewrite tips with RewriteRule and RewriteCond for .htaccess … www.askapache.com/htaccess/rewriterule-viewer-plugin.html … www.askapache.com/search/htaccess-html/ |
Cookies on AskApache
www.askapache.com/htaccess/http-https-rewriterule-redirect.html … Smart HTTP and HTTPS RewriteRule Re · htaccess Tricks for Webmasters · Fresh .htaccess … www.askapache.com/search/-cookies/ |
404 php on AskApache
mod_rewrite tips with RewriteRule and RewriteCond for .htaccess .... WordPress RewriteRules ViewerLogin to Google AdSense using PHP » … … www.askapache.com/search/-404.php/ |
htaccess Security on Apache
Options -ExecCGI -Indexes -All RewriteEngine On RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS|HEAD) RewriteRule .* - [F] RewriteEngine Off … www.askapache.com/htaccess/securing-subdirectories-with-htaccess.html |
Password Protect your Blog with Apache .htaccess and .htpasswd
[NC] RewriteRule ^/?wordpress/?(.*) http%1://%2%3example.com/ [NC,L,R=302] RewriteCond … d RewriteRule . /wordpress/index.php [NC,L] </IfModule> … www.askapache.com/wordpress/htaccess-password-protect.html |