Bom dia, estou fazendo um novo site de classificados http://www.anunciossantafe.com.ar/ habilitei o Rewrite funciona perfeito nos link.
Mas como podem ver se clicar na imagem o link continua o normal que é detail.php?id=154, detalhe, o link do texto também é assim detail.php?id=154, não entendo porque altera o link do texto e não o da imagem.
no .htaccess tenho assim
RewriteEngine On
RewriteRule ^ad_([0-9]+)_(.*).html detail.php?id=$1
RewriteRule ^cat_([0-9]+)_(.*).html index.php?catid=$1
RewriteRule ^user_([0-9]+)_(.*).html user_info.php?user_id=$1
RewriteRule ^ratemember_([0-9]+)_(.*).html rate_member.php?user_id=$1
RewriteRule ^contact_([0-9]+)_([0-9]+)_(.*).html detail.php?id=$1&user_id=$2&contact=1
RewriteRule ^rate_([0-9]+).html rate.php?id=$1
RewriteRule ^largepicture_([0-9]+).html large_picture.php?id=$1
RewriteRule ^tellafriend_([0-9]+).html detail.php?id=$1&tellafriend=1
RewriteRule ^print_([0-9]+).html detail.php?id=$1&print=1
RewriteRule ^removefav_([0-9]+).html fav_popup.php?remove_fav=$1
RewriteRule ^addfav_([0-9]+).html fav_popup.php?add_fav=$1
RewriteRule ^trm_(.*).html info.php?what=terms
RewriteRule ^ab_(.*).html info.php?what=aboutus
RewriteRule ^adv_(.*).html info.php?what=advertise
RewriteRule ^hlp_(.*).html info.php?what=help
RewriteRule ^rss_([0-9]+).html detail.php?id=$1
http://www.anunciossantafe.com.ar/
Desculpa, a imagem da 1º pagina eu modifiquei o link manualmente, as que não consegui são as das categorias
http://www.anuncioss...at_2_autos.html
obrigado
Problema Com Rewrite
Started By magnus_leffa_81, 12/05/2010, 10:39
1 reply to this topic
#1
Posted 12/05/2010, 10:52
#2
Posted 10/08/2010, 13:05
resolvi, nao tinha nada de error no Rewrite, so tinha que modificar os links do site
http://addphone.net/
http://addphone.net/
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)