Welcome Guest, Not a member yet? Register   Sign In
301 Redirect With URL Suffix

Below is my htaccess file, When I used the 301 redirect, I get  "?/Bass.html" appended to my url

So If I goto "http://example.com/Bass.html"  I get "https://example.com/walstenoutpostslive/Bass.aspx?/Bass.html"

The site is on linux php server, im using aspx url suffix.

Does anyone know what the issue could be?

<IfModule mod_rewrite.c>

RewriteEngine On
RewriteBase /
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
RewriteRule (.*) https://example.com/$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php?/$1 [L]

Redirect 301 /Bass.html https://example.com/walstenoutpostslive/Bass.aspx
Redirect 301 /ContactUs.html https://example.com/ContactUs.aspx
Redirect 301 /LakeTrout.html https://example.com/walstenoutpostslive/TroutLake.aspx
Redirect 301 /NorthenPike.html https://example.com/walstenoutpostslive/NorthenPike.aspx
Redirect 301 /Walley.html https://example.com/walstenoutpostslive/Walley.aspx

Theme © iAndrew 2016 - Forum software by © MyBB