URLs heb ddilyn
Pan fyddwn yn profi sampl o URLs gan eich Map o'r safle, canfuom fod rhai URLs ailgyfeirio i leoliadau eraill. Rydym yn argymell bod eich Map o'r safle yn cynnwys URL sy'n cyfeirio at y cyrchfan terfynol (y ailgyfeirio targed) yn hytrach na ailgyfeirio i un arall URL.
Gwall HTTP: 301
URL:
htt
Problem canfod ar: 24 Ebrill, 2011
RewriteEngine ar
% RewriteCond {HTTP_HOST}! ^ Windowsz \\. $ Net [CC]
RewriteRule ^(.*)$ http://windowsz.net/ $ 1 [R = 301, L]
DirectoryIndex mynegai index.php forum.php. Php3 messagebrd.pl index.html index.htm
RewriteBase /
RewriteRule Archif / index.php? / $ 2 & iaith = $ 1 [L, QSA]
RewriteRule forum.php? iaith = $ 1 [L, QSA]
RewriteRule $ 2? Iaith = $ 1 [QSA]
RewriteRule ^ ((urllist | sitemap_) .* \\ (xml |..? Txt) (\\ gz))? $ Vbseo_sitemap / vbseo_getsitemap.php sitemap = $ 1 [L]
Opsiynau + FollowSymLinks
# # # HWN YN YCHWANEGOL LITTLE DIOGELWCH A ELLIR EI SYMUD
RewriteRule ^ cynnwys /(.*) index.php
RewriteRule ^ VB /(.*) index.php
RewriteRule ^ pecynnau /(.*) index.php
# # # DYMA'R ailysgrifennu GWIRIONEDDOL
RewriteRule ^ edafedd / ([0-9 ]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/ tudalen ([0-9] +) ?)) showthread.php? t = $ 1 & page = $ 2 &% {QUERY_STRING}
RewriteRule ^ aelodau / ([0-9] +) member.php? U = $ 1 &% {QUERY_STRING}
RewriteRule ^ fforymau / ([0-9 ]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/ tudalen ([0-9] +) ?)) forumdisplay.php? f = $ 1 & page = $ 2 &% {QUERY_STRING}
RewriteRule ^ blogiau / ([0-9 ]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/ tudalen ([0-9] +) ?)) blog.php? u = $ 1 & page = $ 2 &% {QUERY_STRING}
RewriteRule ^ cofnodion / ([0-9 ]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/ tudalen ([0-9] +) ?)) entry.php? b = $ 1 & page = $ 2 &% {QUERY_STRING}
RewriteRule ^ rhestr /([^/]*/)([ 0-9] +) list.php? R = $ 1 $ 2 &% {QUERY_STRING}
RewriteRule ^ cynnwys /(.*) content.php? R = $ 1 &% {QUERY_STRING}
RewriteRule ^ widget / config / ([0-9] +) widget.php? R = config / $ 1 &% {QUERY_STRING}
$ Cyn = vbseo_sm_priority ($ vboptions ['vbseo_sm_priority_rt'], $ relp);
os yw ($ vboptions ['vbseo_sm_freq_tsmart'])
{
$ Dpassed = (amser () - $ threadrow ['lastpost']) / 86,400;
os yw ($ dpassed <3) $ freq = 'bob dydd';
arall os ($ dpassed <10) $ freq = 'wythnosol';
arall os ($ dpassed <100) $ freq = 'misol';
arall $ freq = 'blynyddol';
Arall}
$ Freq = $ vboptions ['vbseo_sm_freq_t'];
vbseo_log_entry ("[showthread] forum_id: $ forumid, thread_id: $ threadrow [threadid], cyfanswm y swyddi: $ totalposts, tudalennau: $ totalpages, safbwyntiau: $ threadrow [barn] $ cyn");
ar gyfer ($ p = 1; $ p <= $ totalpages; $ p + +)
{
/ / Côd ychwanegol
$ Alanguages = array
os (! $ harchifo) {
$ Currentthreadurl = vbseo_url_thread ($ threadrow, $ p, $ harchifo). '& Language =';
$ Vbseo_stat ['t'] = sizeof + ($ alanguages);
$ Lastpost = & $ threadrow ['lastpost'];
foreach ($ $ alanguages fel iaith) {
vbseo_add_url ($ currentthreadurl $ iaith, $ blaenorol, $ lastpost, $ freq.);
}
}
/ / Diwedd côd ychwanegol
$ Vbseo_stat [$ archif 'yn':? 'T'] = vbseo_add_2urls + (
vbseo_url_thread ($ threadrow, $ p, $ harchifo),
vbseo_url_thread ($ threadrow, $ p, $ harchifo, yn wir),
$ Blaenorol,
$ Threadrow ['lastpost'],
$ Freq
;
}
os yw ($ showpost)
{
$ Getposts = $ db-> ymholiad ("
SELECT p.dateline, p.postid, p.threadid
O ". TABLE_PREFIX." Post FEL p
BLE p.threadid = $ threadrow [threadid]
A gweladwy = 1
GAN ORCHYMYN p.dateline
");