Rewrite Rule with special characters

Back to seo general.

*7e4c0b    (2009-05-07)
Rewrite Rule with special characters


I'd like to modify my .htaccess file to be able to use this kind of url :

Does anyone know how to write the rewrite rule ?  I've tried these ones so far, but I have either an internal server error or the home page in return :

RewriteRule ^?(.*)\.html$  /page.php?word=$1  [L]

RewriteRule ^\?(.*)\.html$  /page.php?word=$1  [L]

RewriteRule ^([?])(.*)\.html$  /page.php?word=$2  [L]

RewriteRule ^([\?])(.*)\.html$  /page.php?word=$2  [L]

Thanks in advance

See also

More websites

You must register to see these links, as this is a collaborative page, then you may change the order of the links by clicking the icons before the titles.

Other websites

The following links might be less relevant, please change their ranks if you find them useful.

 htaccess * problem [Archive] - PowWeb Community Forums
forum.powweb > archive/index.php/t 73605
  1. I found out why my rewrite rule is failing, it is because hexcode
  2. Hi There, So I've used htaccess before to rewrite urls to make
 URL Rewriting | redirecting URLs with Apache’s mod_rewrite || HTMLSource ]
yourhtmlsource > sitemanagement/urlrewriting

 mod_rewrite and special characters - HELP! - Usenet Forums
usenet forums > linux web servers/4568 mod

I am using mod_rewrite with a small PHP content...

 Custom Rewrite Rules [Site Map] - vBulletin SEO Forums
vbseo > sitemap/f 23

Am i doing this right ?? because its not working for me...

 Lighttpd - Docs:ModRewrite - lighty labs
redmine.lighttpd > wiki/lighttpd/Docs:Mod

 Special Characters In The Web Address
trap17 > index.php/special characters web address t55259

 RewriteRule directive
micronovae > Mod

is specified, it can be any numeric redirect status code, or...
With this option, when the URL is replaced, the original querystring...

 mod_rewrite decoding special characters - SitePoint Forums
sitepoint > forums/showthread.php?p=3555065

There's just one thing I don't quite understand yet, though: in de...
I'm using Firefox and it doesn't have problems with cacheing -...

 Rewrite rules for maintenance of multiple domains
zms publishing > support/content/e732/e736/e947/e1763/index eng

 RewriteRule help, please!
webmaster talk > coding forum/71698

, but have the files coming from public_html/apps/vip ? If...
Hello, this is my first post here, and I apologize for it being a...

 Apache .htaccess rewriterule SEO friendly : rewriterule, seo, htaccess
experts exchange > Web Development/Web Languages Standards/PHP/Q 22484654

Hi, I would like to have the users redirected to a SEO friendly...

 mod_rewrite urlencode and special characters | Perplexed Labs
perplexedlabs > 2008/03/20/mod

 UniCenter New Users - mod rewrite
center.uniformserver > new users mod

 URL Rewrites & Redirects: The Gory Details (Part 1 of 2)
searchengineland > url

See How To Articles And More In Our Members Library...
Column: 100% Organic - Search Engine Optimization...

 Using rewrite rules
kb.mediatemple > questions/85/Using+

/request/ If mod_rewrite is working you'll see that the browser has...
/request/werwqerasdfas will match this rule just as well as...
' which should always be substituted with your actual domain...

 Mod rewrite syntax Tutorial - Mod Rewrite Regular Expressions
webforgers > mod

 Mod_Rewrite Forums :: View topic - Redirection with Mod_Rewrite
forum.modrewrite > viewtopic.php?t=1445

RewriteRule ^(var1)/no-var/(var2)$ /to-use-variables-type-$1-and-$2...
RewriteCond %{CONDITION_STUFF} ^(var1)/no-var/(var2) RewriteRule...
To use a combination of the Condition and Rule Variables RewriteCond...

 Talk:URL rewrite in IIS - Meta
meta.wikimedia > wiki/Talk:URL

 Apache(2.2)日本語マニュアル - The Japanese manual of Apache HTTP Server 2.2
pinkdragon > doc lib/contents/ja/apache 2 2 man/mod/mod

 Apache Rewrite Cheatsheet : BorkWeb
borkweb > story/apache

This flag chains the current rule with the next rule (which itself...
as pictures tell 1,000 words (click for a larger...

 .htaccess tricks and tips.. part two: url rewriting with mod rewrite.
corz > serv/tricks/htaccess2.php

and later, finding all this information useful in chasing down wonky...
sometimes again and again and again… I personally feel it's...

 iPlanet Messaging Server 5.2 Administrator's Guide: Chapter 7 Configuring Rewrite Rules
docs.sun > source/816 6009 10

Portion of domain specification that matched, preserving from the...
Host name (first portion of fully qualified domain...

 DO NOT REPLY [Bug 36986] New: - mod_rewrite special character codes %23, %26, %2F problem
mail archives.apache > mod mbox/httpd bugs/200510.mbox/%3C20051010104015.2C01224

 Rewrite rule for => · Textpattern CMS Support Forum
forum.textpattern > viewtopic.php?pid=139379

 Stupid htaccess Tricks • Perishable Press
perishablepress > press/2006/01/10/stupid htaccess tricks - Powered By Kayako eSupport
support.webhostingpad > index.php? m=knowledgebase& a=viewarticle&kbarti

 Using Rewrite Maps in URL Rewrite Module : Using URL Rewrite Module : Installing and Configuring IIS 7.0 : The Official Microsoft IIS Site
learn.iis > page.aspx/469/using

- this element specifies that URL rewrite module needs to redirect...
- this element specifies that URL rewrite module needs to rewrite...
- this conditions checks if the value returned from rewrite map...

 Module mod_rewrite for HTTP Server (powered by Apache) > iseries/v5r2/ic2924/info/rzaie/rzaiemod

parameter is a comma -serapertaed list of the following...
http://otherhost/otherpath/pathinfo via external redirection (the [R]...
CondPattern is a standard Extended Regular Expression with some...

 Apache URL Redirection with mod-rewrite []
systemengineers > apache/tutorials/mod

to match any word, or group of letters, then any single number, and...
to match any word, or group of letters, then any group of numbers,...

 Using .htaccess to replace special characters in URLs
forums.digitalpoint > showthread.php?t=278494

ASP Script to replace certain characters from a database with...
Running a SQL query to replace certain characters in a... | URL Rewriting with mod_rewrite
layouts4free > articles/view article/21/9/0


Guest name   (option)     Register
Please sum : 1960 + seven  

Trackbacks : If you talked about this article in your blog or website, you may instantly get a backlink 
There's no trackback at the moment.