Sciencetext نصائح & ألاعيب

Blogging tips, browsing tricks and computing hacks المدونات نصائح والتصفح المأجورون الحاسوب وحيل

How to Make HTML Pages Work Like Wordpress كيفية جعل صفحة لغة تأشير النص الفائق في العمل كما WordPress

June 7th, 2007 · by David Bradley يونيو 7th ، 2007 من قبل ديفيد برادلي

شعار WordPress Do you have a bunch of standard html pages outside your Wordpress blog heirarchy? هل لديك مجموعة من المعايير لغة تأشير النص الفائق صفحات خارج التسلسل الهرمي بلوق WordPress الخاصة بك؟ I’m not taking about Wordpress’ static “Pages” with a capital P, but those pages, perhaps in the root beyond the CMS facility of Wordpress. انا لا آخذ عن WordPress 'ساكنة" صفحات "مع ا ف رأس المال ، ولكن تلك الصفحات ، وربما كان ذلك السبب الجذرى وراء اتفاقيه الانواع المهاجره من مرفق WordPress. Well, there is a relatively simple way to convert a standard html page into a kind of Wordpress page, so that your header, sidebar, and footer all render as if the page were a standard Wordpress page. بالاضافة الى ذلك ، هناك طريقة بسيطة نسبيا لتحويل لغة تأشير النص الفائق في مستوى هذه الصفحه الى نوع من WordPress الصفحه ، بحيث يتم وضع العنوان ، الشريط الجانبي ، وذيلها جعل جميع كما لو كانت في مستوى الصفحه WordPress الصفحه.

1. First, make a back up of any pages you plan to change, then add this line to the head section of each page you want to re-theme within the Wordpress system on your site. أولا ، تقديم نسخة احتياطيه من أي صفحة كنت تخطط لتغيير ، ثم اضيف هذا الخط الى رئيس كل قسم من الصفحه التي تريد إعادة الموضوع في اطار نظام WordPress على موقعك.

<?php define(’WP_USE_THEMES’, false); require(’./your-wordpress-folder/wp-blog-header.php’); ?> <؟ تعريف بي. اتش. بى ( 'wp_use_themes' ، زاءفه) ؛ تتطلب ( '. / WordPress الخاص بك - مجلد - / - رزمه العمل بلوق - header.php') ؛؟>

That calls in the necessary code from the Wordpress folder (obviously change “your-wordpress-folder” to the actual directory name). ان يدعو في القانون ما يلزم من WordPress مجلد (ومن الواضح ان التغيير "الخاصة بك - WordPress - مجلد" الى اسم الدليل الفعلي).

2. Next, decide which components you’re going to need for the page. المقبل ، الذي تقرر مكونات انت في حاجة الى الذهاب للصفحة. You’ll probably want the header from your theme so add ربما انت تريد رأس من حسابك في ذلك اضافة موضوع

<?php get_header(); ?> <؟ بي. اتش. بى get_header () ؛؟>

Put that near the top after the body tag. ان وضع بالقرب من اعلى هيئة بعد العلامه.

3. You’ve probably got a footer in your theme too, so add this to the bottom of the page before the close body tag ربما كنت قد حصلت على الذيل في الموضوع الخاص بك ايضا ، وذلك اضافة هذا الى اسفل الصفحه قبل اختتام هيئة علامة

<?php get_footer(); ?> <؟ بي. اتش. بى get_footer () ؛؟>

4. Then comes a tricky bit. ثم يأتي الحذر قليلا. Where to put the sidebar? حيث لوضع الشريط الجانبي؟ It depends. الامر يتوقف. Try it just before the footer tag you added in the previous step first. جرب قبل لحظات من الهامش علامة لكم واضاف في الخطوة السابقة الاولى. We can come back later and move it if it doesn’t work properly. يمكننا ان نعود في وقت لاحق والحركة اذا لم تعمل بشكل سليم.

<?php get_sidebar(); ?> <؟ بي. اتش. بى get_sidebar () ؛؟>

5. Now, smart readers will have noticed you’ve probably been adding a load of php tags to pages with an htm or an html and that opening these in your browser is just going to display the code without running it. الآن ، سوف الذكيه القراء قد لاحظوا وربما كنت قد تم اضافة حموله من العلامات الى صفحات بي. اتش. بى مع htm او لغة تأشير النص الفائق وذلك في افتتاح هذه المتصفح هو مجرد الذهاب لعرض مدونة دون الحاجة لتشغيل. So, there’s one final critical step you must take before things will work as planned. ذلك ، هناك واحدة اخيرة خطوة حاسمة يجب ان تتخذ قبل ان الامور سوف تعمل على النحو المخطط له. Open up your .htaccess file (you know where that is I take it, root folder, no filename just the extension htaccess (don’t forget the dot). Make a backup copy. Then add the following line: فتح ملف. Htaccess الملف (انت تعرف اين هو أن لي ان اعتبر ، المجلد الجذر ، لا مجرد امتداد الملف htaccess (لا تنسى النقطه). جعل نسخة احتياطية ، ثم اضافة السطر التالي :

AddHandler application/x-httpd-php .php .html .htm Addhandler تطبيق / x - httpd - بي. اتش. بى. بى. اتش. بى. لغة تأشير النص الفائق. Htm

and save the .htaccess file. وانقاذ. htaccess الملف. This will then allow the browser to parse the php in pages with the htm and html extensions as well as the php extension. وسيكون ذلك بدوره الى السماح للمتصفح فإن تحليل بي. اتش. بى في صفحات مع htm لغة تأشير النص الفائق وتمديدات وكذلك تمديد بي. اتش. بى.

Couple of things to watch out for: if you cut and paste the above code, ensure the quotes are single straight quote marks and the angle brackets are proper code not greater and less than signs. امرين لمشاهدة من اصل ل: اذا كنت قد قص ولصق المدونه اعلاه ، هي ضمان ونقلت مباشرة واحد علامات الاقتباس والاقواس الزاويه الصحيحه هي أكبر رمز وليس اقل من دلالة.

Also, make sure you double check the resulting meta tags for these pages, it might result in losing ايضا ، تأكد انك تحقق مما ادى الى ضعف العلامات الفوقيه لهذه الصفحات ، أنه قد يؤدي الى فقدان RSS autodiscovery ار اس اس autodiscovery or changes in your carefully honed title tags. او تغييرات في العنوان الخاص بك شحذ العلامات بعناية. Also, you generally will not be able to enable comments on these pages as you might do with a static Page within Wordpress proper. أيضا ، لكم عموما لن تكون قادرة على تمكين تعليقات على هذه الصفحات ما لكم قد لا جامدة صفحة WordPress السليم. If anyone knows how to workaround the comments disabled default for this kind of page, please leave a comment. واذا كان احد يعرف كيف حل تعليقات المعوقين الافتراضي لهذا النوع من الصفحه ، يرجى ترك التعليق. I’d love to enable comments across the whole of the Sciencebase.com site on which I make extensive use of this format. انا احب لتمكين التعليقات في جميع انحاء sciencebase.com من الموقع الذي انا على نطاق واسع استخدام هذا الشكل.

34 responses so far ↓ 34 الردود حتى الآن ↓

  • Ben بن // / / Jun 7, 2007 at 4:16 pm 7 يونيو ، 2007 في الساعة 4:16

    Why not just convert all your legacy pages (with a little p) into static pages within the Wordpress system and then relocate the subfolder to the site’s root? لماذا ليس فقط تحويل كل ما تبذلونه من الصفحات القديمة (مع قليل من ع) في الصفحات WordPress داخل النظام وبعد ذلك نقل الى subfolder الموقع الجذر؟ Job done. المهمة.

  • David Bradley ديفيد برادلي // / / Jun 7, 2007 at 4:18 pm 7 يونيو ، 2007 في الساعة 4:18

    That would be one way of doing things, Ben, but what if you have thousands of pages in standard html, that’s an awful lot of cutting and pasting. التي من شأنها ان تكون احدى الطرق لتسيير الامور ، بن ، ولكن ماذا لو كان لديك آلاف الصفحات القياسيه في لغة تأشير النص الفائق ، وهذا فظيعه الكثير من القطع واللصق. Also, there might be reasons why you want to keep the blog part in its own folder and have standalone chunks in the root. ايضا ، قد تكون هناك اسباب لماذا تريد ان تبقى جزءا بلوق في حد ذاتها مجلد مستقل وقطع في الجذر.

  • deb deb // / / Jan 15, 2008 at 2:02 am 15 كانون الثاني / يناير ، 2008 في الساعة 2:02

    I’m having a problem doing the opposite of what you instructed. انا بعد مشكلة تفعل عكس ما كنت تعليمات. I want to add a bunch of html pages on the root of my directory and having a hard time. وأريد ان اضيف مجموعة من صفحات لغة تأشير النص الفائق على جذور بلادي من الدليل وجود الوقت الصعب.

    I would like a thankyou, about, seemore, page etc, and It keeps calling my 404 page. واود ان آ شكر ، عن ، Seemore ، الصفحه الخ ، وتبقي الدعوة الى بلادي 404 صفحة. how do I stop it? كيف يمكنني التوقف؟

    Thanks.l

  • David Bradley ديفيد برادلي // / / Jan 15, 2008 at 7:16 am 15 كانون الثاني / يناير ، 2008 في الساعة 7:16

    Deb, do you mean you are trying to create static pages in Wordpress called from the homepage, or are you making standalone pages but don’t want to have them use the WP template? Deb ، هل يعني أنت تحاول أن تخلق في الصفحات WordPress ودعا من خلال الصفحه الرئيسية ، او هل انت صنع صفحات مستقل ولكن لا أريد ان يكون لها استخدام رزمه العمل القالب؟ Please clarify and someone here might be able to assist. يرجى توضيح شخص وهنا قد تكون قادرة على مساعدة.

    First thought, did you double check the links you’re using? الفكر الأول ، هل تأكد من الروابط كنت تستخدم؟

    db ديسيبل

  • deb deb // / / Jan 17, 2008 at 6:57 am 17 كانون الثاني / يناير ، 2008 في الساعة 6:57

    What i want to do is create standalone pages. لكن ما اريد القيام به هو انشاء صفحات مستقل. that don’t call the template. لا ندعو الى ان القالب. I want a thankyou.html page for example. اريد thankyou.html صفحة على سبيل المثال. And I can’t seem to get it working. وانا لا يمكن ان يبدو انه للحصول على عمل. it keeps calling the the template. فهي التي تجعل الاتصال القالب.

    Also, I’ve created a folder called thankyou right at the root of the domain. كما قمت بانشاء مجلد دعا شكر الحق في جذور هذا الميدان. added a page in it called index.html and the darn thing still calls the wp template. واضاف انه في صفحة index.html ودعا يا الاهي شيء لا تزال تطلق رزمه العمل القالب. I am totally baffled. انا حير تماما.

    Please help. من فضلكم ساعدونا.

  • David Bradley ديفيد برادلي // / / Jan 17, 2008 at 7:31 am 17 كانون الثاني / يناير ، 2008 في الساعة 7:31

    Deb, that is very odd. Deb ، وهذا امر في غاية الفرديه. If you are creating the pages within Wordpress then that’s bound to happen, but if you are simply creating a standard html page and then uploading it to the root then make sure you haven’t added the includes for WP. اذا كنت تقوم بانشاء الصفحات داخل WordPress ثم ان للبد أن يحدث ، ولكن اذا كنت مجرد انشاء معيار لغة تأشير النص الفائق تحميل الصفحه ، ثم الى الجذر ثم تأكد انك لم اضافت ليشمل رزمه العمل. Could you either email the source code for the troublesome pages or point me to those pages and I’ll take a look. أما البريد الالكتروني يمكن ان لكم شفره المصدر لصفحات أو مزعجا لي وجهه الى تلك الصفحات وانا نلقي نظرة.

    db ديسيبل

  • deb deb // / / Jan 18, 2008 at 3:37 am فى يناير 18 ، 2008 في الساعة 3:37

    Thanks DB, وبفضل ديسيبل ،

    You are right. انتم على حق. That’s exactly what im trying to do. وهذا بالضبط ما تحاول ان تفعله المراسله الفوريه. However, i just can’t get the darn thing to work. ومع ذلك ، أنا فقط لا يستطيع الحصول على العمل يا الاهي شيء.

    I am really frustrated at this point so im gonna go and hire some help. انا فعلا بالاحباط عند هذه النقطه حتى gonna ايم الذهاب واستئجار بعض المساعدة. A sista can’t be waisting three days trying to figure out this techie stuff أ sista لا يمكن ان يكون waisting ثلاثة ايام يحاول هذا الشكل من أصل الأشياء فني :)

    Thanks for all your help though. شكرا للجميع على الرغم من ان مساعدتكم.

    DG المدير العام

  • TATHAGAT Tathagat // / / Feb 2, 2008 at 8:26 am 2 فبراير ، 2008 في الساعة 8:26

    please send the process of making html page الرجاء ارسال عملية جعل لغة تأشير النص الفائق الصفحه

  • David Bradley ديفيد برادلي // / / Feb 2, 2008 at 9:29 am 2 فبراير ، 2008 في الساعة 9:29

    Send it where Tathagat? ارسل tathagat فيها؟ It’s right here. ومن هنا حق. On the page على الصفحه ؛-)

    db ديسيبل

  • Ariela Ariela // / / Mar 6, 2008 at 10:01 pm 6 مارس ، 2008 في الساعة 10:01

    Hey, ياه ،

    I think I followed your directions exactly, but nothing is showing up on the page. واعتقد انني إتبعت الإتجاهات الخاصة بك تماما ، ولكن لا شيء يظهر على الصفحه.

    Ariela

  • David Bradley ديفيد برادلي // / / Mar 7, 2008 at 7:40 am 7 مارس ، 2008 في الساعة 7:40

    Ariela, what is the file extension for the page? Ariela ، ما هو امتداد الملف للصفحة؟ If it’s not “.php” (could be .htm, .html instead), do you have those file extensions set to be read as php by your server? اذا لم ". بى. اتش. بي" (يمكن ان يكون. Htm ،. بدلا من لغة تأشير النص الفائق) ، هل لديك مجموعة امتدادات الملفات التي يمكن ان تقرأ على النحو بي. اتش. بى من قبل الخادم الخاص بك؟

    to do that, you need this line in your .htaccess file: لفعل ذلك ، كنت بحاجة الى هذا الخط في الملف. htaccess الملف :

    AddHandler application/x-httpd-php .php .html .htm Addhandler تطبيق / x - httpd - بي. اتش. بى. بى. اتش. بى. لغة تأشير النص الفائق. Htm

    db ديسيبل

  • Ariela Ariela // / / Mar 7, 2008 at 7:50 am 7 مارس ، 2008 في الساعة 7:50

    Thanks for getting back to me so fast… شكرا للحصول على العودة الى لي بهذه السرعه…

    The file extension was .php, but I ended up going in a different direction — I’m building a theme to apply to the blog that looks just like my webpage. وكان امتداد الملف. بى. اتش. بى ، ولكن انتهى بي الأمر تسير في اتجاه مختلف -- انا بناء على الموضوع ينطبق على بلوق ان تبدو مثل صفحتي.

    Thanks, though! شكرا ، على الرغم!

  • David Bradley ديفيد برادلي // / / Mar 7, 2008 at 10:44 am 7 مارس ، 2008 في الساعة 10:44

    Ah, okay, wonder why it failed then…caching perhaps? آه ، حسنا ، نتساءل عن السبب في انها لم تفلح في ذلك الحين… ولعل استخدام الذاكرة الوسيطه؟ Let us know how you get on. دعونا نعرف كيف تحصل على.

    You’ve got some lovely photos on your site by the way! كنت قد حصلت على بعض صور جميلة علي موقعك من خلال الطريقة! You may care to check out my public يمكنك ان الرعايه للتحقق من بلادي العامة flickr gallery معرض فليك ار.

    db ديسيبل

  • Ariela Ariela // / / Mar 8, 2008 at 8:17 am 8 مارس ، 2008 في الساعة 8:17

    Hey, so I ended up building a theme that looked like my web page and everything worked, but I came across another problem, and am hoping that you have an answer. هيه ، حتى انتهى بي الأمر ان موضوع بناء تبدو كأنها بلدي صفحة الويب وعملت كل شيء ، ولكنني صادف وهناك مشكلة اخرى ، وانا آمل ان لديك اجابة. The one thing that’s not working is that the images aren’t showing up — they’re little blue diamonds with the question marks. الشيء الوحيد الذي لا يعمل هو ان الصور لا تظهر حتى -- انهم قليلا الماس الازرق مع علامات استفهام. I checked and double checked all the image paths. وانا تأكدت مضاعفة فحص جميع مسارات الصورة. They are all, by the way, in the header.php and the footer.php. كلهم ، بالمناسبه ، في header.php وfooter.php. Any idea what I did wrong? اي فكرة خاطءه ماذا فعلت؟

    Thanks! شكرا! (and thanks for the compliments on the photos — I’ll let the photographer know!) (وشكرا للمجاملات على صور -- أنا أود أن أعرف المصور!)

  • Scott سكوت // / / Apr 14, 2008 at 6:00 am 14 ابريل ، 2008 فى الساعة 6:00 صباحا

    That is brilliant. وهذا هو الرائع. Technical, but brilliant. التقنيه ، ولكنها راءعه. I moved from HTML to WP a year ago and had a bunch of pages I just copied over cause I was too lazy to convert them. انتقلت من لغة تأشير النص الفائق لرزمه العمل منذ سنة وكانت مجموعة من صفحات لقد نسختها أكثر من سبب وانا كسوله جدا لتحويل لها.

    I am definitely bookmarking this page. وانا بالتأكيد مؤشرات مرجعيه لهذه الصفحه. Thanks! شكرا!

    Minnesota Investment Property’s last blog post.. مينيسوتا الممتلكات الاستثمارية آخر بلوق بعد.. Stupid Property Repairs #3 غبي اصلاح الممتلكات # 3

  • Luke // لوقا / / Apr 23, 2008 at 3:55 am 23 ابريل ، 2008 في الساعة 3:55

    David, ديفيد ،

    When I tried this, I got the following: وحين حاولت ان هذا ، حصلت على ما يلي :

    Parse error: syntax error, unexpected ‘?’ in /xxxx/xxxx on line 159 خطا تحليل : خطأ لغوي ، وغير متوقعة '؟' فى / XXXX / XXXX على الخط 159

    I know next to nothing about php, so I copied and pasted exactly what you typed, with the proper ‘ and . وانا اعلم شيئا عن القادم لبي. اتش. بى ، حتى نسخ ولصق لي بالضبط ما كتبت ، مع حسن 'و.

    Any ideas as to what I’m doing wrong? أي أفكار لما أعمله خاطءه؟

  • David Bradley ديفيد برادلي // / / Apr 23, 2008 at 7:43 am 23 ابريل ، 2008 في الساعة 7:43

    Luke, you checked the single quote marks, did you check the angle brackets? لوقا ، كنت قد وضعت علامة علامتي الاقتباس ، هل تحقق من زاويه بين قوسين؟

    db ديسيبل

  • Luke // لوقا / / Apr 23, 2008 at 4:57 pm 23 ابريل ، 2008 في الساعة 4:57

    David, ديفيد ،

    I checked those as well. انا تأكدت تلك أيضا. I included the angle brackets in my previous post, but they must have been cut out. وشملت الزاويه الاول في تقريري السابق بين قوسين بعد ، ولكنها يجب ان يكون قد تم قطع.

    I just sent you an email with more specific information. انا فقط أرسلت لك رسالة بريد الكتروني على معلومات اكثر تحديدا.

    Luke لوك

  • David Bradley ديفيد برادلي // / / Apr 23, 2008 at 5:09 pm 23 ابريل ، 2008 في الساعة 5:09

    Thanks for the follow-up. شكرا للمتابعة. You explained in an email that you’re creating a standalone page you want to theme as if it were part of your blog, but your Wordpress blog is actually in the root of your domain, so there is actually no need to use my workaround. واوضحت لكم في رسالة بريد الكتروني انك مستقل انشاء الصفحه التي تريد الموضوع كما لو كانت جزءا من بلوق الخاص بك ، ولكن بلوق WordPress الخاص بك هو في الواقع السبب الجذري لنطاقك ، ولذلك هو في الواقع لا حاجة الى استخدام بلدي حل.

    Simply create a “Page” with the content you sent me, tweak the permalink and everything should be fine. ببساطة انشاء "صفحة" مع المحتوى الذي ارسلته لي ، فان التعديل النهائي والدائم ينبغي ان يكون كل شيء بخير.

    If you really must do it this way then try the code without the period before the slash, and if that doesn’t work remove the slash too. اذا كنت حقا يجب ان يتم ذلك بهذه الطريقة ثم حاول المدونه دون فترة ما قبل القطع ، واذا لم يفلح ذلك ازالة القطع ايضا.

    Let us know how you get on. دعونا نعرف كيف تحصل على.

    db ديسيبل

  • Bob O'Haver بوب o'haver // / / May 16, 2008 at 6:29 pm 16 ايار / مايو ، 2008 في الساعة 6:29

    I have a site that I need to add the current post to the top of a HTML page. عندي موقع انا بحاجة الى ان تضاف الى وظيفة أعلى من لغة تأشير النص الفائق الصفحه. Will this work for that? سيكون هذا العمل لذلك؟
    What is the code just to bring in the current post? ما هو رمز لمجرد تحقيق في الوظيفة الحالية؟
    Thanks شكرا

  • David Bradley ديفيد برادلي // / / May 16, 2008 at 6:44 pm 16 ايار / مايو ، 2008 في الساعة 6:44

    Bob, that should work with this code. بوب ، التي ينبغي ان العمل مع هذا القانون. You’d need to add the Wordpress loop (see the main index file in your template) and set it to display just one post. كنت بحاجة الى اضافة WordPress حلقة (انظر الرقم القياسي الملف الرئيسي في القالب (وانه لعرض مجموعة وظيفة واحدة فقط.

    db ديسيبل

  • Kimberley كيمبرلي // / / May 18, 2008 at 8:27 pm 18 مايو 2008 فى الساعة 8:27

    David, ديفيد ،

    Im getting the same similar error that Luke reported. ايم مماثلة للوصول الى نفس الخطأ وافادت ان لوقا.

    I know that you said the following: “Couple of things to watch out for: if you cut and paste the above code, ensure the quotes are single straight quote marks and the angle brackets are proper code not greater and less than signs.” انا اعلم انكم قال ما يلي : "امرين لمشاهدة من اصل ل: اذا كنت قد قص ولصق المدونه اعلاه ، هي ضمان ونقلت مباشرة واحد علامات الاقتباس والاقواس الزاويه الصحيحه هي أكبر رمز وليس اقل من علامات".

    But I dont see any quote marks or greater/less than signs to correct. الا انني انظر dont اي علامات الاقتباس او اكبر / اقل من بوادر لتصحيح.

    Any ideas? أي افكار؟

  • David Bradley ديفيد برادلي // / / May 19, 2008 at 8:31 am في 19 مايو / ايار 2008 في الساعة 8:31

    Kimberley, they’re right there up above… كيمبرلي ، والحق انهم هناك حتى أعلاه…

    You have to add this to the source of your page: لديك لاضافة هذا الى مصدر الصفحه الخاصة بك :

    < ?php define('WP_USE_THEMES', false); require('./your-wordpress-folder/wp-blog-header.php'); ?> <؟ تعريف بي. اتش. بى ( 'wp_use_themes' ، زاءفه) ؛ تتطلب ( '. / WordPress الخاص بك - مجلد - / - رزمه العمل بلوق - header.php') ؛؟>

    You are on an Apache system, yes? انت على نظام اباتشي ، نعم؟

    db ديسيبل

  • Kimberley كيمبرلي // / / May 20, 2008 at 1:45 am 20 مايو / ايار 2008 في 1:45 صباحا

    Okay, I went back tonight to look at the code and my ‘ were slanted… So fixed that. حسنا ، عدت هذه الليلة للنظر في قانون بلدي و'كانت slanted… حتى ان الثابتة. Im not sure it did anything. المراسله الفوريه للتأكد من انها ليست شيئا. Im not getting the Parse error: syntax error, unexpected ‘?’ in /xxxx/xxxx on line 159 error anymore. ايم لا تحصل على خطأ تحليل : خطأ لغوي ، وغير متوقعة '؟' فى / XXXX / XXXX على خط 159 خطا بعد الآن. What’s happening is that the page sort of loads itself, but the images disappear. ما يحدث هو ان الصفحه نوع من الاحمال في حد ذاته ، الا ان الصور تختفي. The link is: الوصله :

    http://www.dreamsofmidnight.com/DreamsWeDreampt/index-new.html http://www.dreamsofmidnight.com/dreamswedreampt/index-new.html

    [ Yes I know "Dreampt" is spelled wrong. [نعم انا اعرف "dreampt" هو توضيح الخطأ. Just a test folder. مجرد اختبار مجلد. =) ] =)]

  • David Bradley ديفيد برادلي // / / May 20, 2008 at 7:45 am 20 مايو / ايار 2008 في 7:45 صباحا

    Hi Kimberley and thanks for your 3 attempts and an email. مرحبا وشكرا لكيمبرلي الخاص بك 3 محاولات وبريد الكتروني. All got through. حصلت خلال جميع. Your comments did “stick” it’s just it was night here so I wasn’t at my computer to approve them. تعليقاتكم هل كان "العصا" لكنه ما لبث أن كان هنا ليلة حتى انني لم اكن فى جهاز الكمبيوتر الخاص بي الى الموافقة عليها. You should’ve seen a message, however, to say that comments require approval so apologies if that wasn’t apparent. كنت قد قمت ينبغي ان ينظر اليه رسالة ، ومع ذلك ، الى القول ان التعليقات التي تتطلب الموافقة على ذلك الاعتذار اذا لم يكن ذلك واضحا.

    db ديسيبل

  • David Bradley ديفيد برادلي // / / May 20, 2008 at 7:47 am 20 ايار / مايو 2008 فى الساعة 7:47

    Kimberley (again) - I mentioned in the post that readers should check that quotes are straight and angle brackets working as html rather than being converted. كيمبرلي (مرة اخرى) -- ذكرت في ما بعد ان القراء ينبغي ان يتم التحقق من ان يقتبس الزاويه المستقيمه والاقواس كما تعمل لغة تأشير النص الفائق بدلا من تحويلها. But, I did take a look at your code and the javascript for rendering your images is pointing to “http://127.0.0.1:1025/js.cgi?pa&r=2401″ that’sa local (ie your machine) rather than the server, so that’s why they’re not showing up because the script needs to be in your root on the site server. ولكن ، انا لم الق نظرة على الشفره وجافا سكريبت لجعل صورك هو مشيرا الى "http://127.0.0.1:1025/js.cgi؟pa&r=2401" وهذا هو المحلية (أي جهازك) بدلا من الخادم ، وذلك لهذا السبب انهم لا يظهر حتى لان النص يحتاج إلى حسابك في الجذر على الموقع الالكترونى.

    That said, what benefits are there to serving images via a script, why not make them absolute and then there’s last chance of things breaking, especially for users running NoScript in their browser! وقال ان ما يجري هناك فوائد لخدمة الصور عن طريق الكتابة ، ولماذا لا تجعلها المطلقة ثم هناك فرصة اخيرة للكسر الأشياء ، وخاصة بالنسبة للمستخدمين تشغيل noscript في المتصفح!

    db ديسيبل

  • Kimberley كيمبرلي // / / May 21, 2008 at 4:09 am 21 ايار / مايو ، 2008 في الساعة 4:09

    I apologize for all the emails. اعتذر لجميع رسائل البريد الالكتروني. I must look like a complete moron. لا بد لي ان تبدو كاملة معتوه. However, there was no message showing up on the site, that’s why I thought they weren’t getting through. بيد انه لا يوجد اي رسالة تظهر على هذا الموقع ، ولهذا السبب اعتقد انها ليست عن طريق للوصول. Sorry about that. آسف على ذلك.

    I’ll check what you mentioned. أنا أشرت إلى ما تحقق. And get back to you. ونعود اليكم.

  • David Bradley ديفيد برادلي // / / May 21, 2008 at 7:50 am 21 ايار / مايو ، 2008 في الساعة 7:50

    I just did a test comment post Kimberley and once a message has been submitted you should’ve seen a little notice saying it would appear once moderated and now offering you the option to subscribe to the newsfeed. انا فقط لم اختبار كيمبرلي بعد التعليق مرة واحدة ورسالة وقدمت لكم وينبغي أن ينظر إليه بشيء من قد أرسلنا اشعار قائلا انه يبدو مرة واحدة للاشراف والآن لكم الخيار في الانضمام الى Newsfeed.

    db ديسيبل

  • Sarah سارة // / / Jun 18, 2008 at 4:12 pm 18 يونيو ، 2008 في الساعة 4:12

    Hi David, مرحبا ديفيد ،

    We have a problem when trying to add the .html extension to WP Pages (with a cap P). لدينا مشكلة عندما تحاول ان تضاف. رزمه العمل لتمديد لغة تأشير النص الفائق صفحة (مع كاب ع). Do you know if this is possible and how to go about this? هل تعرف اذا كان هذا ممكن وكيف أذهب عن هذا؟

    Thanks شكرا
    Sarah سارة

  • David Bradley ديفيد برادلي // / / Jun 18, 2008 at 5:47 pm 18 يونيو ، 2008 في الساعة 5:47

    Sarah, I am pretty sure there is a workaround, but I’ve not yet implemented it and have been persuaded that there is little point as most users are blind to file extensions in URLs these days. سارة ، انا متأكد جميلة وثمة حل ، ولكن انا كنت لم تنفذ حتى الان وانه تم اقناعهم بأن هناك فائدة من حيث ان معظم المستخدمين للمكفوفين امتدادات الملفات عناوين المواقع في هذه الايام. There may, just may, be SEO benefits to having the .html, but I’m not sure what those would be. هناك ايار / مايو ، عادل ايار / مايو ، الى ان سيو فوائد لها. لغة تأشير النص الفائق ، ولكن لست متأكدا ما تكون هذه.

    Have you searched the wordpress forums for an answer? هل بتفتيش WordPress المنتديات عن اجابة؟

  • Sarah سارة // / / Jun 18, 2008 at 6:35 pm 18 يونيو ، 2008 في الساعة 6:35

    Yes, but it seems to be nigh on impossible and not recommended as it involves fiddling with the source code and course there’s future updates to consider. نعم ، ولكن يبدو ان اقترب منه وليس من المستحيل على اوصت لأنها تنطوي على الغش مع شفره المصدر وطبعا هناك مستقبل للنظر في التحديثات. Nonetheless, if there was a workable solution I would consider it, if only for the benefit of SEO considerations - but again as you say, what are the benefits there? ومع ذلك ، اذا كان هناك حل عملي وأود ان تنظر فيه ، الا اذا كان لصالح اعتبارات سيو -- ولكن مرة أخرى كما تقول ، ما هي فوائد هناك؟

  • David Bradley ديفيد برادلي // / / Jun 18, 2008 at 7:15 pm 18 يونيو ، 2008 في 7:15 مساء

    Actually, there may be hidden SEO benefits to having a few Pages on a site that look to all intents and purposes as if they are actually folder structures rather than individual files, I’m thinking في الواقع ، قد تكون هناك فوائد لسيو خفية وبعد بضع صفحات على موقع ان ننظر الى جميع المقاصد والاغراض كما لو انها في الحقيقة بدلا من مجلد هياكل الملفات الفرديه ، وأنا أفكر Google Site Links نشر موقعك على وصلات

  • Data البيانات // / / Jun 27, 2008 at 9:15 pm 27 يونيو ، 2008 في 9:15 مساء

    I’m finding way to make these structure, if possible :- انا في ايجاد طريقة لجعل هذه البنية ، وإذا أمكن : --
    Eg -> على سبيل المثال -->
    Page structure like this :- الصفحه هيكل مثل هذا : --
    domaincom/page1.html
    domaincom/page2.html

    and Blog Post like this ( as choosing the /%postname%/ for permanent link structure ) :- وبعد مثل هذا بلوق (اختيار / ٪ postname ٪ / للهيكل وصلة دائمة) : --
    domaincom/myblogpost/ domaincom / myblogpost /
    domaincom/myblogpost2/ domaincom/myblogpost2 /
    …and so on. … وما الى ذلك.

    Would these be possible ? هذه من شأنه ان يكون من الممكن؟

    Thanks for your kind help if there is solution. شكرا لتفضلكم مساعدة اذا كان هناك حل.

    Datas last blog post.. Datas الماضي بعد بلوق.. Computer System نظام الحاسوب

  • David Bradley ديفيد برادلي // / / Jun 29, 2008 at 8:19 pm 29 يونيو ، 2008 في الساعة 8:19

    Data, check out the Wordpress FAQ and forums for assistance on permalinks. البيانات ، افحص WordPress الاسءله الشاءعه ومنتديات للمساعدة على permalinks.

Leave a Comment ترك التعليق

Comments are checked for spam before appearing, no need to post it twice. التعليقات للتأكد من البريد المزعج قبل ان تظهر ، ولا حاجة الى ما بعد انها مرتين.

Related Posts الوظائف ذات الصلة