Page 1 of 2 12 LastLast
Results 1 to 10 of 5054

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    Try:

    #### BOF SSU
    Options +FollowSymLinks -MultiViews
    RewriteEngine On
    # Make sure to change "zencart" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /
    RewriteBase /

    # Deny access from .htaccess
    RewriteRule ^\.htaccess$ - [F]

    RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
    RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]
    #### EOF SSU

    As you can see I move the 301 redirection up
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  2. #2
    Join Date
    May 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    tried that, tried again, same thing..
    admin doesnt work (maybe has something to do with redirecting in the admin directory?)

    also, wanted to clear the cache etc but cant get into admin to see if the links would still work in the navigation for products

  3. #3
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    Quote Originally Posted by ocs09 View Post
    tried that, tried again, same thing..
    admin doesnt work (maybe has something to do with redirecting in the admin directory?)

    also, wanted to clear the cache etc but cant get into admin to see if the links would still work in the navigation for products
    In your admin folder, find .htaccess and place this: RewriteEngine Off
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  4. #4
    Join Date
    May 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    that seems to have done it, thanks a bunch

    interesting, when i go to www.domain.com/admin it goes to domain.com/admin

    oh well as long as it works i cleared cache as well as the overall clear (the first link) and everything still work, i guess thats a good sign :)

  5. #5
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Simple SEO URL [support thread]

    His the man.....
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  6. #6
    Join Date
    May 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    definitely, i wish i was as savvy

  7. #7
    Join Date
    Sep 2008
    Location
    Tel-Aviv-New York
    Posts
    143
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Hi Yellow!
    I have question about SSU alias:
    when I apply alias to link it works great, but when I try to change this alias to another, old alias link have redirection loop.
    old alias and new alias

  8. #8

    Default Re: Simple SEO URL [support thread]

    Quote Originally Posted by yellow1912 View Post
    Try:

    #### BOF SSU
    Options +FollowSymLinks -MultiViews
    RewriteEngine On
    # Make sure to change "zencart" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /
    RewriteBase /

    # Deny access from .htaccess
    RewriteRule ^\.htaccess$ - [F]

    RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
    RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]
    #### EOF SSU

    As you can see I move the 301 redirection up
    Hi, yellow

    Thanks for your nice add-on!
    I used below htaccess in my htdocs/hotshoes/ directory but it always redirect me to 'http://www.example.com/xampp/'
    #### BOF SSU
    Options +FollowSymLinks -MultiViews
    RewriteEngine On

    RewriteBase /hotshoes/

    # Deny access from .htaccess
    RewriteRule ^\.htaccess$ - [F]

    RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
    RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]

    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]
    #### EOF SSU

    Would you pls point out what's wrong with the above code for me?

    I use xampp to test my zen-cart locally!

    Thanks in advanced,

  9. #9
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    Okie, so I assume 2 things here:
    1. your current host is localhost
    2. your store is at http://localhost/hotshoes/

    Then the correct htaccess is:

    #### BOF SSU
    Options +FollowSymLinks -MultiViews
    RewriteEngine On
    # Make sure to change "zencart" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /
    RewriteBase /hotshoes/

    # Deny access from .htaccess
    RewriteRule ^\.htaccess$ - [F]

    #RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
    #RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]
    #### EOF SSU
    I commented out the www redirection for you because you wouldnt need it till you go online.
    What is your version? If you are using 3.5+ you should be able to visit localhost/ssu_check.php and you will see a suggested htaccess content based on your configuration
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  10. #10

    Default Re: Simple SEO URL [support thread]

    Quote Originally Posted by yellow1912 View Post
    Okie, so I assume 2 things here:
    1. your current host is localhost
    2. your store is at http://localhost/hotshoes/

    Then the correct htaccess is:

    #### BOF SSU
    Options +FollowSymLinks -MultiViews
    RewriteEngine On
    # Make sure to change "zencart" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /
    RewriteBase /hotshoes/

    # Deny access from .htaccess
    RewriteRule ^\.htaccess$ - [F]

    #RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
    #RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]
    #### EOF SSU
    I commented out the www redirection for you because you wouldnt need it till you go online.
    What is your version? If you are using 3.5+ you should be able to visit localhost/ssu_check.php and you will see a suggested htaccess content based on your configuration
    Hi, yellow

    Thanks for your reply. I used winmerge to compare the htaccess you offer above with my old one and find these 2 are almost identical, you use domain but I use example instead. I noticed that you said the ssu_check.php appears under localhost/ but now my ssu_check.php is under /localhost/hotshoes/ for my site root is there. I will give it a try to see any different.

    Regards,

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Simple SEO URLs for ZC 1.5.x [Support Thread]
    By cvhainb in forum All Other Contributions/Addons
    Replies: 46
    Last Post: 8 Jun 2022, 09:42 AM
  2. Simple SEO URL, Ultimate SEO URLs, Ceon URI Mapping SEO
    By pizza392 in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 21 Jan 2015, 10:49 AM
  3. How do I tell what version my Simple SEO URL addon mod, and others, are?
    By kevinmc3 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 6 May 2010, 01:32 AM
  4. Can't create new thread in Simple SEO URL forum
    By gseiber in forum General Questions
    Replies: 1
    Last Post: 3 Apr 2010, 01:56 PM
  5. Re: Simple SEO URL [support thread]
    By creamcrackers in forum General Questions
    Replies: 2
    Last Post: 16 Aug 2009, 03:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg