Editing the .htaccess file and uncomment the RewriteBase rule
Hello All,
If anyone can help me it would be greatly appreciated. I have been up all night trying to crack this code.
I just installed an Affiliate Management Program ( ) on my domain directory
- Removed -
Every installed ok; however when I try to view now, it's just blank.. no error code.. nothing! There were some recommendations to:
Try editing the .htaccess file and uncomment the RewriteBase rule. I have found these files and tried many different variations that I located searching for help on the web and nothing has worked.
Here is my code now:
Does anyone have any ideas? Please let me know. Thanks, Tara
#
RewriteEngine On
# Some accounts require the RewriteBase to be set
#RewriteBase /
#RewriteRule ^id/(.+)$ jrox.php?id=$1 [l,nc]
# Rewrite rule for WordPress
#RewriteRule ^(wp-(content|admin|includes).*) wp/$1 [L]
# Rewrite rule for replicated webpages
# RewriteRule ^r/(.+)$ jrox.php?rep=$1
RewriteCond %{REQUEST_URI} ^/system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]
#
Does anyone have any ideas? Please let me know. Thanks, Tara
-
I'm not familiar with the program you're using, but before you uncomment the RewriteBase rule, which you would do just be deleting the "#" before that line, you should look for an error_log file in the directory where you installed your affiliate program to see if it's throwing a fatal PHP error, which would give you the blank white screen. 0 -
Hello, You may also want to upload a test HTML file after temporarily disabling your custom Mod_Rewrite rules to verify if non-PHP files load correctly. This will help you narrow down the issue to the specific PHP script if the blank page stems from the PHP application itself. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments