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

Hybrid View

  1. #1
    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 new2u View Post
    Is there a way to change the home link on the site to direct to / rather than /index.php?main_page=index .... ? I am using the ceon uri remap,
    By default if your site uses

    define('DIR_WS_CATALOG', '/');

    in your configure.php file then your homepage should just be /

    If that isn't happening for you then you should check your htaccess file and your configure.php settings. You should also check if you have any hard-coded index.php?main_page=index links on your site.

    I'm afraid that's as much help as I can be as anything else is probably a problem with your server/site setup which would need someone to take a look at manually. Good luck with this.

    All the best...

    Conor
    ceon

  2. #2
    Join Date
    Aug 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    Hi everyone,
    Just an FYI for an issue I had:
    My installation is at my root level, so I used the first .htaccess code example from the documentation.

    The rewrite statement at the end is:
    RewriteRule (.*) index.php?%{QUERY_STRING} [L]

    For my installation, I had to add the ^ symbol before the (.*) in order for it to not throw 404 (page-not-found) errors.

    ie: RewriteRule ^(.*) index.php?%{QUERY_STRING} [L]

    I don't know if this is just because of the particular server I'm on (hosted with Steadfast Networks) or if it's possibly a typo.

    Anyhoo, that's what worked for me. Hopefully it may save someone else from pulling their hair out.

  3. #3
    Join Date
    Sep 2009
    Posts
    186
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    Quote Originally Posted by conor View Post
    Hi,



    By default if your site uses

    define('DIR_WS_CATALOG', '/');

    in your configure.php file then your homepage should just be /

    If that isn't happening for you then you should check your htaccess file and your configure.php settings. You should also check if you have any hard-coded index.php?main_page=index links on your site.

    I'm afraid that's as much help as I can be as anything else is probably a problem with your server/site setup which would need someone to take a look at manually. Good luck with this.

    All the best...

    Conor
    ceon

    Configure.php is set to use / here is a copy of my htaccess file... I don't think anything is missing. If you have a min to give it a quick glance that would be great

    Code:
    RewriteEngine on
    # redirects any URL that includes: record_company.php/password_forgotten.php
    RedirectMatch Permanent ^/(.*[record_company.php]+)/(password_forgotten.php)$ /page_not_found.php
    # redirects any URL that includes: /images/wp- with 'wp-' being anything that ends with '.php'
    # this allows for images named such as 'wp-header.jpg' to work
    RedirectMatch Permanent ^/(.*[images]+)/(wp-.*\.php)$ /page_not_found.php
    # 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} !^/admin.* [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors.* [NC]
    # Don't rewrite cPanel directories
    RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
    RewriteCond %{REQUEST_URI} !/frontend.* [NC]
    # Don't rewrite blog directory
    RewriteCond %{REQUEST_URI} !^/blog.* [NC]
    RewriteCond %{REQUEST_URI} ^blog.* [NC]
    # Handle all other URIs using Zen Cart (index.php)
    RewriteRule (.*) index.php?%{QUERY_STRING} [L]

  4. #4
    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 new2u View Post
    Configure.php is set to use / here is a copy of my htaccess file... I don't think anything is missing. If you have a min to give it a quick glance that would be great
    That all looks okay. Which means it's probably something custom on your server I'm afraid.

    You should be able to manually trace this by randomly outputting the contents of the server variables (using var_dump) and seeing where the index.php?main_page is being brought in. (Could be some mod changing the environment somehow, could be your webserver, I'm not sure).

    Sorry I can't be of more help than that, but that's what I'd have to do in your situation to find out why that is happening and fix this behaviour.. on our server it sticks with / all the time (as it should do).

    All the best..

    Conor
    ceon

  5. #5
    Join Date
    May 2008
    Posts
    261
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    hello, Conor,

    May i ask you another question about rewrite?

    By adding table through phpMyadmin, is it possible to rewrite
    link
    www.example.com/category-one?&sort=20a&page=2
    to
    www.example.com/category-one-page-2

    i tried to add table by phpMyadmin, but failed.
    settings are as follows:

    main page: index
    query_string_parameters: cPath=3&sort=20s&page=2

    thanks for your comments.

  6. #6
    Join Date
    Sep 2009
    Posts
    186
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    Quote Originally Posted by conor View Post
    Hi,



    That all looks okay. Which means it's probably something custom on your server I'm afraid.

    You should be able to manually trace this by randomly outputting the contents of the server variables (using var_dump) and seeing where the index.php?main_page is being brought in. (Could be some mod changing the environment somehow, could be your webserver, I'm not sure).

    Sorry I can't be of more help than that, but that's what I'd have to do in your situation to find out why that is happening and fix this behaviour.. on our server it sticks with / all the time (as it should do).

    All the best..

    Conor
    ceon
    Thanks for looking. I'll do the dump. It funny cus the template references DIR_WS_CATALOG which is configured to / in my config file.. crazy...

  7. #7
    Join Date
    Apr 2009
    Posts
    40
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    So am I right in thinking that old pages that are linked from external sites will still be handled by the module so that they resolve to correct page???
    and
    that canonical links will be added to the site once this is installed?

    Simonbbc

  8. #8
    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 simonbbc View Post
    So am I right in thinking that old pages that are linked from external sites will still be handled by the module so that they resolve to correct page???
    If they have a "current URI" defined, then yes, the module will automatically redirect to the new URI, with the correct "permanent" redirection header. With links from search engines this should eventually result in the old URIs eventually stop being used, having been replaced with the new URIs.

    Quote Originally Posted by simonbbc View Post
    that canonical links will be added to the site once this is installed?
    That's up to how you structure things, but yes, as standard if you generate URIs for each category/subcategory/product then they'll be arranged in a hierarchy. For existing sites you'll have to update each category/product in the admin but that doesn't take long really. For new sites no work needs to be done at all for products/categories, the URIs are added as you add categories/products. You can read more in the docs, hope that helps for now.

    For EZ-Pages you can enter whatever URIs you want, which allows you to struibute them into sections/subsections if desired.

    BTW What's the BBC bit in the nick about?

    All the best..

    Conor
    ceon

  9. #9
    Join Date
    Apr 2009
    Posts
    40
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    lol it's an old name from when you could only input three characters on the Arcade games... Stood for Bmx British Champion

    but now means Simon's Best British Classics....

    So if I go and install this into my www.simonbbc.com site I guess I will have a fair bit of work to do as I have a bunch of links from external sites and don't want them to be 404 when I install your module...

    the only reason I am looking to move away from Sitemap XML is because I am getting duplicate headers and site crawl errors etc... in google webmaster console

  10. #10
    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 new2u View Post
    Thanks for looking. I'll do the dump. It funny cus the template references DIR_WS_CATALOG which is configured to / in my config file.. crazy...
    That eliminates that as a source of the problem.

    YOu probably have hardlinks somewhere which reference index.php?main_page=index and google is picking up on them.

    You also might simply have old google etc. links linking to index.php?main_page=index and it'll take time for them to disappear and to have only the / link represent the home page.

    I'm afraid there's simply a few ways this could happen and they're all site specific, not natural behaviour caused by the module itself so I can only wish you luck in sorting this out.

    It's not a massive deal though I must say, but I'm a bit of a perfectionist too and I personally can understand why a wee niggle like this would be something you'd want to get off the back of your mind! :) (Plus it may well be better to not have a duplicate link). Anyway... :)

    All the best...

    Conor
    ceon

 

 
Page 1 of 2 12 LastLast

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

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