Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
Where do you place these redirection? They have to be BEFORE
Code:
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]
They were after, but after putting them before I still get the same problem. It's like this:
Code:
#### BOF SSU
#Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteBase /
# Deny access from .htaccess
RewriteRule ^\.htaccess$ - [F]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA]
# Begin site redirects
redirect 301 /indian-hair-products.php http://www.perfectlocks.com/about-perfect-locks-hair
Is that correct?
Re: Simple SEO URL [support thread]
Your SSU version? if not 3.6.4, upgrade. Also check
http://wiki.rubikintegration.com/zen...les/ssu/config
Make sure the exclude list for pages and query are correct.
Re: Simple SEO URL [support thread]
Hello!
I've installed this and it's working great. I have one question.
I'm using the Wordpress on Zen Cart add-on. The URL for wordpress is supposed to be: /index.php?main_page=wordpress, but with the new version of Wordpress, that doesn't work. I've gotten around it by using /?main_page=wordpress (no index.php).
As soon as I got SEO URLs working, the blog page stopped working.
I can't find a way with this set up to block /?main_page=wordpress from the URLs. Any tips?
Thanks,
Arianne
Re: Simple SEO URL [support thread]
http://wiki.rubikintegration.com/zen...les/ssu/config
Regards
If it still doesnt work, please post or pm the link to the site.
Re: Simple SEO URL [support thread]
Thanks! I took a look at this when I was setting everything up, but "wordpress" in the exclude list seems to only exclude index.php?main_page=wordpress, not just ?main_page=wordpress.
When I turn the SEO URLs on and go to /?main_page=wordpress, I'm redirected back to the main page of the site.
You can see the problem at c r y s t a l y n k a e.com/?main_page=wordpress - the other URLs are working fine!
Thanks in advance,
Arianne
Re: Simple SEO URL [support thread]
If you are using link alias, you should clear SSU cache first.
Re: Simple SEO URL [support thread]
I've cleared the cache and still no luck. Am I setting the alias right? I have /?main_page=wordpress/ as the link and /blog/ as the alias, but both URLs direct to the main page.
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
aeolidia
I've cleared the cache and still no luck. Am I setting the alias right? I have /?main_page=wordpress/ as the link and /blog/ as the alias, but both URLs direct to the main page.
Huhm, why would you use ?main_page= anyway? normally it should come with the index.php
you are setting alias wrong, btw, if you want to use that, it should be:
/wordpress/ and /blog/
Re: Simple SEO URL [support thread]
Yes, I'm in a bit of trouble, because the only way I can get Wordpress to work is to *remove* index.php, but then that makes it incompatible with the SEO URLs. When I try /wordpress/ in the alias, it doesn't work - I think because it's expecting the index.php.
Thanks for the help! If anyone has any clever ideas for me, I'll try them, otherwise I think we'll have to use Wordpress separately instead of embedding it in Zen Cart.
Edited: Eek! It's working! I had somehow turned aliases off, and now I've turned them back on and all is well. Thank you thank you thank you!