Thread: URL issue

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30
  1. #11
    Join Date
    Dec 2010
    Posts
    66
    Plugin Contributions
    0

    Default Re: URL issue

    Quote Originally Posted by kobra View Post
    What is the contents of the root htaccess



    No if you haven't messed with it leave it alone

    I havent touched it and wont then.

    and all the .htaccess is is this:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www.martinpollardart.co.uk$
    RewriteRule ^(.*)$ http://www.martinpollardart.co.uk/$1 [R=301]

    Uploaded to public_html where all the base files and folders are sat in, so the root directory

  2. #12
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: URL issue

    Did you add the www to both the configure.php files??

  3. #13
    Join Date
    Dec 2010
    Posts
    66
    Plugin Contributions
    0

    Default Re: URL issue

    Quote Originally Posted by kobra View Post
    What is the contents of the root htaccess



    No if you haven't messed with it leave it alone
    Quote Originally Posted by kobra View Post
    Did you add the www to both the configure.php files??
    yep the one in

    includes/configure.php
    admin/includes/configure.php

  4. #14
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: URL issue

    yep the one in

    includes/configure.php
    admin/includes/configure.php
    Check the actual file on the server that it actually contains the edits for both

  5. #15
    Join Date
    Dec 2010
    Posts
    66
    Plugin Contributions
    0

    Default Re: URL issue

    Quote Originally Posted by kobra View Post
    Check the actual file on the server that it actually contains the edits for both
    i am doing now, just crossed my mind.

    Looks like ite reverting back or not doing it.

  6. #16
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: URL issue

    Looks like ite reverting back or not doing it.
    Use your hosts filemanager to change permissions from most likely 444 to 644
    Upload them and change permissions back to 444

  7. #17
    Join Date
    Dec 2010
    Posts
    66
    Plugin Contributions
    0

    Default Re: URL issue

    Quote Originally Posted by kobra View Post
    Use your hosts filemanager to change permissions from most likely 444 to 644
    Upload them and change permissions back to 444
    Managed to get them on, still doing it

    Any other ideas, maybe a setting thats wrong in my admin section?

  8. #18
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: URL issue

    Are you working on
    http: //martinpollardart.co.uk/

    If so, then your frontend configure.php is not set to www

  9. #19
    Join Date
    Dec 2010
    Posts
    66
    Plugin Contributions
    0

    Default Re: URL issue

    Quote Originally Posted by kobra View Post
    Are you working on
    http: //martinpollardart.co.uk/

    If so, then your frontend configure.php is not set to www
    I am yes, its for my uncle.

    And ive just had to swap them all back so i can log into the back office admin area, as even if i leave them with the www. in the configures, and DONT have the .htaccess file in the root directory it still wont let me login

  10. #20
    Join Date
    Dec 2010
    Posts
    66
    Plugin Contributions
    0

    Default Re: URL issue

    Do i not need to change anything out of this ? Aside from the top two lines. (admin/includes/configure.php file)

    */
    define('HTTP_SERVER', 'http://martinpollardart.co.uk');
    define('HTTPS_SERVER', 'https://martinpollardart.co.uk');
    define('HTTP_CATALOG_SERVER', 'http://martinpollardart.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://martinpollardart.co.uk');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', 'false');
    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)

    define('DIR_WS_ADMIN', '/ADMIN FOLDER/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/ADMIN FOLDER/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN', '/home/sites/martinpollardart.co.uk/public_html/ADMIN FOLDER/');
    define('DIR_FS_CATALOG', '/home/sites/martinpollardart.co.uk/public_html/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', '*****');
    define('DB_SERVER_USERNAME', '*****');
    define('DB_SERVER_PASSWORD', '*****');
    define('DB_DATABASE', 'web45-martin77');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/home/sites/martinpollardart.co.uk/public_html/cache');

    // EOF

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Ceon url mapping url issue
    By Indiasupplement in forum General Questions
    Replies: 1
    Last Post: 22 Sep 2013, 01:23 AM
  2. URL issue
    By gmartakis in forum General Questions
    Replies: 1
    Last Post: 27 Feb 2013, 03:25 PM
  3. 2 page URL in category issue with Simple SEO URL Manager
    By msladybug02 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Nov 2010, 10:33 PM
  4. Troubleshooting url issue after adding URL alias in hosting account
    By sjbmaine in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 4 Feb 2009, 08:51 PM
  5. website url issue
    By lucianman in forum General Questions
    Replies: 6
    Last Post: 27 Jul 2006, 07:16 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