|
Home > Archive > Web Servers General Talk > February 2004 > Redirect htaccess
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Philipp Lenssen 2004-01-20, 9:34 am |
| I had a URL like this ...
http://www.authorama.com/book.php?title=bla&part=2
.... which I now want to permanently change to ...
http://www.authorama.com/bla-2.html
I currently already changed it to
http://www.authorama.com/book/bla-2.html
.... using htacess below ...
----------
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteRule ^(.*)book/(.*)-([0-9]*).html $1show.php?title=$2&part=$3
----------
.... however: it is not a permanent redirect (301) and also, I cannot
get rid of the "book" folder. How can I make it 301 and also get rid of
the "book" in the URL?
Thanks for any help!
| |
| Philipp Lenssen 2004-01-21, 12:35 am |
| Philipp Lenssen wrote:
quote:
>
> Thanks for any help!
(OK got it fixed)
| |
| Unregistered 2004-02-04, 11:37 pm |
| please tell me how, i have a similar problem | |
| Philipp Lenssen 2004-02-06, 3:33 am |
| Unregistered wrote:
>
> please tell me how, i have a similar problem
>
My most recent htaccess looks something like this...
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteRule ^(.*)-([0-9]*).html show.php?title=$1&part=$2
|
|
|
|
|