Forum Moderators: phranque

Message Too Old, No Replies

Mywebsite.com/events/event-url to www.myhotelwebsite.com/events

how to redirect from www.Mywebsite.com/events/event-url to www.myhotelwebsi

         

pratik joshi

6:03 am on Sep 24, 2012 (gmt 0)

10+ Year Member



Hello;

I have a hotel website which having content related to event information. Each new event generate event URL as below

Mywebsite.com/events-list/golf-start-march
Mywebsite.com/events-list/racing-horse-april


There is more than 100 urls as mention in above. I want to redirect all them on www.Mywebsite.com/events-list


Is any short solutions for above?

g1smd

6:47 am on Sep 24, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Once you redirect, the information on the pages will no longer be accessible.

Implementing a redirect is easy. The code will consist of one RewriteRule and one RewriteCond before it.

Let's see your code. There's at least 20 000 examples of redirects already posted in this forum.

Use example.com in this forum in order to suppress auto-linking.