hosein1367

چند تا فایل htaccess باید رو هاست باشه؟

13 پست در این موضوع

من روی هاستم 2تا فایل htaccess دارم که یکیش با پسوند "." و دیگیری "txt" هست

آیا طبیعیه ؟

در تنظیمات سئو وقتی 2تای اول رو روی بله میذارم رو سایت چندتا خطا میاد که مربوط به پلاگین میشه

ولی وقتی رو نه میذارم سایت فعاله ولی سئو نیست

حالا

استفاده از APACHE

mod_rewrite رو فعال می کنم صفحه اصلی سایت بالا میاد ولی مطالب رو باز نمی کنه و 404 not found میزنه

Share this post


Link to post
Share on other sites
آموزش ووکامرس قالب جوملا قالب وردپرس قالب رایگان وردپرس قالب رایگان جوملا هاست نامحدود هاست جوملا هاست لاراول هاست وردپرس هاست ارزان هاست ربات تلگرام خرید دامنه آموزش ساخت ربات تلگرام با php آموزش html و css آموزش لاراول آموزش cPanel آموزش php آموزش سئو وردپرس آموزش امنیت وردپرس آموزش وردپرس آموزش فرم ساز RSform آموزش سئو جوملا آموزش فروشگاه ساز Hikashop آموزش فروشگاه ساز ویرچومارت آموزش طراحی سایت آگهی تبلیغاتی آموزش امنیت جوملا آموزش طراحی سایت فروش فایل آموزش طراحی قالب ریسپانسیو با Helix آموزش جوملا 3 آموزش ساخت ربات دکمه ی شیشه ای آموزش ساخت ربات همکاری در فروش آموزش ساخت ربات جذب ممبر آموزش ساخت ربات ضد اسپم آموزش ساخت ربات پیوست فایل سورس ربات مدیر گروه | ربات مدیر گروه همسریابی

فایلی که با پسوند txt هست را با کنید و محتویاتش را به .htaccess انتقال بدین و فایل قبلی را پاک کنید

Share this post


Link to post
Share on other sites
فایلی که با پسوند txt هست را با کنید و محتویاتش را به .htaccess انتقال بدین و فایل قبلی را پاک کنید

62342522363570594253.png

این ارور میاد رو سایت باید بگم پشتیبان هاست خطارو OFF کنه ؟

سایت قبلا سو بودا الان دیگه نیست گزینه هاشم فعال می کنم بازم نمیشه

یکی کمک کنه

Share this post


Link to post
Share on other sites

هر کی تونست یک کمک در حق بنده حقیر بکنه اجرش با امام حسین

فقط می خوام سایتم یک سئو معمولی و ابتدایی بشه همین

Share this post


Link to post
Share on other sites

شما احیانا نمایش خطا های سایت را از قسمت تنظیمات جوملا فعال نکردید؟؟؟؟؟؟؟؟

Share this post


Link to post
Share on other sites

##

# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $

# @package Joomla

# @copyright Copyright © 2005 - 2008 Open Source Matters. All rights reserved.

# @license The GNU General Public License v3.0 - GNU Project - Free Software Foundation (FSF) GNU/GPL

# Joomla! is Free Software

##

#####################################################

# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE

#

# The line just below this section: 'Options +FollowSymLinks' may cause problems

# with some server configurations. It is required for use of mod_rewrite, but may already

# be set by your server administrator in a way that dissallows changing it in

# your .htaccess file. If using it causes your server to error out, comment it out (add # to

# beginning of line), reload your site in your browser and test your sef url's. If they work,

# it has been set by your server administrator and you do not need it set here.

#

#####################################################

## Can be commented out if causes errors, see notes above.

#Options +FollowSymLinks

#

# mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits

## If you experience problems on your site block out the operations listed below

## This attempts to block the most common type of exploit `attempts` to Joomla!

#

# Block out any script trying to set a mosConfig value through the URL

RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]

# Block out any script trying to base64_encode crap to send via URL

RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]

# Block out any script that includes a<script type="text/javascript">// <![CDATA[

tag in URL

RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]

# Block out any script trying to set a PHP GLOBALS variable via URL

RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]

# Block out any script trying to modify a _REQUEST variable via URL

RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})

# Send all blocked request to homepage with 403 Forbidden error!

RewriteRule ^(.*)$ index.php [F,L]

#

########## End - Rewrite rules to block out some common exploits

# Uncomment following line if your webserver's URL

# is not directly related to physical file paths.

# Update Your Joomla! Directory (just / for root)

RewriteEngine On

# index.php redirect

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/

RewriteRule ^index\.php$ بانک اطلاعات مشاغل استان خراسان رضوی [R=301,L]

# Redirect non-www to www version

RewriteCond %{HTTP_HOST} ^yoursite\.com$ [NC]

RewriteRule ^(.*)$ http://www.mashhadm118.ir/$1 [R=301,L

# RewriteBase /

########## Begin - Joomla! core SEF Section

#

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_URI} !^/index.php

RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.feed|.pdf|.raw|/[^.]*)$ [NC]

RewriteRule (.*) index.php

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

#

########## End - Joomla! core SEF Section

Share this post


Link to post
Share on other sites

من که مشکلی تو htaccess ندیدم اما برای اطمینان با htaccess خام جوملا مقایسش کن

Share this post


Link to post
Share on other sites

ارسال شده در (ویرایش شده)

همه ماژول هاییکه نصب کردی رو غیر فعال کن ببین بازم ارور میده

ویرایش شده در توسط masood111
غلط تایپی

Share this post


Link to post
Share on other sites
همه ماژول هاییکه نصب کردی رو غیر فعال کن ببین بازم ارور میده

میدونید من از جوملا 1.5 استفاده می کنم

و منو مدیریتم محدود شده بود که برای برداشتن این محدودیت جوملا 1.5 رو اکسترکت کردم رو هاستم .

از اون موقع به بعد با این مشکل مواجه شدم /

Share this post


Link to post
Share on other sites

برای ارسال نظر یک حساب کاربری ایجاد کنید یا وارد حساب خود شوید

برای اینکه بتوانید نظر ارسال کنید نیاز دارید که کاربر سایت شوید

ایجاد یک حساب کاربری

برای حساب کاربری جدید در انجمن ما ثبت نام کنید. عضویت خیلی ساده است !


ثبت نام یک حساب کاربری جدید

ورود به حساب کاربری

دارای حساب کاربری هستید؟ از اینجا وارد شوید


ورود به حساب کاربری