Htaccess URL rewriting issue?

I assume that you are typing query string params and you want to stop them being passed on the redirect. Add a? To drop the query string parameters as below.

I assume that you are typing query string params and you want to stop them being passed on the redirect. Add a? To drop the query string parameters as below RewriteRule ^/practice/ gdlsk.com/customs-broker-regulation/cust..." rel="nofollow">gdlsk.com/customs-broker-regulation/cust... Edit.

Based on last update this should do the trick RewriteCond %{REQUEST_URI} ^/practice NC RewriteRule . gdlsk.com/customs-broker-regulation/cust..." rel="nofollow">gdlsk.com/customs-broker-regulation/cust....

Not quite. I just want to catch anybody trying to reach the form highform. Htm and direct them to gdlsk.Com/customs-broker-regulation/… I'd like to catch anybody to types anything after "practice/".

Just want it to be a catch-all. – Dave Rottino yesterday Could you give me a couple of examples of urls that do not currently work and how you would like them to behave, perhaps by editing original questions - thanks – Ulrich Palha yesterday I've appended my original question. Hope that clarifies.

– Dave Rottino yesterday Still nothing. It's displaying the index. Html file that's in that folder.

:o/ – Dave Rottino yesterday Another rule higher up likely matches before this one. Since this is very specific and should not interfere with the other rules I recommend moving it up to the top of your . Htacess, just after RewriteEngine On – Ulrich Palha yesterday.

Try using rewrites instead of redirects. For example: RewriteEngine on RewriteRule ^/practice/ gdlsk.com/customs-broker-regulation/cust... R=301,L.

Well that just pulls up the blank index.html. I'm using Joomla 1.5.22 I think if that matters at all. – Dave Rottino yesterday.

I think it's more like this: RewriteBase / RewriteRule ^(.*)$ page/$1 L If I understand what you're trying to do.

Like so: RewriteBase / RewriteRule ^page(/. *)? $ $1 L.

– akond May 25 at 12:11 works too now. :-) – Denis May 25 at 12:12 I think your rewrite is backwards... – Corey May 25 at 13:01 @Corey: I think you understood the question backwards. – Denis May 25 at 13:04 @Denis, I think you understood the question backwards.

A rewrite takes a URL and lets www.abc.com/xyz return the page at abc.com/page/xyz, a redirect would change the entered url from abc.com/page/xyz to www.abc.com/xyz, he asked for a rewrite, not a redirect (as stated in the question) – Corey May 25 at 16:09.

If you only want to redirect page/xyz then you can use: RewriteEngine on RewriteRule ^/page/xyz$ /xyz L If you want to redirect anything within the page directory, then use: RewriteEngine on RewriteRule ^/page(/. *$)$ $1 L.

You need R flag for redirecting, that's rewriting only – Teneff May 25 at 12:14 @Teneff: OP asked for rewrite, not redirect – qbert220 May 25 at 14:19.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions