Jump to content

flaesk

New Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by flaesk

  1. Hi requinix Thank you SO much. The escaped spaces worked out so fine. All the best to you! Thank you once again!
  2. Hello everybody This is my first post here. Hope you guys can help me out. I have moved from a Microsoft server to a Linux server. Now I want to redirect the URLs from .aspx to .php via the .htaccess file. The old URLs is: http://mydomain.com/Om%20Kuren.aspx http://mydomain.com/manden/Til%20mand.aspx http://mydomain.com/kvinden/Til%20Kvinder.aspx http://mydomain.com/Vilkaar%20og%20miljo.aspx http://mydomain.com/Inden%20i%20går%20igang.aspx The new URLs is: http://mydomain.com/om-kuren.php http://mydomain.com/til-manden.php http://mydomain.com/til-kvinder.php http://mydomain.com/vilkaar-og-miljo.php http://mydomain.com/inden-i-gaar-igang.php I have tried the following, that doesn't seems to work: RewriteEngine On RewriteRule ^Om%20Kuren\.aspx$ http://mydomain.com/om-kuren.php [R=301] RewriteRule ^manden/Til%20mand\.aspx$ http://mydomain.com/til-manden.php [R=301] RewriteRule ^kvinden/Til%20Kvinder\.aspx$ http://mydomain.com/til-kvinder.php [R=301] RewriteRule ^Vilkaar%20og%20miljo\.aspx$ http://mydomain.com/vilkaar-og-miljo.php [R=301] RewriteRule ^Inden%20i%20går%20igang\.aspx$ http://mydomain.com/inden-i-gaar-igang.php [R=301,L] Thanks in advance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.