• Home
  • Get help
  • Ask a question

Reduced schedule during conference and annual break

We'll be operating with a reduced schedule from tomorrow and the next few weeks, as follows:

We'll be travelling and attending JoomlaDay USA from Tuesday April 22 to Friday April 25. Support will have extended response time during this period. From April 25 evening to Tuesday May 12 included, support will be closed for our annual break.

Don't forget to look up the documentation, including the videos, your answer may already be there! Likewise, be sure to check the Development versions area, in case your problem may already have been solved.

In case of emergency (ie your site is down with a fatal error directly linked to one of our extensions), please contact us by email (see contact icon at the bottom of all pages of this site)

#8936 – unable to consistently remove index.php on Joomla 4 sites

Posted in ‘SEOInfo and other Weeblr extensions’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 28 July 2022 18:30 UTC
lesc

Hello,
I'm not sure if I can receive help for the issue I'm experiencing. The problem is not  related to a Weeblr extension but I thought I'd inquire here with the hope that I may be pointed in the right direction.

I have 2 Joomla 4 sites. On one I've successfully removed "index.php" from URLs. An example is https://j4cms.mwvdev.info/contact-us.html. On another site, https://townofstewiacke.mwvdev.info/index.php, I'm unable to remove "index.php". I would prefer, for example, to have https://townofstewiacke.mwvdev.info/explore.html instead of https://townofstewiacke.mwvdev.info/index.php/explore.html.

On townofstewiacke.mwvdev.info when I set "Use URL Rewriting" to Yes under SEO in the Site tab of Global Configuration I either get a white "Not Found" page or a PHP error message "Sorry, your PHP version is not supported". The error message is dependent on what is in the .htaccess file.

The same setting is set to Yes on j4cms.mwvdev.info without an issue. Both sites are hosted on the same server.

I'd like to mention the same .htaccess file is in the root folder of both sites when there is the PHP error screen for townofstewiacke.mwvdev.info. Is this possibly a server-side issue?

At some point PHP on the server is going to be updated. This may solve the problem. What I'm wondering is why both Joomla 4 sites behave differently.

Can this problem be solved by 4SEF when it becomes available? Just wondering, is 4SEF expected to be released before October 2022?

Thank you,
Les

Friday, 29 July 2022 07:22 UTC
wb_weeblr

Hi Les,

Can this problem be solved by 4SEF when it becomes available?

No, this is a server issue, namely the content of you .htaccess. You have not said what you are adding to your .htaccess in each case but my best advice here is to ask your hosting company. They set up the webserver, they'll know what to add or not to add to the .htaccess. 

The fact results are not the same on different sites is usually explained by the rest of your .htaccess content, which may differ from site to site.

I would recommend backing up your current .htaccess, then copying the Joomla-provided htaccess.txt file to .htaccess. It should work in most cases, and it has a minimal content suitable for most sites.

At some point PHP on the server is going to be updated. This may solve the problem. What I'm wondering is why both Joomla 4 sites behave differently.

PHP is not involved here, even if you get a fancy error message at some point. This would actually point at your .htaccess containing extra rules (maybe required by your hosting), likely causing the problem.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Monday, 29 August 2022 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.