Re: Simple SEO URL [support thread]
Hi all,
My host is switching to Nginx which requires me rewriting the Simple SEO URL .htaccess file rules to the rewrite rules that work with Nginx. There seem to be ready made ones for others cms's but not zenart yet and i'm out of my depth. Anyone out there speak that language?
Thanks
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
hitch
Hi all,
My host is switching to Nginx which requires me rewriting the Simple SEO URL .htaccess file rules to the rewrite rules that work with Nginx. There seem to be ready made ones for others cms's but not zenart yet and i'm out of my depth. Anyone out there speak that language?
Thanks
Maybe your host can help. Don't forget to post the solution once you found it.
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
nagelkruid
Unfortunately my provider has mod_rewrite off so ill probably have to wait another day or 2 to go life and test paypal IPN as well.
Jeroen
My privider did have mod_rewrite on but he said follow symlinks wasn't supported in .htaccess on that version of apache.
They have now activated it globally for me so i went ahead and activated ssu last night.
Actually i just wanted to make a quick live test, but i was so happy with the results, i couldn't turn it off any more :smile:
IPN paypal no glitch at all, al the settings are untouched and it returns to the success page without any problems, so i don't know the other problems with it, but here it hasn't been an issue.
In fact all the internal -not so beautiful- links are all working i don't have to change a thing.
Just posting these results, maybe someone can benefit from it, have to say i am a very happy camper, thanks!
Few questions i have remain in optimising i hope you can provide me with a few good pointers once more :blush:
- are there any good recommendations on how i could sanitize/optimise my URL's so they are both very user friendly and contain keywords i like? ie. is it wise/unwise/lost effort to alias my categories so they won't show the c-139 part? (and maybe even add a word or two i like for that category)
- i noticed my ezpages get resolved like so: pages-title-page-1/chapter/1, i had the impression it should resolve to the actual title of the ez-page, is that going wrong or is it future design i am talking about :P
- should i change the IPN links to the new names?
(as it is working, i kinda like it when it works hehe ;)
Cheers,
Jeroen
Re: Simple SEO URL [support thread]
- are there any good recommendations on how i could sanitize/optimise my URL's so they are both very user friendly and contain keywords i like? ie. is it wise/unwise/lost effort to alias my categories so they won't show the c-139 part? (and maybe even add a word or two i like for that category)
Some users insist on removing that part, I dont see the point tho. While it may make the links look nice, it wont have any seo effect. On another hand, if you think adding a few words make more sense for your users, then go ahead.
- i noticed my ezpages get resolved like so: pages-title-page-1/chapter/1, i had the impression it should resolve to the actual title of the ez-page, is that going wrong or is it future design i am talking about :p
It should use the title of the ezpage like this:
http://demo.rubikintegration.com/zencart/shared-page-6
("shared" is the name, -page- is the identifier)
Feel free to change the identifier in the config file, or using alias to get a nicer name. SSU link alias is most useful in cases like this, you can create an ezpage, and then give it a nice alias and you will get a link like:
http://demo.rubikintegration.com/zen...ditions-of-use
- should i change the IPN links to the new names?
(as it is working, i kinda like it when it works hehe ;)
Dont change it if it is working well.
Re: Simple SEO URL [support thread]
Ow yeah lets keep up the tradition of the forgotton question :ohmy:
actually this question has been in my mind for a long time and doesn't really relate to ssu but i'll shoot anyway, you can always ignore it:
If i go to my main domain without the www it works, if i know which page i want to go on my site and remove the www it works as well. However, when i click anywhere after i did that it will add the www to the address that i go to.
so main page is http://myshop.domain, if i click on the goto shop button it will goto http://www.myshop.domain/shop/
btw. it will also add a slash to the domain name although in both cases i am not rewriting anything to accomplish that.
So the question i have is, is that behaviour good enough and how it should be or should i still add the rewrite so it will immediatly rewrite any address without the www to an url containing it?
And if i do have to add it, should it be a seperate .htaccess in the root? (as i have placed yous in the /shop/ directory)
:thumbsup:
Re: Simple SEO URL [support thread]
You should be consistent, use either www or non-www throughout the page.
This is very important for seo purpose, plus when you get SSL cert www and nonwww are different.
so www.site.com and site.com are considered 2 different entities
Once you decide to go with one, then check your includes/configure.php to make sure you are telling zencart to use the correct one.
You should also google for htaccess commands to redirect from www to nonwww or vice versa.
htaccess for ssu should be placed in the store root, while the htaccess to rewrite www/nonwww redirection may be placed in the site's root.
If I can get a good htaccess redirection example I will post it here.
Re: Simple SEO URL [support thread]
[quote=yellow1912;648298]- i noticed my ezpages get resolved like so: pages-title-page-1/chapter/1, i had the impression it should resolve to the actual title of the ez-page, is that going wrong or is it future design i am talking about :p
It should use the title of the ezpage like this:
http://demo.rubikintegration.com/zencart/shared-page-6
("shared" is the name, -page- is the identifier)
Feel free to change the identifier in the config file, or using alias to get a nicer name. SSU link alias is most useful in cases like this, you can create an ezpage, and then give it a nice alias and you will get a link like:
http://demo.rubikintegration.com/zen...ditions-of-use
Ok, i would like to use it as it is the designed and only goto the aliasses if i want to explicitly change it, but apparently it is currently not resolving the actual title of that page.
The actual title of that page is "who are we", so if i understand you correctly it should resolve to who-are-we-page-1/chapter/1 ?
If that is so i would like it to perform like designed, as my shop is working in the dutch language, is it possible it cant resolve the name because of that?
Which config file should i start looking to begin shooting at this?
Cheers,
jeroen
Re: Simple SEO URL [support thread]
It is possible that it is looking for the appropriate page name yet it couldnt find it for some reason. Do you use ezpage multi language plugin btw?
I will write a fallback method (if it cant find the title in the current language, it should fall back to the default one), and i will publish that later tomorrow.
Regards
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
If I can get a good htaccess redirection example I will post it here.
No worries, you allready have it documented here http://wiki.rubikintegration.com/zen...www_and_nonwww :P
Thats why my question came up again hehe.
Now that i got your comment i will add that to a .htaccess in my root, as indeed ssl is also rising on my wish-list...
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
It is possible that it is looking for the appropriate page name yet it couldnt find it for some reason. Do you use ezpage multi language plugin btw?
I will write a fallback method (if it cant find the title in the current language, it should fall back to the default one), and i will public that later tomorrow.
Regards
Nope, didn't do anything fancy with the ez-pages yet and there is no plugin, it should all be very default. My shop has only dutch enabled, no english option.
I will, however, begin to create alot of the ezpages, so if it could resolve the actual title that would be perfect.
If i can help-out in any way or provide more details i'll be happy too. I am not a Guru on php, but i can work my way in it to a fair level.