Likes Received By johnt
-
bentong liked johnt's post in the thread rewrite help please.
What other RewriteRules do you have set up ? I don't see any way that the Rule you posted above can change the URL visible in the...
Nov 25, 2005 -
dj1471 liked johnt's post in the thread Yet another mod_rewrite question.
try RewriteCond %{QUERY_STRING} name=whatever&op=load&file=blah RewriteRule ^modules.php$ someotherpage123.html [R=301,L] I think that...
Nov 15, 2005 -
nicknick liked johnt's post in the thread How can you ignore subdomains with mod_rewrite?.
Before your RewriteRule doing the redirect, add RewriteCond %{HTTP_HOST} !^ssl.mydomain.com$
Oct 27, 2005 -
tflight liked johnt's post in the thread 301 Redirect Site-wide Except Homepage.
RewriteEngine on RewriteCond %{REQUEST_URI} !^\/index.html$ RewriteCond %{REQUEST_URI} !^\/$ RewriteRule ^(.*)$...
Oct 24, 2005 -
clay15 liked johnt's post in the thread Redirect individual pages.
If I'm reading you right, clay15, you want to redirect any page on 1 domain to the same page on another domain ? If that is what you're...
Oct 17, 2005 -
dct liked johnt's post in the thread Help Needed with preg_replace.
You could also have told the expression to be ungreedy - by default the pattern will match the largest amount of text that it can, so it...
Oct 16, 2005 -
SEbasic liked johnt's post in the thread Adding a form variable to a php config file.
You can get cookie variables from the global $_COOKIES array, so you could use if ( isset($_COOKIE['cookiename']) ) { $variable_name =...
Oct 13, 2005 -
JonahViaKeyboard liked johnt's post in the thread Tricky 301 Redirect Help.
Try RewriteEngine on RewriteCond %{REQUEST_URI} ^/folder/mt-comments.cgi RewriteCond %{QUERY_STRING} __mode=red RewriteRule (.*)...
Oct 12, 2005 -
blackbug liked johnt's post in the thread mod_rewrite ignore query string..
I think that you can strip an existing query string from a redirect by using a ? at the end, i.e RewriteCond %{REQUEST_URI} ^index2.php...
Oct 9, 2005 -
T0PS3O liked johnt's post in the thread (PHP) Instant Browser Output.
Sounds like it could be the output_buffering php.ini setting ( maybe ). Have a look at http://www.php.net/manual/en/ref.outcontrol.php....
Sep 23, 2005 -
THT liked johnt's post in the thread Regular Expression to lower case.
The newline is not a problem per se, its just treated like any other character, so the "ALT=..." etc will also cause problems. If you...
Sep 14, 2005 -
dct liked johnt's post in the thread Mod Rewrite - rewrite rule.
If you put the [L] flag onto the end of the RewriteRule it will tell it that this is the last rule to be applied, and it should stop an...
Sep 13, 2005 -
Tommo liked johnt's post in the thread Adding RSS feed...real stupid question..sorry!.
In the html head section put <link rel="alternate" type="application/rss+xml" title="My RSS Feed" href="my-url.rss"> That way Firefox...
Aug 30, 2005 -
brittanyk liked johnt's post in the thread Google gets geocoding patent.
Google was yesterday granted a patent for translating postal addresses into latitude / longitude coordinates - from searchenginewatch....
Aug 24, 2005 -
Weirfire liked johnt's post in the thread Mod Rewrite Beginners Query.
I think that you've got it twisted around. The code that you posted should turn /singlearticle/articleid/1/ into...
Aug 22, 2005 -
nevetS liked johnt's post in the thread horizontal drop down menu.
Check out http://gosu.pl/dhtml/mygosumenu.html
Aug 18, 2005 -
Liminal liked johnt's post in the thread mod_cond/mod_rewrite help needed.
I wonder if something like the following would work RewriteRule /search/(.*)/|(.*) $1//$2 [next] RewriteCond...
Aug 5, 2005 -
ResaleBroker liked johnt's post in the thread New Google patent application.
Google have filed a new patent application dealing with linking directly to specific parts of a document, based on the snippet returned...
Jul 12, 2005 -
SEbasic liked johnt's post in the thread site: command N/A in Google API?.
It started around the start of the year, if memory serves. There've been 1 or 2 mentions about on Google groups (...
Jun 17, 2005