SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-10-01 16:33:48

angathan
Member
Registered: 2009-03-06
Posts: 12

htaccess redirect rule

Hi,

I have used the following redirection in my .htaccess file which used to work fine in server where I hosted early.

RewriteEngine on
RewriteCond %{REQUEST_URI} ^/(.*).html
RewriteRule ^(.*).html http://www.w3calculator.com/math-tutori … hp?name=$1 [L]

The Rewrite condition  work perfectly, but not the rewrite rule. the issue is the URL in the address have tobe http://www.w3calculator.com/math-tutori … mbers.html

Instead it prints as follows,
http://www.w3calculator.com/math-tutori … dd-numbers

Thanks

Offline

Be excellent to each other!

#2 2009-10-01 16:41:09

Toolz
#! Die Hard
From: Asia
Registered: 2009-02-02
Posts: 937

Re: htaccess redirect rule

How about giving feedback on the other questions you've asked? Specifically you started a thread about .htaccess redirects previously.

And perhaps one question for you: What do you think about Crunchbang?

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo