The Joomla! Forum ™






Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Redirect URL
PostPosted: Wed May 04, 2011 8:33 pm 
User avatar
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed May 04, 2011 8:26 pm
Posts: 2
Location: Croatia
Pozdrav svima! Naime, imam problem sa spamerima pa bi htio napraviti redirekciju da jedne registracije na drugu. (na drugoj imam "spam zaštitu")

PRIMJER:
www.domena.hr/index.php?option=com_comprofiler&task=registers

pa da se redirekta na

www.domena.hr/component/alpharegistration/register.html

Dali netko zna kako da to izvedem, probao sam traziti i da unutar .htaccess-a upisem par linija koda ali nista, u cpanelu, nista...

Hvala svima ;)


Top
 Profile  
 
 Post subject: Re: Redirect URL
PostPosted: Wed May 04, 2011 8:45 pm 
Joomla! Guru
Joomla! Guru

Joined: Mon Feb 21, 2011 4:02 pm
Posts: 951
Location: UK
mod_rewrite / .htaccess:
Code:
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(index\.php)?\?option=com_comprofiler&task=registers\ HTTP/
RewriteRule ^(index\.php)?$ http://www.domena.hr/component/alpharegistration/register.html? [R=301,L]

_________________
Online since 1995.


Top
 Profile  
 
 Post subject: Re: Redirect URL
PostPosted: Wed May 04, 2011 8:51 pm 
User avatar
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed May 04, 2011 8:26 pm
Posts: 2
Location: Croatia
Ne radi / Do not worked

http://www.domena.hr/index.php?option=c ... =registers


Last edited by mosfet on Thu May 05, 2011 9:25 pm, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 



Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group