Tagged: x
-
AuthorPosts
-
January 11, 2017 at 5:52 am #1325347
TaverasJoseParticipantHi guys, Im encountering an internal error 500 on a live site.
Last thing I did was install a “Content Protection” and copy prevention plugin.(https://wordpress.org/plugins/wp-content-copy-protector/)
My hosting company suggested disabling the htaccess util it can be fixed, which brought back a site but the site still does not work well, the multisite is down and non of my links work.On the back panel and with the htacess disabled I deleted the plugin but
If i reenable the htaceess like it is it crashes again.This is my current HTaccess:
# BEGIN YOAST REDIRECTS
<IfModule mod_rewrite.c>
RewriteEngine On
Redirect 301 “/espanol/blog/category/hypertension” “/espanol/blog/category/hipertension”
Redirect 301 “/espanol/blog/category/tabletas” “/espanol/blog/category/tableta”
Redirect 301 “/espanol/blog/category/cardiologia” “/espanol/blog/category/medicina/cardiologia”
Redirect 301 “/espanol/blog/category/diabetes” “/espanol/blog/category/medicina/endocrinologia/diabetes”
Redirect 301 “/espanol/blog/category/hipertension” “/espanol/blog/category/medicina/cardiologia/hipertension”
Redirect 301 “/espanol/blog/category/visita-medica” “/espanol/blog/category/medicina/visita-medica”
Redirect 301 “/espanol/blog/category/hipercolesterolemia” “/espanol/blog/category/medicina/hipercolesterolemia”
Redirect 301 “/espanol/blog/2016/08/01/la-factoria-de-tiroides-comprendiendo-la-produccion-de-la-tiroides” “/espanol/blog/2016/08/01/la-factoria-de-tiroides”
Redirect 301 “/espanol/blog/2016/04/19/importante-medirte-la-presion-en-la-casa” “/espanol/blog/2016/04/19/medirte-la-presion”
Redirect 301 “/espanol/blog/2016/04/19/medirte-la-presion” “/espanol/blog/2016/08/07/medirte-la-presion”
Redirect 301 “/espanol/blog/enfermedad-valvular” “/espanol/blog/medicina/cardiologia/enfermedad-valvular”
Redirect 301 “/espanol/blog/medicina/hipercolesterolemia” “/espanol/blog/medicina/cardiologia/hipercolesterolemia”
Redirect 301 “/espanol/blog/en-el-hospital” “/espanol/blog/medicina/visita-medica/en-el-hospital”
Redirect 301 “/espanol/glosario” “/espanol/doctablet-hogar/glosario”
Redirect 301 “/espanol/2016/08/12/equipo-medico” “/espanol/2016/08/22/equipo-medico”
Redirect 301 “/espanol/2016/09/02/como-se-siente-cuando-tu-corazon-falla” “/espanol/2016/09/02/siente-corazon-falla”
Redirect 301 “/espanol/2016/09/12/nodulos-tiroide” “/espanol/2016/09/11/nodulos-tiroide”
Redirect 301 “/espanol/2016/09/19/hgba1c-story” “/espanol/2016/09/19/hgba1c-historia”
Redirect 301 “/tag/arritmia” “/espanol/tag/arritmia”
Redirect 301 “/tag/ataque-del-corazon” “/espanol/tag/ataque-del-corazon”
Redirect 301 “/tag/azucar” “/espanol/tag/azucar”
Redirect 301 “/tag/cancer-cervical” “/espanol/tag/cancer-cervical”
Redirect 301 “/tag/cigarrillos” “/espanol/tag/cigarrillos”
Redirect 301 “/tag/colesterol” “/espanol/tag/colesterol”
Redirect 301 “/tag/corazon” “/espanol/tag/corazon”
Redirect 301 “/tag/derrame-cerebral” “/espanol/tag/derrame-cerebral”
Redirect 301 “/tag/pre-hypertension” “/espanol/tag/pre-hypertension”
Redirect 301 “/tag/testiculos” “/espanol/tag/testiculos”
Redirect 301 “/tag/dolor-de-pecho” “/espanol/tag/dolor-de-pecho”
Redirect 301 “/tag/falta-de-aire” “/espanol/tag/falta-de-aire”
Redirect 301 “/tag/hipogonadismo” “/espanol/tag/hipogonadismo”
Redirect 301 “/medicina/visita-medica/en-el-hospital” “/espanol/medicina/visita-medica/en-el-hospital”
Redirect 301 “/espanol/videos” “/espanol/
/espanol/video”
Redirect 301 “/espanol/medicina/endocrinologia/diabetes/medir-la-azucar-en-tu-sangre” “/espanol/medicina/endocrinologia/diabetes/medir-la-azucar”
Redirect 301 “/espanol/medicina/endocrinologia/diabetes/nivel-de-azucar-en-la-sangre” “/espanol/medicina/endocrinologia/diabetes/nivel-de-azucar”
Redirect 301 “/espanol/2016/07/06/shhh-calla-y-escucha-tu-corazon” “/espanol/2016/07/06/soplo-escucha-tu-corazon”
Redirect 301 “/espanol/2016/11/15/rompecabezas-presion” “/espanol/2016/01/10/rompecabezas-presion”
</IfModule>
# END YOAST REDIRECTS
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType text/css “access 1 month”
ExpiresByType text/html “access 1 month”
ExpiresByType application/pdf “access 1 month”
ExpiresByType text/x-javascript “access 1 month”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresByType image/x-icon “access 1 year”
ExpiresDefault “access 1 month”
</IfModule>
## EXPIRES CACHING ##
# BEGIN W3TC Browser Cache
<IfModule mod_deflate.c>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon application/json application/vnd.ms-access application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint application/x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel
<IfModule mod_mime.c>
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
</IfModule>
<FilesMatch “\.(bmp|class|doc|docx|eot|exe|ico|json|mdb|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|svg|svgz|swf|tif|tiff|ttf|ttc|_ttf|wav|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|BMP|CLASS|DOC|DOCX|EOT|EXE|ICO|JSON|MDB|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|POT|PPS|PPT|PPTX|SVG|SVGZ|SWF|TIF|TIFF|TTF|TTC|_TTF|WAV|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW)$”>
<IfModule mod_headers.c>
Header unset Last-Modified
</IfModule>
</FilesMatch>
# END W3TC Browser Cache
# BEGIN W3TC CDN
<FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|font.css)$”>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin “*”
</IfModule>
</FilesMatch>
# END W3TC CDN
# BEGIN W3TC Page Cache core
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule .* – [E=W3TC_ENC:_gzip]
RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
RewriteRule .* – [E=W3TC_PREVIEW:_preview]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =””
RewriteCond %{REQUEST_URI} \/$
RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
RewriteCond “%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}” -f
RewriteRule .* “/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}” [L]
</IfModule>
# END W3TC Page Cache core
# BEGIN W3TC FeedBurner
<IfModule mod_rewrite.c>
RewriteCond %{HTTP_USER_AGENT} FeedBurner
RewriteRule ^wp-content/uploads/([0-9]+)/([0-9]+)/hotlink-ok/(.*)$ /wp-content/uploads/$1/$2/$3 [L]
</IfModule>
# END W3TC FeedBurner# BEGIN rlrssslReallySimpleSSL rsssl_version[2.4.3]
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>
<IfModule mod_headers.c>
Header set Strict-Transport-Security: “max-age=63072000; includeSubDomains; preload” env=HTTPS
</IfModule>
# END rlrssslReallySimpleSSL
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
# END WordPressJanuary 11, 2017 at 6:04 am #1325365
DarshanaModeratorHi there,
Thanks for writing in! It sounds like you might be having an issue with a third party plugin or script. Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.
However, you can find default WordPress htaccess code from here (https://codex.wordpress.org/htaccess).
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1325347 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
