vBulletin Search Engine Optimization
This is a discussion on domain.com'u www.domain.com'a yönlendirmek within the Türkçe forums, part of the General Discussion category; Şu an bütün linklerim ; http://xxx.com/forum/ bu şekilde . http://www.xxx.com/forum/ bu şekilde olmasını istiyorum . http://www.xxx.com tarayıcıya yazılsa bile http://xxx.com/forum/ ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
#16
| ||||
| ||||
| Şu an bütün linklerim ; http://xxx.com/forum/ bu şekilde . http://www.xxx.com/forum/ bu şekilde olmasını istiyorum . http://www.xxx.com tarayıcıya yazılsa bile http://xxx.com/forum/ bu şekilde yönlendirdim çünkü diğer türlü siteye ulaşım sağlayamıyorum . İndex bilgileri ; <meta http-equiv="refresh" content="0;URL=http://www.xxxx.com/forum"> |
|
#17
| ||||
| ||||
| vBSEO ile gelen default .htaccess içerisinde aşağıdaki satırı göreceksiniz. Code: #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
Code: RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
RewriteRule (.*) http://www.yourdomain.com/forum/$1 [L,R=301]
|
|
#18
| ||||
| ||||
| Çok teşekkür ederim |
|
#20
| ||||
| ||||
| Peki hangisini seçmemiz doğru olur domain.com mu www.domain.com mu yoksa farketmezmi yani google hangisine öncelik tanımış gibi birşey olabilirmi Birde bunu yaptıktan sonra vb admin panelde site erişim yolunda ve google webmasters a eklediğimiz site adı bölümünde veya herhangi başka bir yerde ayar değiştirmemiz gerekiyormu (yazılanlar dışında) |
|
#24
| ||||
| ||||
| Yakın bir süre sonra şu anki sitem gibi diğer sitem içinde vbseo ya geçeceğim. Şu an diğer sitemde zoint kullanıyorum . domain.com'u www.domain.com'a yönlendirmek istediğim zaman logout sorunu yaşıyorum . |
|
#25
| ||||
| ||||
| Quote:
|
|
#26
| ||||
| ||||
| Şu an zointte kullandığım htaccess ve en altına ekliyorum vermiş olduğunuz kodları. Sanırım bir yerde yanlış yapıyorum . Options +FollowSymlinks RewriteEngine on RewriteRule ^([a-z0-9_-]*-(f|all)[0-9]+(p[0-9]+|/index[0-9]*)?.html)$ forumdisplay.php/$1 [QSA,L] RewriteRule ^([a-z0-9_-]*-(t|p)[0-9]+(p[0-9]+|/index[0-9]*)?.html)$ showthread.php/$1 [QSA,L] RewriteCond %{REQUEST_URI} !(index.php|.css) [NC] RewriteRule ^(archive|sitemap)/(.*)$ $1/index.php/$2 [QSA,L] RewriteEngine On RewriteRule ^((urllist|sitemap).*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteEngine On RewriteRule ^$ index.php RewriteRule (^[-_A-Za-z0-9\ ]*$) member.php?&username=$1 |
|
#28
| ||||
| ||||
| Çok teşekkür ederim Mert Bey . Lisans almak , destek kusursuz . Bu kadar destek ve lisans almanın kolay olduğunu bilmiyordum . Yoksa beklemezdim |
|
#30
| ||||
| ||||
| Benim forumum anadizine kurulu az önce vbseo'nun .htaccess dosyasını kontrol ettim. belirttiğiniz kısımlar zaten onda mevcut. ben www olarak kullanmak istiyorum sanırım bir değişiklik yapmama gerek aşağıdaki şekilde kalması yeterli.. Code: # Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /
#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
|
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Redirect parked domain to primary domain | Arkidas | General Discussion | 9 | 03-20-2008 06:19 PM |
| Rewrite question - domain.com -> www.domain.com | Chris-777 | General Discussion | 4 | 06-05-2007 01:53 PM |
| Main Domain with 1 Add-On Domain and 3 Parked Domains | IrDVB | General Discussion | 1 | 03-25-2007 03:36 PM |
| username.domain.com > domain.com?id=userid | voteforbird | Custom Rewrite Rules | 2 | 09-27-2006 02:56 PM |
| redirect domain.com/index.php to www.domain.com/ | LarryEitel | Custom Rewrite Rules | 4 | 07-05-2006 10:38 AM |