Page 128 of 291 FirstFirst ... 2878118126127128129130138178228 ... LastLast
Results 1,271 to 1,280 of 2907
  1. #1271
    Join Date
    Mar 2010
    Posts
    62
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    Do you think its okay to just leave it like that and access the admin page through

    admin/login.php ?

    Thanks for the help.

  2. #1272
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping (SEO)

    Hi,

    Quote Originally Posted by chal2les View Post
    Do you think its okay to just leave it like that and access the admin page through

    admin/login.php ?
    That sounds like a working alternative solution.. why not then? :)

    All the best..

    Conor
    ceon

  3. #1273
    Join Date
    Mar 2010
    Posts
    62
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    It seems like I figured it out.

    I used the below htaccess file.

    RewriteEngine On

    # ONLY rewrite URIs beginning with /store/
    RewriteCond %{REQUEST_URI} ^/store/.* [NC]
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
    RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/store/adminmy.* [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/store/editors.* [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/forums.* [NC]
    # Don't rewrite cPanel directories
    RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
    RewriteCond %{REQUEST_URI} !/frontend.* [NC]
    # Handle all other URIs using Zen Cart (index.php)
    RewriteRule (.*) /store/index.php?%{QUERY_STRING} [L]

    Thanks alot for this module. I will enjoy using it.
    Last edited by chal2les; 26 Mar 2010 at 07:34 PM.

  4. #1274
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping (SEO)

    Hi,

    Quote Originally Posted by chal2les View Post
    It seems like I figured it out.
    Ah, I see you mixed up your rewrite rules, using the one for the root folder when you should have been using the one for the store folder.

    Quote Originally Posted by chal2les View Post
    Thanks alot for this module. I will enjoy using it.
    Glad you like it! Thanks for letting us know what you'd done wrong.. I couldn't see what else to suggest based on what you'd posted and am glad it is all working now!

    All the best..

    Conor
    ceon

  5. #1275
    Join Date
    Mar 2010
    Posts
    62
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    Hi,

    I actually moved the htaccess to the root folder after it did not work and rewrote the htaccess file to have the store folder.

    It somehow resolved it but definately was not because of wrong location.

    Thanks for the help!

    Charles

  6. #1276
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping (SEO)

    Hi Charles,

    Quote Originally Posted by chal2les View Post
    It somehow resolved it but definately was not because of wrong location.
    It wasn't the location but the content of the .htaccess file that was the problem.. as your store was in a subdirectory, it needed to use the rule for a subdirectory, whereas you'd been using the rule for a store with no subdirectory. Once you used the right rule things started to work! :)

    Quote Originally Posted by chal2les View Post
    Thanks for the help!
    No problem!

    All the best...

    Conor
    ceon

  7. #1277
    Join Date
    Dec 2008
    Posts
    55
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    Hi ceon,

    I really like your mod. I had some issues with my site and had to modify the .htaccess files and now I can't get back into my admin. I have 2 .htaccess files. One in the root directory (to redirect to the store) and one in the store directory. Here they are:

    Root:

    Code:
    Options +FollowSymLinks
    RewriteEngine on
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !/zencart/admin.* [NC]
    RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
    RewriteCond %{REQUEST_URI} !/frontend.* [NC]
    RewriteRule ^(.*) http://www.games4gamersonline.com/zencart/$1 [R=301,L]
    Store:

    Code:
    # ONLY rewrite URIs beginning with /zencart/
    RewriteCond %{REQUEST_URI} ^/zencart/.* [NC]
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
    RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/zencart/admin.* [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/zencart/editors.* [NC]
    # Don't rewrite cPanel directories
    RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
    RewriteCond %{REQUEST_URI} !/frontend.* [NC]
    # Handle all other URIs using Zen Cart (index.php)
    RewriteRule (.*) index.php?%{QUERY_STRING} [L]
    What do I need to do to fix this? Admin keeps redirecting to the home page? Thanks for any help.

  8. #1278
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    In ALL of the RewriteCond patterns, remove the unwanted trailing .* part of the pattern where you are not capturing it in a backreference.

    Change the reference to 'admin' to reflect what your admin folder is actually called.

    Beware of paths that are localised when used with RewriteRule when the .htaccess is in a folder.
    Last edited by g1smd; 2 Apr 2010 at 11:15 PM.

  9. #1279
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Ceon URI Mapping (SEO)

    You have your store in a subdirectory and are using a redirect so that when folks hit your main domain they are redirected to the sub-directory??? Why do you have Zen Cart setup in this manner?? You could solve a LOT of your issues by moving Zen Cart into your site root and NOT use a sub directory at all..
    Quote Originally Posted by games4gamers View Post
    Hi ceon,

    I really like your mod. I had some issues with my site and had to modify the .htaccess files and now I can't get back into my admin. I have 2 .htaccess files. One in the root directory (to redirect to the store) and one in the store directory. Here they are:

    Root:

    Code:
    Options +FollowSymLinks
    RewriteEngine on
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !/zencart/admin.* [NC]
    RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
    RewriteCond %{REQUEST_URI} !/frontend.* [NC]
    RewriteRule ^(.*) http://www.games4gamersonline.com/zencart/$1 [R=301,L]
    Store:

    Code:
    # ONLY rewrite URIs beginning with /zencart/
    RewriteCond %{REQUEST_URI} ^/zencart/.* [NC]
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
    RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/zencart/admin.* [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/zencart/editors.* [NC]
    # Don't rewrite cPanel directories
    RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
    RewriteCond %{REQUEST_URI} !/frontend.* [NC]
    # Handle all other URIs using Zen Cart (index.php)
    RewriteRule (.*) index.php?%{QUERY_STRING} [L]
    What do I need to do to fix this? Admin keeps redirecting to the home page? Thanks for any help.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #1280
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    Hello,

    Will this module work for an addon domain? Im getting HTTP 404 Not Found when im using exactly the same .htaccess as the main domain.

    Thanks

 

 

Similar Threads

  1. 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
  2. Ceon uri mapping vs Simple SEO
    By crixus in forum General Questions
    Replies: 0
    Last Post: 28 Feb 2014, 04:41 AM
  3. v151 Ceon URI Mapping (SEO) Issues?
    By yisou in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 30 Jul 2013, 12:06 PM
  4. v151 Ceon URI Mapping (SEO) installation problem.
    By jmac2020 in forum General Questions
    Replies: 1
    Last Post: 23 Oct 2012, 01:06 PM
  5. Ceon URI Mapping (SEO) How to install?
    By jackfitz in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 28 Apr 2010, 12:09 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR