11
tatane
Re: redirection 301 .htaccess
  • 2009/2/12 13:07

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


yes, I can


12
elsanto
Re: redirection 301 .htaccess
  • 2009/2/12 13:55

  • elsanto

  • Just popping in

  • Posts: 18

  • Since: 2009/1/5 1


I can not enter into your site. The server replies

le="color: #000000"><?php <html><head><title>Site Not Found</title></head> <body>No web site is configured at this address.</body></html>

13
tatane
Re: redirection 301 .htaccess
  • 2009/2/12 14:11

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1



14
elsanto
Re: redirection 301 .htaccess
  • 2009/2/12 14:38

  • elsanto

  • Just popping in

  • Posts: 18

  • Since: 2009/1/5 1


Estimated Tatan, now I can see your site, you are advised not to do 301 redirection because google will not penalize for duplicate content and google the following anuncions only take the new url.
Anyway if you want to go ahead, you can read this instructive

http://www.howtodude.net/howto/view.article.php/203

15
tatane
Re: redirection 301 .htaccess
  • 2009/2/12 15:24

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


I found,I added on modules/catads/index.php
Quote:
if(strpos(getenv('REQUEST_URI'), '/modules/catads/') === 0)
{
$oldurl = getenv('REQUEST_URI');
$newurl = str_replace("modules/catads", "Petites_annonces_sarthe", $oldurl); header("HTTP/1.1 301 Moved Permanently");
header("Location: $newurl");
}