Old Site to New Site with htaccess

ကျွန်တော်တို့ အရင်က .com ကနေ .org ပြောင်းသွားတော့ link အဟောင်းတွေ အရမ်းပဲ ပြဿနာများခဲ့ပါတယ်။ .com domain ကို sithu hosting မှာ တင်ခဲ့ပြီး ကျွန်တော်လည်း ဘာမှ မလုပ်ဖြစ်ခဲ့ပါဘူး။ အခုတော့ .com ကို ကျွန်တော့် hosting မှာ တင်ပြီးဖြစ်ပါတယ်။ sithu account ရှိတဲ့ dot5hosting က 1 year ပြည့်သွားတဲ့အတွက် @mysteryzillion.com တွေ သုံးမရဖြစ်ကုန်တယ်။ အခု ပြန်လည်ပြင်ဆင်ပြီးပါပြီ။ old site ကနေ new site ကို .htaccess file လေးရေးပြီး redirect လုပ်လို့ရပါတယ်။ google ကနေ ပဲ ရှာပြီး တွေ့ထားတာပဲ။

#Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysteryzillion.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.mysteryzillion.com$
RewriteRule (.*)$ http://www.mysteryzillion.org/$1 [R=301,L]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Saturngod

Subscribe now to keep reading and get access to the full archive.

Continue reading