ورود

View Full Version : تغییر آدرس دومین



aleas2
چهارشنبه 16 مرداد 1392, 16:15 عصر
سلام خسته نباشید من بند تو گوگل وبستر گزینه change of address آرس دومین تغییر دادم این پیغام داده؟

After a change of address has been submitted, check your Webmaster Tools data periodically to see if your new site has been crawled and indexed. If you have a Sitemap you can check Sitemap details to see how many of the pages have been crawled and indexed.
Withdrawing a change of address
Site owners can withdraw your change of address.
Reminders
Your old site's server should be configured to serve 301 permanent redirects to your new site.
Ask webmasters to update their links to your new domain, and make sure incoming links to your old site are redirected correctly using 301 redirects.
For other general questions refer to our guidelines for moving your site to a new domain.
Duration of effect
Your change of address notification remains in effect for 180 days, by which time Google's index will be fully updated with your new site's information. After 180 days, you can extend the period by submitting the change of address again.

الان دگه باید چکار کنم؟منظور از 301 چی؟

آدرس دومین قبلی فرض کنین http://www.web.ir هسته و دومین جدید http://www.website.ir

saadatieathar
پنج شنبه 17 مرداد 1392, 11:34 صبح
سلام
منظورش اينه كه ادرس اولي رو با استفاده از ريدايركت 301 به ادرس دومي منتقل كني،بعد درخواست بدي
هر دو تا دامنه شما روي يك هاست ست شده ؟
اگر هر دامنه اي رو يك هاست جدا باشه كه بهتره.
ولي اگر روي يك هاست ست شده،يعني يك دامنه داشتي بعد دامنه دوم رو پارك كردي ، فايل .htaccess رو ويرايش كنيد و اين كد رو توش بذاريد:




RewriteCond %{HTTP_HOST} ^website.ir$
RewriteRule ^(.*)$ http://www.web.ir/$1 [R=301]

aleas2
جمعه 18 مرداد 1392, 19:23 عصر
این کد فقط صفحه اول
index انتقال میده یعنی
www.web.ir به www.website.ir
انتقال میده

منظور گوگل این نیست که

www.web.ir انتقال بده به www.website.ir
www.web.ir/post-20 انتقال بده به www.website.ir/post-20
www.web.ir/link انتقال بده به www.website.ir/link
و...

؟

بگین چکار کنم که جز صفحه index باقی صفحات هم انتقال بده؟
www.web.ir انتقال بده به www.website.ir
www.web.ir/post-20 انتقال بده به www.website.ir/post-20
www.web.ir/link انتقال بده به www.website.ir/link
و...

saadatieathar
جمعه 18 مرداد 1392, 20:32 عصر
<script type="text/javascript">

var url = window.location.href
var pos = url.search(/web1.ir/);
if(pos >= 0)
var str=url;
var n2=str.replace("web1.ir","web2.ir");
document.write(n2);
window.location.href = n2;
elseif()
;
</script>

aleas2
شنبه 19 مرداد 1392, 00:20 صبح
<script type="text/javascript">

var url = window.location.href
var pos = url.search(/web1.ir/);
if(pos >= 0)
var str=url;
var n2=str.replace("web1.ir","web2.ir");
document.write(n2);
window.location.href = n2;
elseif()
;
</script>


ممنون
فقط سه تا سوال

1- برای پیغام گوگل که پست اول گفتم باید کد پست دوم (http://barnamenevis.org/showthread.php?412919-%D8%AA%D8%BA%DB%8C%DB%8C%D8%B1-%D8%A2%D8%AF%D8%B1%D8%B3-%D8%AF%D9%88%D9%85%DB%8C%D9%86&p=1844133&viewfull=1#post1844133) که گفتین قرار بدم یا کد پست چهارم (http://barnamenevis.org/showthread.php?412919-%D8%AA%D8%BA%DB%8C%DB%8C%D8%B1-%D8%A2%D8%AF%D8%B1%D8%B3-%D8%AF%D9%88%D9%85%DB%8C%D9%86&p=1845210&viewfull=1#post1845210)

2- این روشی شما گفتین باید تو فایل head.php قرار بدم درسته؟سرعت لود سایت پایین نمی یاره؟

3- روش دگه ای نیست htaccess استفاده کنم؟