.htaccess - htaccess redirect url with space in it -


Unfortunately, I have sent the newsletter without checking the link, one of them is broken, so I handle it with HTACAC Want to do

My URL is related to:

Where the original page is:

Space in New Zealand and additional www.domain.com Focus on .au

How can I set it up in HTACEC?

Thanks

Because you do not need to manipulate URLs, You can make one simple use: Redirect /www.domain.com.au/campers-and-motorhomes/ne%20w-zealand/camper-rentals/ http: // www. Domain.com.au/campers-and-motorhomes/new-ejeland/computer hire/

edit if Apache is % 20 Un-unlocked location is not liked, so try the entire quote there is a real place Thats: Redirect / / www.domain.com.au/campers-and-motorhomes/ne w-zealand / camper-rentals / "http: // www .domain.com. If it is enclosing a query string, you will see a D. or a / c / cpc-and-motorhomes / new-zealand / camper-rentals /

Edit2 To use mod_rewrite to get rid of the query string instead of normal redirect, I'm scared.

  RewriteEngine On # If the request starts with www.domain.com.au , Then rewrite the broken link # to the right URL Put God? On the end of the query string RewriteRule ^ www \ .domain \ .com \ .au http://www.domain.com.au/campers-and-motorhomes/new-zealand/camper-rentals/ delete? [L, R = 301]    

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -