10

If you look closely, you will notice that /coins/bitcoin is being redirected to /coins/bitcoin/ with a trailing slash (the trailing slash is an important distinction between the URLs). This is part of "url normalization" and is something that's common for hosting to do. It's unrelated to your www redirect. The best way to fix this, in my opinion, ...


3

Any invalid URLs should serve a "410 Gone" error with a message informing the user that the page they are requesting no longer exists, and with links to the top-level site pages. How you do this depends on your stack. You could set up a simple database, JSON file, or any key: value scheme, such that when an invalid URL is requested, the server ...


2

You can't use a mod_alias RedirectMatch here because RedirectMatch matches against the requested URL-path only, not the query string. To match the query string you need to use mod_rewrite (RewriteRule and RewriteCond directives) and match against the QUERY_STRING server variable in a condition. For example, to redirect /thispath/beach?start=<number> ...


1

A site: search is not a reliable way of showing what is indexed. It shows indexed pages as well as redirecting pages that are not indexed. While URLs from your redirecting domain show up in a site: search for that domain, your redirecting domain won't show up in any normal Google search query. If you want to see what is indexed on your alternate domain, ...


1

RewriteRule ^home-living/furniture/([^/\.]+)\.html http://www.example.com/home-living/furniture/filter/cat/$1.h‌​tml [R=301,L] This directive preserves the entire query string from the original request. It does not remove it, or any part of it. The query string is preserved by default with RewriteRule (and Redirect and RedirectMatch) directives. Only when ...


Only top voted, non community-wiki answers of a minimum length are eligible