Skip to main content

Issue in Rewriting link in Whole Scripts

Comments

4 comments

  • SAMoooo
    here is the content of htaccess file
    # BEGIN W3TC Browser Cache Header append Vary User-Agent env=!dont-vary 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/x-icon application/json # DEFLATE by extension AddOutputFilter DEFLATE js css htm html xml # END W3TC Browser Cache # BEGIN W3TC CDN Header set Access-Control-Allow-Origin "*" # END W3TC CDN # BEGIN W3TC Page Cache core 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 %{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] # END W3TC Page Cache core # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress
    0
  • Infopro
    Not sure I understand the question. Are you having some sort of issue with your cPanel, or an issue with the script you're hoping to use? If its the latter, you'd need to speak with the author of the script. If you think that htaccess is causing some sort of issue, disable it by renaming it to htaccess.txt
    0
  • SAMoooo
    this is the htaccess for the script only
    # override max php upload settings. Might not work on all servers #php_value upload_max_filesize 4000M #php_value post_max_size 4000M # setup xsendfile if the module is enabled XSendFile On SetEnv MOD_X_SENDFILE_ENABLED 1 # disable mod security # # SecFilterEngine Off # SecFilterScanPOST Off # # redirect www to non-www #RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] #RewriteRule ^(.*)$ http://%1/$1 [R=301,L] RewriteEngine On #RewriteRule . - [E=no-gzip:1] RewriteBase / # forward app requests RewriteRule ^app/(.*) plugins/webdav/site/control/$1 [QSA,L] # route everything via index.php if it doesn't exist as a file RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?_page_url=$1 [QSA]
    0
  • cPanelMichael
    Hello :) Could you elaborate on the specific error message you notice in /usr/local/apache/logs/error_log when it fails? Thank you.
    0

Please sign in to leave a comment.