× Here you can get community support related to ReDJ.

PHP 7

  • Sunny Day
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 1 month ago #4816 by Sunny Day
PHP 7 was created by Sunny Day
Hi there

I have two questions:

(1) Will ReDJ be compatible with Joomla 3.5 / PHP 7 combination?

(2) We use search engine friendly URLs on our website. However non SEF urls will still work. For example lets say:
the SEF URL is www.blog.com/hello-world that URL can still be accessed using the article ID number for 'hello-world' (in this example '73') such as
index.php?option=com_content&view=article&layout=edit&id=73 or any number of variables such as
56index.php?option=com_content&view=article&layout=edit&id=73 OR
?option=com_content&view=article&layout=edit&id=73

Is it possible to set up a "catch all" type redirect that will route any non-SEF URL for a particular article number to the SEF URL for that article?

Thank you very much for any help you can give with the above.

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #4819 by admin
Replied by admin on topic PHP 7
1) Yes, it will work with PHP 7 when Joomla will work too.

2) Unfortunately no, just because ReDJ is a redirection extension and not a routing extension.

For any further question you are welcome.

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

  • Sunny Day
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 1 month ago #4826 by Sunny Day
Replied by Sunny Day on topic PHP 7
Hi Luigi

(1) Good to hear that ReDJ will work with PHP 7.

(2) Non-SEF URLs are not a big problem for our current website but it remains a minor irritation that search engines sometimes index them as well as the SEF URLs. I will look into routing options.

All the best and thank you for providing a great extension. We have used it for several years.

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago - 8 years 1 month ago #4829 by admin
Replied by admin on topic PHP 7
Hi,
the problem with non SEF URLs is common to all Joomla sites and it is strictly connected to the way Joomla routing works. If you enable SEF you can tell to Joomla to generate URLs like:

/category/section/item

But if you put in your browser the non SEF version of the same URL:

/index.php?option=com_content&task=view&...

It will work, because it is an existing URL.

The problem happens when somewhere in your site there is a non SEF URL generated by error, and the spider starts to index your pages.

There are some workarounds to the problem but as far as I know a definitive solution doesn't exist. I tried to create an "auto canonical" extension some time ago, but without any success.

Possible solutions:
  • Find the "origin" of wrong URLs and fix it
  • Use the "canonical" URL (e.g. with Tag Meta)
  • Redirect to the canonical version

Kind regards,
Luigi
Last edit: 8 years 1 month ago by admin.
The following user(s) said Thank You: Sunny Day

Please Log in or Create an account to join the conversation.

  • Sunny Day
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 1 month ago #4847 by Sunny Day
Replied by Sunny Day on topic PHP 7
Hi Luigi

Yes I agree this has always been a problem for Joomla and no doubt other CMS platforms. It is obviously not an easy issue to overcome otherwise it would likely already have been implemented within the Joomla core or extension developers such as yourself would have provided a solution.

The first website we did suffered greatly from non-SEF URLs but since then we have managed to eliminate most of them although they do crop up from time to time.

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #4850 by admin
Replied by admin on topic PHP 7
In case you find a solution... let me know ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds