Latest News: (loading..)
spidometrs

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

7,334 posts in this topic

ok cool, ..actually, I got it fixed!!!

No endless redirect loops and no problems with the forward slash only showing up before the product name. Works great!!!! on all products and I tested it in all major browsers. My site now displays:

www.mydomain.com/category-name/sub-category-name/manufacturer-name/product-name-c-number.php

so now, all my URL’s use the forward slash instead of the hyphen to separate categories, sub-categories, and manufacturers from products and other pages.

Love it! Great contribution! Thanks Jack.

Demitry

 

Share this post


Link to post
Share on other sites

Dear Community!

 

I have a small problem with this contrib. I'm working usually with special characters like ö, ü, ó, ő, ú, ű, á, é, í.

This one "ő" I can't get converted to "o". I'm using ő=>o.

 

Befor some years It has worked definitely, but in an older shop.

What could be the problem?

Share this post


Link to post
Share on other sites

Yes, this is the latest version.

I've also tested USU5 in the last 1-2 years, was OK with this character. But it has ended to work :) It makes too much redirects.

Share this post


Link to post
Share on other sites

In your original post you mentioned a number of characters, like ö, ü, ó, ő, ú, ű, á, é, í, Are the others working? If you are using the cache settings for Ultimate SEO, try turning them all off to see what happens. If that doesn't help, try using the uninstall option, then install again by refreshing your home page and then re-enter the special characters.

Share this post


Link to post
Share on other sites

Hello Jack,

 

We have been using USU5 for a long time... but it's outdated, and alot of other good modules are not compatible with it anymore, so we are thinking of changing into this contribution (great work and support for such a long time btw!)

BUT my main concern is, how does it work with not-breaking our old links and SEO ranking? Anyone have any experience on this part?

As long as the old links will still work, I am not that concerned, but I am not really 100% sure how this module works, with our current module this links looks like this:
https://www.XXX.xx/tilbehoer/toyota-corolla-e12-alupedaler-oe-toyota-p-123931.html

And as long as the product ID is correct, the link works, is it the same with this contrib? Because then I don't see any problems in changing... thanks! :)
 

Share this post


Link to post
Share on other sites

If you had SEO 5 set to use rewrite mode, then the url's are the same and switching won't cause a problem. If you used one of the other modes, they will eventually all be changed in the search engines. There shouldn't be any problems with that change though you need to be sure to re-create sitemaps, if you use them.

Share this post


Link to post
Share on other sites

If you had SEO 5 set to use rewrite mode, then the url's are the same and switching won't cause a problem. If you used one of the other modes, they will eventually all be changed in the search engines. There shouldn't be any problems with that change though you need to be sure to re-create sitemaps, if you use them.

 

You are the best Jack! Thanks alot, I am already working on it, so I can have more of your modules installed, I will contact you when I'm done with the free modules, and see if we can do some business I think, just looked through your website!

 

Great work with all the contribs!

Share this post


Link to post
Share on other sites

If you had SEO 5 set to use rewrite mode, then the url's are the same and switching won't cause a problem. If you used one of the other modes, they will eventually all be changed in the search engines. There shouldn't be any problems with that change though you need to be sure to re-create sitemaps, if you use them.

 

Hello Jack,

 

I now have this working, but I feel like something is not really like what it should be :)

 

1. Page loads are almost double of what it was before, before it was ~3-4s now it loads at ~5-6s 

 

Could it the cache function not working? where is it storing the cache? I triede several tests for the same page, so it should load the cache.

 

I tried to Enable Performance Checker and also puttig it in the includes/application_bottom.php file, but it doesn't show anything, but the paths, categories etc. are all "correct" with the links? 

 

Also sometimes in Admin section when changing settings or clicking different settings it gives me a "blank screen" with no content - but also no PHP errors? :o!

 

Any suggestions what could be wrong? 

 

Last thing, in my language I have alot of special "signs" any chance I could change these into specific signs?

 

Like å could be changed into a - ø to o etc. :) ?

Edited by gummipingvin

Share this post


Link to post
Share on other sites

Yes, the cache for the addon can cause that but usually only if the number of items is large. You can turn off all of the cache settings and verify the site loads faster. If it does, then you can enable one at a time, if you want, to see which is causing the problem and then leave that one off.

 

You have to enable the settings in the logging section of admin for the performance settings to help.

 

For the characters, that is what the convert setting is for. It should be converting them if you have made those entries, which I think you said you did.

Share this post


Link to post
Share on other sites

Another question: when I copy a product and change something in the name, the url stays the same as the Original (except the -p-xxx.html at the end of the url), why is that and how can I change it to the right name?

Share this post


Link to post
Share on other sites

@@revamp No, you can't remove the -p-12 part. But, if it helps, that is just an aesthetic issue and doesn't have any affect on SEO. For the name, that should change if you change the name of a particular product. If you are copying a product as a duplicate, then the new product has a different ID which means the -p-xxx will be different. Since that is not changing in your example, it sounds like you are still looking at the old product, not the new one.

Share this post


Link to post
Share on other sites

@@Jack_mcs

 

Hi Jack

 

 

Each time I update products thru admin  then check on web site I get the following

 

Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in /home/-/public_html/includes/classes/seo.class.php on line 152

 

If I simply refresh the site, the message goes away and the site loads correctly.

 

Can you tell me what this means, and what, if anything, I need to do to correct it.

I am using.

Ultimate_SEO_URLSv22d_14a

 

Many thanks

 

Grandpa

Share this post


Link to post
Share on other sites

@@grandpa I don't know what would cause that, in this situation. I use the addon with several sites of my own as well as with my clients and I've not seen nor heard of this problem. But you can try turning off the cache settings for this addon to see if the problem goes away. That won't fix it but it might help pin it down. You may also want to go to admin->Tools->Database Tables and convert the tables to utf, but mainly the cache one.

 

I took a closer look at this and in php 5, that function doesn't have a return value. Its equivalent did in pre php 5. So this line

return mysqli_free_result($resource_id);

should be changed to

@mysqli_free_result($resource_id);

I haven't gone through the code to look at those calls but the above should work.

Edited by Jack_mcs

Share this post


Link to post
Share on other sites

@@Jack_mcs

 

Hi Jack

 

Many thanks for your help.

 

Firstly; I have changed the code and see what happens.

 

Secondly;...try turning off the cache settings for this addon to see if the problem goes away... I have no idea how to do this.

Hopefulyy the code change will do it.

 

Again, many thanks

 

Kind regards

Grandpa

Share this post


Link to post
Share on other sites

There are settings for this addon in admin->Configuration->SEO URLs. To turn one off, select it, click on edit, change the setting and then save it.

Share this post


Link to post
Share on other sites

@@Jack_mcs

 

Hi Jack

 

When I try to use the 2nd button (Execute Sitemonitor)  in SiteMonitos>Admin I get;

 

Fatal error: Maximum execution time of 30 seconds exceeded in /home/---/public_html/-admin-/includes/functions/sitemonitor_functions.php on line 653

 

I have tried changing URL to .......... /sitemonitor_configure_setup.php?override=1

but makes no difference

 

And the configure file is pretty much set to standard only curl stuff missing.

 

File permissions are

Dir 755

files 644

 

I have tried turning of various caches but that hasn't made any difference.

 

Can you offer any suggestions as to what I may have "stuffed up"

 

Many thanks

 

Kind regards

John

Share this post


Link to post
Share on other sites

@@Jack_mcs

 

Hi Jack

 

I think I sorted it (#7195) Just put in the exclude list the following;

 

'-admin-/quarantine', 'download','ext','images','includes','javascript','admin','pub','temp'

 

Cheers and thanks

 

John

Share this post


Link to post
Share on other sites

Hi,

 

I'm trying to make the changes to install Ultimate SEO URLs Documentation by Chemo, however my includes/functions/html_output.php file does not look the same as the one in the example.

 

Can anyone tell me which text I need to find to replace, please?

 

I have copied my html_output.php file into a Piratepad. I believe that the replacing should begin at line 225 of the file (I have written "Remove from here to where???" at this point. Could someone tell me where the tep_href_link() function ends please?

 

Here is the piratepad link: http://piratepad.net/jZDxN9jC5Z

 

Thanks for the help and sorry for the stupid question - I'm totally new to php programming and working with websites in general.

 

Thanks so much,

 

Rory

Share this post


Link to post
Share on other sites

@@Roryaro I can't load that page but it doesn't matter. Just replace the complete function with the one provided. The function, in case you don't know, begins with the word function and ends with a } that occurs before the next function.

Share this post


Link to post
Share on other sites

Thanks @@Jack_mcs, I believe I've found the right }. There were a couple of hundred lines between the original { and the one which closes it. I guess the code was already quite modified. Thanks for the help, let's see if it works :)

Edited by Roryaro

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