Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom redirects doesn´t work as expected - htaccess
#4
Hi, thank you,
> Have you enabled canonical redirects in gsconfig?
I tried, but that brings an "redirection loop"-error, if I call domain.tld/sidebar-slug.html

I set Redirect ahead of the RewriteRule
but still the same ...

now I´ve
Code:
...RewriteEngine on
RewriteBase /
Redirect /sidebar-slug.html http://www.domain.tld/slug.html
RewriteRule /?([A-Za-z0-9_-]+)\.html$ index.php?id=$1 [QSA,L]
#end

anyhow I have to keep away the ?id=sidebar-slug
in the redirect-case
Bell.
Reply


Messages In This Thread
Custom redirects doesn´t work as expected - htaccess - by Belletage - 2012-10-23, 00:27:20



Users browsing this thread: 1 Guest(s)