Geekzone: technology news, blogs, forums
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.

386 posts

Ultimate Geek

# 208390 9-Feb-2017 19:49
Send private message

at the moment i been using this on 1 site


RedirectMatch 302 (.*)\.html$


now i'm using another domain to mirror the first site


so i want to change it to something like this


RedirectMatch 302 (.*)\.html$ http://%{HTTP_HOST}%/folder/index.shtml so the 2nd domain doesn't redirect to the 1st domain


of cause that does not work


is there another why i can get this to work ?


















Create new topic

386 posts

Ultimate Geek

  # 1718399 10-Feb-2017 18:20
Send private message

 dont worry i got it now by using




RewriteEngine on
RewriteRule (.*)\.html$ /folder/index.shtml [NC,R]






2292 posts

Uber Geek

Lifetime subscriber

  # 1718403 10-Feb-2017 18:33
Send private message

Which should give you a 301 redirect. If you want to pass on any Google juice, you should NEVER use 302. 302 is for temporary redirects and should never be used to tell search engines (and browsers) about new locations for content.


Sounds like you are creating another SEO nightmare for yourself though..


386 posts

Ultimate Geek

  # 1718516 11-Feb-2017 00:17
Send private message

what should i use then ?


is this ok ?


RewriteEngine on RewriteRule (.*)\.html$ /folder/index.shtml [NC,R]




Create new topic

Twitter and LinkedIn »

Follow us to receive Twitter updates when new discussions are posted in our forums:

Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:

Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:

News »

Logitech introduces new Made for Google keyboard and mouse devices
Posted 16-Oct-2019 13:36

MATTR launches to accelerate decentralised identity
Posted 16-Oct-2019 10:28

Vodafone X-Squad powers up for customers
Posted 16-Oct-2019 08:15

D Link ANZ launches EXO Smart Mesh Wi Fi Routers with McAfee protection
Posted 15-Oct-2019 11:31

Major Japanese retailer partners with smart New Zealand technology IMAGR
Posted 14-Oct-2019 10:29

Ola pioneers one-time passcode feature to fight rideshare fraud
Posted 14-Oct-2019 10:24

Spark Sport new home of NZC matches from 2020
Posted 10-Oct-2019 09:59

Meet Nola, Noel Leeming's new digital employee
Posted 4-Oct-2019 08:07

Registrations for Sprout Accelerator open for 2020 season
Posted 4-Oct-2019 08:02

Teletrac Navman welcomes AI tech leader Jens Meggers as new President
Posted 4-Oct-2019 07:41

Vodafone makes voice of 4G (VoLTE) official
Posted 4-Oct-2019 07:36

2degrees Reaches Milestone of 100,000 Broadband Customers
Posted 1-Oct-2019 09:17

Nokia 1 Plus available in New Zealand from 2nd October
Posted 30-Sep-2019 17:46

Ola integrates Apple Pay as payment method in New Zealand
Posted 25-Sep-2019 09:51

Facebook Portal to land in New Zealand
Posted 19-Sep-2019 18:35

Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.