Menu Content

Podpora

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

Help! Change e Redirect url...
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.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: Help! Change e Redirect url...

Help! Change e Redirect url... 14 years, 10 months ago #10792

Hello friends,

How do I transform and redirect all urls:

From:

www.mysite.com/?msg=www.page.com.br/rest-of-urls

To:

www.mysite.com/page/rest-of-urls

Please, help me!

Re:Help! Change e Redirect url... 14 years, 10 months ago #10810

  • jaku
Hello,

to achieve that, you will need to create Rewrite rule in .htaccess file that will work with query string.

something like
 
RewriteCond %{QUERY_STRING} ^page=www\.page\.com\.br/(.*)
RewriteRule .* /page/%1
 


For details, check the Apache's mod_rewrite documentation.
Last Edit: 14 years, 10 months ago by .

Re:Help! Change e Redirect url... 14 years, 10 months ago #10813

Hi Thanks for the reply.
But my English is not good, I will not know how to do via Apache Documentation.
Please, if possible, explain me here via .htaccess.

I tried the code you gave me, but did not work. The urls were not replaced and are not accessible. The error "ERROR_DEFAULT_404 URI:/page/videos" appears when I try to access the address www.mysite.com/page/videos, for example.

Please, help me.

Greetings.
  • Page:
  • 1
Přihlášení uživatele Prázdný