Everything to https:// with "www."
Hi all
I've tried to add custom Mod_Rewrite rules, how ever when I add in to the top of the file I get a 500 error. can anyone help me?
[Removed - Real Domain Names]
-
Hello :) Could you let us know the output to /usr/local/apache/logs/error_log when you notice the "500" error code in your browser? Thank you. 0 -
Not knowing your error output but this works for us RewriteEngine On RewriteCond %{HTTP_HOST} ^domain\.com$ [NC] RewriteRule ^ [R=301,L]0 -
Hello :) Could you let us know the output to /usr/local/apache/logs/error_log when you notice the "500" error code in your browser? Thank you.
Thank you for the quick response, I am currently trying to find this file and will let you know the contents of this file when I find it. Thanks again for your help. Ben0 -
Your forum profile has you listed as Website Owner. You wouldn't have access to that file without root access to the server. 0 -
Hi Is this the root folder please? 0 -
No. That appears to be root level of your cPanel account. 0 -
Ok thank you, I have raised a ticket with my hosting provider and will be in contact as soon as I have the details. Thank you so much for your help, I really appreciate it. Ben 0 -
Good luck. 0 -
Hi They came back with this "Hello Ben, Could you let us know the exact location where you are receiving the error. We have checked and found below log. File does not exist: /home/sussexch/public_html/Finger Buffet.pdf Should you require any further information or if we can be of assistance with anything else please do not hesitate to get in touch. Kind regards,"
Not sure a pdfr would stop my redirect0 -
Did you attempt to create an error in the log first before having him check? Did you tell him what the actual error was so he could check the server's error log file cPanelMichael mentioned? how ever when I add in to the top of the file I get a 500 error.
Tell them that.. ;)0 -
Hi Thanks He came back with this: - Removed - 0 -
I've removed all that output. Please don't post it without removing your actual domain, website, IPs, emails and anything else thats personally identifiable like that. I took a look at those errors, this isn't a cPanel issue you're having. The problem seems to be with your wordpress site and how you're managing your redirects. There's got to be plenty of wordpress conversations about this over at wordpress. Here's an example: Changing The Site URL " WordPress Codex 0
Please sign in to leave a comment.
Comments
12 comments