aliyaghobi
کاربر عضو
سلام دوستان
وقتی سایت رو با www میزنم فونت هاش بهم میریزه
چکار باید بکنم که وقتی کسی با www سایت رو بالا میاره به
اینم فایل .htaccess
## Uncomment (remove # ONLY NOT ##) line below if installed in folder and add folder name after /## Example: Script is installed in /public_html/short/ then it should be: Rewritebase /short## Then the files below should be (add slash to all): /index.php?action=$1## Uncomment the code below to Use PHP 5.4# AddHandler application/x-httpd-php54 .php#Options -MultiViews RewriteEngine On## Uncomment the following line to use the multi-domain feature# RewriteCond %{HTTP_HOST} ^yourseconddomain\.com$ [NC]# RewriteRule ^(.*)$
وقتی سایت رو با www میزنم فونت هاش بهم میریزه
لینک ها تنها برای اعضای سایت قابل نمایش است.
چکار باید بکنم که وقتی کسی با www سایت رو بالا میاره به
لینک ها تنها برای اعضای سایت قابل نمایش است.
ریدایرکت کنهاینم فایل .htaccess
## Uncomment (remove # ONLY NOT ##) line below if installed in folder and add folder name after /## Example: Script is installed in /public_html/short/ then it should be: Rewritebase /short## Then the files below should be (add slash to all): /index.php?action=$1## Uncomment the code below to Use PHP 5.4# AddHandler application/x-httpd-php54 .php#Options -MultiViews RewriteEngine On## Uncomment the following line to use the multi-domain feature# RewriteCond %{HTTP_HOST} ^yourseconddomain\.com$ [NC]# RewriteRule ^(.*)$
لینک ها تنها برای اعضای سایت قابل نمایش است.
[R=301,L]#Rewritebase /## Admin PanelRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^admin/(.*)?$ admin/index.php?a=$1 [QSA,NC,L]## Sitemap ###RewriteRule ^sitemap.xml$ sitemap.php## Application HandlerRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^(.*)?$ index.php?a=$1 [QSA,NC,L]## Error 404 ##ErrorDocument 404 /index.php?a=404با سپاس