.htaccess - URL redirect issue -


i have problem redirecting single webpages within website. trying redirect https://job-center.hu/munkaero_kozvetites/ https://job-center.hu/munkaero-kozvetites/ , using following htaccess file this:

<ifmodule mod_rewrite.c> rewriteengine on rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)$ /index.php?q=/$1 [qsa]  </ifmodule>  rewriteengine on rewritecond %{http_host} ^www.allasajanlat.job-center.hu [nc] rewriterule ^(.*)$ https://allasajanlat.job-center.hu/$1 [l,r=301]  rewriteengine on rewritecond %{http_host} ^www.job-center.hu [nc] rewriterule ^(.*)$ https://job-center.hu/$1 [l,r=301]  options -indexes  rewriteengine on rewritecond %{https} off rewriterule (.*) https://%{http_host}%{request_uri} [r,l]  redirect 301 /munkaero_kozvetites/ https://job-center.hu/munkaero-kozvetites/  #setenv skip-cache 

the result strange url , not sure if ok.

would considered duplicate content google or ok is.

thanks in advance.

for question google, redirect 301 permanently redirect, means google consider both sites same content.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -