رفع مشکل ویرایش فایل های php در وردپرس

رفع مشکل ویرایش فایل های php در وردپرس

ممکن است زمان ویرایش فایل های php در ویرایشگر wordpress با خطای زیر مواجه شوید:
قادر به برقراری ارتباط با سایت برای بررسی خطاهای مهلک نمی‌باشیم،
بنابراین تغییر PHP برگشت داده شد. شما بایستی تغییر فایل PHP خود را با
استفاده از ابزارهای دیگر مانند استفاده از SFTP آپلود نمایید.

این خطا ممکن است بدلیل تنظیمات Mod Security باشد. در رُز سرور تنظیمات Mod Security بصورتی است که چنین خطایی از سمت هاست ایجاد نمیشود.

اگر از پرشین طرح سرویس گرفته اید و زمان ویرایش فایل های php در وردپرس خطای فوق را دریافت میکنید تنظیمات وردپرس و بخصوص تنظیمات موجود در فایل .htaccess خود را چک کنید.

بعضی پلاگین های امنیتی ممکن است دستوراتی را به فایل htaccess اضافه کنند که این دستورات محدودیت هایی را در سایت ایجاد میکنند. به احتمال خیلی زیاد تنظیمات وارد شده در فایل .htaccess باعث ایجاد این مشکل شده است.

در فایل .htaccess وردپرس تنظیمات (دستورات) پیشفرض معمولا بصورت زیر بین دو عبارت # BEGIN WordPress و # END WordPress نوشته شده است

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

دیگر کدهای وارد شده در فایل .htaccess توسط شما یا توسط پلاگین ها یا قالب یا … به این فایل اضافه شده اند و معمولا حذف آنها مشکلی ایجاد نمیکند.


(41) دیدگاه برای “رفع مشکل ویرایش فایل های php در وردپرس” ثبت شده است.
  • Good day very cool blog!! Man .. Beautiful .. Wonderful ..
    I will bookmark your blog and take the feeds also?
    I’m glad to find so many helpful information here
    within the put up, we need develop extra techniques in this regard, thank you for sharing.
    . . . . .

  • Hi there, I would like to subscribe for this blog
    to take most recent updates, thus where can i do it please help out.

  • You could definitely see your expertise
    in the article you write. The sector hopes for more
    passionate writers like you who aren’t afraid to mention how they believe.
    At all times follow your heart.

  • When I initially commented I clicked the “Notify me when new comments are added” checkbox
    and now each time a comment is added I get three emails with
    the same comment. Is there any way you can remove me from that service?
    Many thanks!

  • coin casino گفت:

    Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my
    blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some time and was
    hoping maybe you would have some experience with something like this.
    Please let me know if you run into anything. I truly
    enjoy reading your blog and I look forward to your new updates.

  • Payday loans گفت:

    When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get
    several emails with the same comment. Is there any way you can remove
    people from that service? Many thanks!

  • What’s Happening i am new to this, I stumbled upon this I’ve found It
    absolutely useful and it has helped me out loads. I’m
    hoping to give a contribution & assist other users like its aided me.
    Great job.

  • Hey! This is kind of off topic but I need some guidance
    from an established blog. Is it difficult to set up your own blog?
    I’m not very techincal but I can figure things out pretty quick.
    I’m thinking about creating my own but I’m not sure where to
    start. Do you have any points or suggestions? Thank you

  • カジノx گفت:

    Fine way of describing, and nice paragraph to get facts on the topic of my presentation topic,
    which i am going to present in institution of higher education.

  • hi!,I really like your writing very so much! proportion we be in contact extra about your article on AOL?

    I need an expert in this area to resolve my problem.
    Maybe that is you! Taking a look forward to look you.

  • William Hill گفت:

    It’s going to be ending of mine day, however before finish I am reading this impressive article to improve my experience.

  • Good post. I certainly appreciate this site.
    Thanks!

  • Hey there this is kinda of off topic but I was wondering if blogs use WYSIWYG editors or
    if you have to manually code with HTML. I’m starting a blog soon but have no coding experience so
    I wanted to get advice from someone with experience. Any help would be enormously appreciated!

  • 우리카지노 گفت:

    I’m curious to find out what blog system you are using?
    I’m experiencing some minor security issues with my latest
    website and I would like to find something more safeguarded.
    Do you have any suggestions?

  • css padding گفت:

    Wow, marvelous weblog structure! How lengthy have you been running a blog for?
    you made blogging glance easy. The whole glance of your web
    site is wonderful, let alone the content material!

  • I know this if off topic but I’m looking into starting my own blog
    and was wondering what all is required to get setup? I’m assuming having a blog like yours would
    cost a pretty penny? I’m not very internet savvy
    so I’m not 100% sure. Any tips or advice would be greatly appreciated.

    Kudos

  • Somebody essentially lend a hand to make seriously posts I might state.
    That is the first time I frequented your website page and up to
    now? I surprised with the research you made to make this particular post incredible.
    Fantastic job!

  • Appreciating the hard work you put into your site and in depth
    information you present. It’s nice to come across a blog every once in a while that isn’t the same old rehashed
    information. Fantastic read! I’ve bookmarked your site
    and I’m adding your RSS feeds to my Google account.

  • great put up, very informative. I ponder why the other experts of this
    sector don’t notice this. You should proceed your writing.
    I am sure, you have a huge readers’ base already!

  • 코인카지노 گفت:

    Hi, after reading this amazing paragraph i am as well happy to
    share my know-how here with colleagues.

  • I read this post completely regarding the comparison of latest and
    earlier technologies, it’s amazing article.

  • This article will help the internet visitors for creating new
    website or even a blog from start to end.

  • Hi everybody, here every one is sharing such experience, so it’s fastidious
    to read this website, and I used to pay
    a quick visit this weblog all the time.

  • 더킹카지노 گفت:

    I’m gone to inform my little brother, that he should
    also visit this web site on regular basis to get updated from latest information.

  • Awesome site you have here but I was wanting to know if you knew
    of any message boards that cover the same topics discussed here?
    I’d really like to be a part of online community where I can get comments from other experienced people that share the same interest.
    If you have any suggestions, please let me know.
    Appreciate it!

  • 우리카지노 گفت:

    Admiring the hard work you put into your website and in depth information you offer.

    It’s awesome to come across a blog every once in a while that isn’t the
    same outdated rehashed material. Fantastic read!
    I’ve saved your site and I’m including your RSS feeds to my Google account.

  • I’m no longer sure where you’re getting your information,
    but good topic. I needs to spend a while finding out
    much more or understanding more. Thank you for excellent info I used
    to be looking for this information for my mission.

  • 노모 گفت:

    Hello! This post couldn’t be written any better! Reading through this post reminds me
    of my previous room mate! He always kept chatting about this.
    I will forward this write-up to him. Pretty sure
    he will have a good read. Thank you for sharing!

  • If some one wishes expert view regarding blogging and
    site-building after that i propose him/her to
    go to see this website, Keep up the nice job.

  • I visited several blogs except the audio quality for audio songs existing
    at this web site is really wonderful.

  • 코인카지노 گفت:

    Howdy! I could have sworn I’ve been to this blog before but after checking through some of the post I realized it’s new to me.
    Anyways, I’m definitely glad I found it and I’ll be bookmarking and checking back often!

  • Link exchange is nothing else but it is just placing the other person’s blog
    link on your page at proper place and other person will also do similar
    for you.

  • 샌즈카지노 گفت:

    As the admin of this web page is working, no question very soon it will be famous,
    due to its quality contents.

  • konicasino.com گفت:

    hello!,I really like your writing so so much!
    percentage we communicate extra about your article on AOL?
    I need an expert in this area to solve my problem.
    Maybe that is you! Looking forward to see you.

  • 우리카지노 گفت:

    Thanks for one’s marvelous posting! I definitely enjoyed reading it,
    you could be a great author.I will be sure to bookmark your blog and will eventually come back later in life.
    I want to encourage you to continue your great work, have a
    nice evening!

  • 007카지노 گفت:

    After going over a handful of the blog articles on your web site, I truly appreciate your way of writing a
    blog. I book-marked it to my bookmark website list and will be checking back soon. Take a look at my web site as
    well and let me know your opinion.

  • Bwin گفت:

    Hey! I could have sworn I’ve been to this website before but after checking through some of the post I realized it’s new
    to me. Nonetheless, I’m definitely delighted I found it and I’ll be bookmarking and checking back often!

  • Greetings! Very helpful advice within this post! It’s the little changes that will make
    the most significant changes. Many thanks for sharing!

  • 코인카지노 گفت:

    Having read this I believed it was very enlightening.
    I appreciate you taking the time and energy to put this short article together.
    I once again find myself spending way too much time both reading and leaving comments.

    But so what, it was still worthwhile!

  • raider image گفت:

    Incredible points. Outstanding arguments. Keep up the good spirit.

  • I know this web page offers quality depending content and additional stuff,
    is there any other site which presents these things in quality?