Jump to content

( Wrong Place ) .htaccess redirection help


Anxious

Recommended Posts

Hello, I have researched a bit about redirections in .htaccess.

 

I am wanting to redirect my WHOLE website to "www.myvee.co.uk/ohdear.php"

However, if I redirect the WHOLE ENTIRE website, it'll cause a redirect error with the "ohdear.php"

 

So I'd have to do a rule for the pages.

Any idea what to do?

 

This is what I'd do to redirect the whole entire website

 

Redirect 301 / http://www.myvee.co.uk/ohdear.php

This causes a redirect error with 'ohdear.php' as its trying to redirect that page all the time.

 

I have not found out how I'd do a rule, any help appreciated!

 

NOTE: This thread is in the wrong place... maybe try assist me whilst the thread is moved.

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/158908-wrong-place-htaccess-redirection-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.