Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
sweettraders
I'm almost done with the migration from the dreaded miva to zencart shopping cart. I need to 301 redirect from the miva seo url
http://www.mydomain.com/page/XY/CTGY/MyCategory to SSU
http://www.mydomain.com/MyNewCategory. I tried
Code:
.
.
.
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA]
#### EOF SSU
RewriteRule ^/page/XY/CTGY/MyCategory/$ /MyNewCategory [R=301,L]
and many other versions of the RewriteRule with my limited knowledge of regex, without success.
Since the original and new url do not pattern match well, I may need to create an rule for every category and product.
What am I missing in my rule or regex? Thanks.
Try to puts your rewriterule right below the rewrite base and see if it works
RewriteRule ^page/XY/CTGY/(.*)$ CTGY/$1 [R=301,NC,L]
(Assuming CTGY is your zencart folder?)
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
Here is the he.php that should work for your version. However, I tested it on your site and it doesnt seem to replace the hebrew letters by english letters. You will have to ask xordox to look at your site and see if some letter is missing from the translit table.
Im not familiar with hebrew, so I really dont know which letter is which.
today I'll fly to Tel-Aviv. can help with hebrew in next 2 days.
btw Yellow, do you remember for 2.9.6. ru.php (and also he.php) have another structure of file that for 3.x.x?
Re: Simple SEO URL [support thread]
Thanks Yellow for the response. I did as you said, but my url keeps going to the "default" index page as if it is not touching .htaccess rewrite rule.
Worse now, since last night I've been getting a 500 internal server error on the admin/index.php. I reverted back to the original .htaccess, but the error persists. I cleared the browser cache, cache and sessions stored in the database, verify file and directory permission...still not working.
The server error logs inaccessible, since I'm on a share at godaddy,.
Any more help?
Thanks
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
sweettraders
Thanks Yellow for the response. I did as you said, but my url keeps going to the "default" index page as if it is not touching .htaccess rewrite rule.
Worse now, since last night I've been getting a 500 internal server error on the admin/index.php. I reverted back to the original .htaccess, but the error persists. I cleared the browser cache, cache and sessions stored in the database, verify file and directory permission...still not working.
The server error logs inaccessible, since I'm on a share at godaddy,.
Any more help?
Thanks
If you are on GoDaddy, please note that changes to .htaccess takes several hours to be in effect *_*
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
xordox
today I'll fly to Tel-Aviv. can help with hebrew in next 2 days.
btw Yellow, do you remember for 2.9.6. ru.php (and also he.php) have another structure of file that for 3.x.x?
Yes, which is why I made changes to the he.php xordox
Re: Simple SEO URL [support thread]
To all:
I'm spending most of my time now to develop an Ajax one page checkout for Zen, so my support here will be a little slow (probably your question will be answered within 24 hours)
Thanks for your understanding.
Regards
Raine
Re: Simple SEO URL [support thread]
I installed this mod but nothing has changed. Is there a way for someone to see what I did wrong? Also, what am I looking for? Will this mod let me create the url ending or will it just grab it from what ever the page title is?
Thanks a bunch
:D
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
Here is the he.php that should work for your version. However, I tested it on your site and it doesnt seem to replace the hebrew letters by english letters. You will have to ask xordox to look at your site and see if some letter is missing from the translit table.
Im not familiar with hebrew, so I really dont know which letter is which.
TAHNK YOU BOTH
FOR ALL SUPPORT !
*no need to hebrew (still like now)
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
ashton0603
I installed this mod but nothing has changed. Is there a way for someone to see what I did wrong? Also, what am I looking for? Will this mod let me create the url ending or will it just grab it from what ever the page title is?
Thanks a bunch
:D
You installed a mod but don't know why?
:blink:
Take a look at the insall files that came with it and make sure you've actually turned the mod on (via admin).
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
ashton0603
I installed this mod but nothing has changed. Is there a way for someone to see what I did wrong? Also, what am I looking for? Will this mod let me create the url ending or will it just grab it from what ever the page title is?
Thanks a bunch
:D
Only in 3+, you will have to use link alias to specify the name you want to use in place of the page title.