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

352 posts

Ultimate Geek
+1 received by user: 55

# 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

352 posts

Ultimate Geek
+1 received by user: 55

  # 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]






2231 posts

Uber Geek
+1 received by user: 770

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..


352 posts

Ultimate Geek
+1 received by user: 55

  # 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 »

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 »

HPE to acquire supercomputing leader Cray
Posted 20-May-2019 11:07

Techweek starting around NZ today
Posted 20-May-2019 09:52

Porirua City Council first to adopt new council software solution Datascape
Posted 15-May-2019 12:00

New survey provides insight into schools' technology challenges and plans
Posted 15-May-2019 09:30

Apple Music now available on Alexa devices in Australia and New Zealand
Posted 15-May-2019 09:11

Make a stand against cyberbullying this Pink Shirt Day
Posted 14-May-2019 20:23

Samsung first TV manufacturer to launch the Apple TV App and Airplay 2
Posted 14-May-2019 20:11

Vodafone New Zealand sold
Posted 14-May-2019 07:25

Kordia boosts cloud performance with locally-hosted Microsoft Azure ExpressRoute
Posted 8-May-2019 10:25

Microsoft Azure ExpressRoute in New Zealand opens up faster, more secure internet for Kiwi businesses
Posted 8-May-2019 09:39

Vocus Communications to deliver Microsoft Azure Cloud Solutions through Azure ExpressRoute
Posted 8-May-2019 09:25

Independent NZ feature film #statusPending to premiere during WLG-X
Posted 6-May-2019 22:13

The ultimate dog photoshoot with Nokia 9 PureView #ForgottenDogsofInstagram
Posted 6-May-2019 09:41

Nokia 9 PureView available in New Zealand
Posted 6-May-2019 09:06

Motorola Solutions joins local partners to deliver advanced communications network in New Zealand
Posted 30-Apr-2019 21:50

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.