Hi,
I've been using apache's rewriting to change our arcane CMS URLs into
something more search engine friendly. It's been working well except
for one minor issue. Every now and then our CMS will generate a form
(e.g. to search for items or add to cart, etc) with a form tag like
this using our o
On Thu, Mar 13, 2008 at 6:57 AM, Edd Dawson <[EMAIL PROTECTED]> wrote:
>
> RewriteRule ^/merchantnameproductname2 /merchant\.php\?i\=1\&j\=2
> [PT,QSA,NS,NE]
There seems to be a bunch of superfluous backslash escaping going on
here. Why "\?" and not simply "?" for example? That may be messing up
I have a bit of a 301 puzzle here that I can't quite solve, and maybe
someone can help me out.
I have 3 pages:
page 1= /merchant.php?i=1
page 2= /merchant.php?i=1&j=2
page 3= /merchant.php?=1&j=2
I want to us a combination of url-rewriting and 301 redirects so they so a
request to the old page u
On 09.07.07 17:25, Ki Song wrote:
> I want to redirect visitors from http://www.foo.com/folder/index.html to
> http://folder.foo.com/index.html
>
> What is the best way to accomplish this?
Wouldn't be better redirecting from http://www.foo.com/folder/ to
http://folder.foo.com/index.html ? If so,
> I want to redirect visitors from http://www.foo.com/folder/index.html to
> http://folder.foo.com/index.html
>
> What is the best way to accomplish this?
RedirectMatch permanent /([^/]*)/index.html http://$1.foo.com/index.html
Mark.
--
Mark Watts BSc RHCE MBCS
Senior Systems Engineer
Qineti
I want to redirect visitors from http://www.foo.com/folder/index.html to
http://folder.foo.com/index.html
What is the best way to accomplish this?
-
The official User-To-User support forum of the Apache HTTP Server Project.
See
Joshua Slive wrote:
> On 5/17/07, Sander Marechal <[EMAIL PROTECTED]> wrote:
>
>>
>> > Your problem is that the results of (4) are getting reinjected to
>> > mod_rewrite for processing, and will then obviously match (1) and (2).
>>
>> I figured as much, but can you tell me why it's reinjected? Tha
On 5/17/07, Sander Marechal <[EMAIL PROTECTED]> wrote:
> Your problem is that the results of (4) are getting reinjected to
> mod_rewrite for processing, and will then obviously match (1) and (2).
I figured as much, but can you tell me why it's reinjected? That's the
part I really don't underst
Joshua Slive wrote:
> On 5/17/07, Sander Marechal <[EMAIL PROTECTED]> wrote:
>
>> (1) RewriteCond %{query_string} t=([a-z]+)
>> (2) RewriteRule ^index.php$ /page/%1/? [r=301,l]
>>
>> The next rule makes sure that the pretty URLs all end in a slash. It
>> also does a 301 redirect causing the browse
On 5/17/07, Sander Marechal <[EMAIL PROTECTED]> wrote:
(1) RewriteCond %{query_string} t=([a-z]+)
(2) RewriteRule ^index.php$ /page/%1/? [r=301,l]
The next rule makes sure that the pretty URLs all end in a slash. It
also does a 301 redirect causing the browser to send a new request.
(3) Rewrit
Hello,
I am trying to use mod_rewrite (apache 2) to give my website pretty
URLs, but for some reason I get stuck in a 301 redirect loop. I have
looked at the code over and over again. I know what lines cause the loop
but I can't find out why it's looping. There's probably something wrong
with my u
On 8/25/06, John H. Nyhuis <[EMAIL PROTECTED]> wrote:
I was wondering if anyone has given thought to allowing the use of
relative paths with the mod_rewrite package rather then requiring full
paths. i.e., in the .htaccess file:
"Redirect 301 ./neuro.asp ../neurology.php" (does not work)
I was wondering if anyone has given thought to allowing the use of
relative paths with the mod_rewrite package rather then requiring full
paths. i.e., in the .htaccess file:
"Redirect 301 ./neuro.asp ../neurology.php" (does not work)
instead of:
"Redirect 301 /pedtest/divisions/neuro/neuro.
13 matches
Mail list logo