Jump to content
spidometrs

[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

Recommended Posts

A new version has been uploaded with the following changes:

  • Added a check in the Phoenix version to check if search engine friendly setting is present.
  • Added rewrite code for blog articles in Article Manager.
  • Added a new directory for Phoenix versions of 1.0.7.4 and above.
  • Changed code to prevent a warning in Phoenix shops.

 

Share this post


Link to post
Share on other sites

Hi Jack,

Installing on Phoenix 1.0.7 and I went to install href_link.php (catalog/includes/functions/) and a file with the same name already exists. Do I replace the file or add your code to it?

Thanks!

Cary

Share this post


Link to post
Share on other sites
51 minutes ago, Cary said:

Do I replace the file or add your code to it?

Replace it.

Share this post


Link to post
Share on other sites

Hi Jack,

Thank you for the prompt reply! One other question. The previous version I had allowed the model number to be added to the SEO Url. Is that an option I'm missing or is that something I can add if not baked in?

Thanks!

Cary

Share this post


Link to post
Share on other sites

I don't recall that ever being an option in this addon. You might be thinking of Header Tags SEO, which has an option to display the model number.

Share this post


Link to post
Share on other sites

Hi Jack, know you have enough on your plate but giving a head's up that PHOENIX 1.0.7.7 breaks the addon because of the new configure.php file :

Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' (this will throw an Error in a future version of PHP) in /xx/xx/xx/xx/includes/classes/seo.class.php on line 755
Warning:  Use of undefined constant HTTPS_SERVER - assumed 'HTTPS_SERVER' (this will throw an Error in a future version of PHP) in /xx/xx/xx/xx/includes/classes/seo.class.php on line 756
Warning:  Use of undefined constant DIR_WS_HTTPS_CATALOG - assumed 'DIR_WS_HTTPS_CATALOG' (this will throw an Error in a future version of PHP) in /xx/xx/xx/htdocs/includes/classes/seo.class.php on line 756
Warning:  Use of undefined constant DIR_WS_HTTP_CATALOG - assumed 'DIR_WS_HTTP_CATALOG' (this will throw an Error in a future version of PHP) in /xx/xx/xx/htdocs/includes/classes/seo.class.php on line 753
Warning:  Use of undefined constant HTTP_COOKIE_DOMAIN - assumed 'HTTP_COOKIE_DOMAIN' (this will throw an Error in a future version of PHP) in /xx/xx/xx/htdocs/includes/classes/seo.class.php on line 775
Warning:  Use of undefined constant HTTPS_COOKIE_DOMAIN - assumed 'HTTPS_COOKIE_DOMAIN' (this will throw an Error in a future version of PHP) in /xx/xx/xx/htdocs/includes/classes/seo.class.php on line 775

My "dirty" fix to keep my site up and running was to take the defines from the old configure file and add them in includes/languages/english.php

  define('HTTPS_SERVER', 'https://www.mydomain.com');
  define('ENABLE_SSL', true);
  define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com');
  define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com');
  define('HTTP_COOKIE_PATH', '/');
  define('HTTPS_COOKIE_PATH', '/');
  define('DIR_WS_HTTP_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');

Know this is not good but it does work for the moment until you can help as I am no expert! Thanks so much.

 

Share this post


Link to post
Share on other sites

Thanks for mentioning it. I haven't looked at the latest version but I don't think your fix will cause any problems for now.

Share this post


Link to post
Share on other sites
1 hour ago, Jack_mcs said:

Thanks for mentioning it. I haven't looked at the latest version but I don't think your fix will cause any problems for now.

Thanks Jack. For the moment it seems to work without causing problems so I can hold out till you give a cleaner solution!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×