Skip to main content

Wordpress problem No Index active

Comments

7 comments

  • cPanelLauren
    Hi @CashDroid What is in the .htaccess can you provide the full file here (change actual domain name before providing it) What is the output you get when you run the following: curl -vv yourdomain.tld
    What is set for the Site Address and Wordpress Address in the general settings of WordPress?
    0
  • CashDroid
    Hi @cPanelLauren, my .htaccess is # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]
    Attached is the result of the curl command In Wordpress Address i have https://www.example.com
    Thanks for all
    0
  • cPanelLauren
    Hi @CashDroid Thanks for providing that information. Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. I was hoping to match this to a case we have open currently but it seems to only be affecting CloudLinux systems and you're running CentOS 7. Thanks!
    0
  • CashDroid
    Thank you Lauren, I opened the ticket. The ID of the support request: 12582845
    0
  • CashDroid
    Established that it is not a cPanel problem I solved by inserting the string "Directoryindex index.php" in the .htaccess file. On the VPS that I manage, it has never happened to me. How can I check the index in Apache?
    0
  • CashDroid
    The final solution is to fix this problem, it is to reconfigure the Directory Index configuration with the following steps: - Login to WHM as the root user - Navigate to: Home "Service Configuration" Apache Configuration "DirectoryIndex Priority - Click the save button - Click the Rebuild Apache configuration and Restart Apache button So you don't even have to edit the .htaccess file
    0
  • cPanelLauren
    Interesting though, you shouldn't have needed to rebuild the apache configuration without having made any changes - I actually believe this relates to an internal case we have open: CPANEL-27677 in which it's found that Apache does not have DirectoryIndex set to anything (saving and rebuilding the configuration would fix this) This issue is resolved in v82 of cPanel and should be resolved in the current RELEASE version of cPanel/WHM 80.0.15
    0

Please sign in to leave a comment.