Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Custom Rewrite Rule
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 4 (Joomla 1.6/1.7/2.5+ compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Custom Rewrite Rule

Custom Rewrite Rule 11 years, 8 months ago #37231

Hi everyone,

I want to create a custom rewrite rule that sends all request from "/viewdownload" to "/"

So everyone how tries to hit "www.site.com/bla/blabla/bla/viewdownload" will be redirected to "www.site.com/bla/blabla/bla". And this in any case :)

Is there any way to realize that?

Thank you very much :)

Zoker

Re: Custom Rewrite Rule 11 years, 8 months ago #37399

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

You should be able to achieve this with the following rewrite rule in your .htaccess file:
RewriteRule ^(.*)/viewdownload$ $1 [R=301,L]
ARTIO Support Team
  • Page:
  • 1
Přihlášení uživatele Prázdný