We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15296
    • 4 Posts
    Not sure if anyone has come accross this one..
    I have enabled Furls on my site. It works..but the only thing is that it doesn’t load the proper content for the page.

    I’ll take you though it in case this sounds confusing.

    My site is FlagsCalgary.com

    e.g. If you click on any of the page links like: Banners Signs, Windsocks, you will notice that the urls change but the content on the page doesn’t.

    If i turn off FURLS, then everything works fine.

    Anyone?
      • 18367
      • 834 Posts
      Kalonjee,

      will probably need more info like your htaccess code, and a screen shot of your friendly URL site configuration page.
        Content Creator and Copywriter
        • 9162
        • 39 Posts
        Hi guys,

        I’ve switched on FURL’s on my site, following instructions on the wiki. But now any link I click on just goes to my home page. The links change, i.e. I changed it so it looks like /index.php?page=<alias>.html

        But I’m not sure if I still need to do stuff to the .htaccess file.

        My site is in the web root, and I’m running on linux with modx 0.9.6.1p2

        Any help would be greatly appreciated.

          • 22303 MODX Staff
          • 10,725 Posts
          Quote from: ettiene at Jun 12, 2008, 11:47 AM

          I’ve switched on FURL’s on my site, following instructions on the wiki. But now any link I click on just goes to my home page. The links change, i.e. I changed it so it looks like /index.php?page=<alias>.html

          But I’m not sure if I still need to do stuff to the .htaccess file.
          Do not use the prefix index.php?page=; that information is from the author of that wiki content and only applies if you do not have mod_rewrite/.htaccess capabilities (not even sure that method works at all anymore in fact).
            • 9162
            • 39 Posts
            Thanks. That’s good to know. So I’ve removed that prefix, left the suffix as .html, and now I get url’s based on the alias, i.e. domain.com/<alias>.html . But I get a 404 error page now.

            So I guess I’m still doing something wrong...

              • 20207
              • 22 Posts
              FURLS is working perfectly. I want to add my site to Google news. The include a site in Google news a url must have at least 3 numbers in the url.

              Is there a way to add the docid to FURL like:
              /news/article?g=docid
                • 6744
                • 5 Posts
                Forgive me if this question has been asked elsewhere. But I couldn’t find it in this thread or anywhere else.

                The pages on my site all use the convention: mydomain.com/alias_of_this_page

                I am using FURLs with all lower case aliases. Everything works as I’m intending except when visitors type alias_of_this_page with one or more upper case letters. I have the NC option on the rewriterule, but that does not force ALIAS_of_this_page to alias_of_this_page. It just ignores the case and passes through whatever the visitor typed. When that string gets passed through with upper case letters, Modx doesn’t locate the page and sends the visitor to the default page.

                Any help on how to force all the characters to lower so that the matching alias can be found? I tried a method using the int:tolower function but I get nothing but 500 errors anytime I try to include that in my .htaccess file.

                Here is my .htaccess file as it currently exists.

                #Options +FollowSymlinks
                RewriteEngine On
                RewriteBase /
                
                # Rewrite www.domain.com -> domain.com -- used with SEO Strict URLs plugin
                RewriteCond %{HTTP_HOST} .
                RewriteCond %{HTTP_HOST} !^mydomain\.com [NC]
                RewriteRule (.*) http://mydomain.com/$1 [R=301,L,NC]
                
                # The Friendly URLs part
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteCond %{REQUEST_FILENAME} !-d
                RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA,NC]
                


                Thanks in advance!!
                  • 12684
                  • 118 Posts
                  Having troubles here.

                  I own the webserver.

                  Loaded Modules mod_rewrite

                  I am getting a 404 Page not found.

                  Error log:
                  [Tue Jul 01 15:24:17 2008] [error] [client **.**.**.**] File does not exist: /home/****/public_html/login.htm, referer: http://www.****.com/

                  Settings:
                  Use Friendly URLS = yes
                  Use Friendly Aliases = yes
                  Use friendly alias path = yes

                    • 6744
                    • 5 Posts
                    Can anyone help with my issue posted below? I’m getting ready to bring my site live and this is the one major technical difficulty remaining.
                    Thanks!

                    Quote from: davidyy at Jun 29, 2008, 08:53 PM

                    Forgive me if this question has been asked elsewhere. But I couldn’t find it in this thread or anywhere else.

                    The pages on my site all use the convention: mydomain.com/alias_of_this_page

                    I am using FURLs with all lower case aliases. Everything works as I’m intending except when visitors type alias_of_this_page with one or more upper case letters. I have the NC option on the rewriterule, but that does not force ALIAS_of_this_page to alias_of_this_page. It just ignores the case and passes through whatever the visitor typed. When that string gets passed through with upper case letters, Modx doesn’t locate the page and sends the visitor to the default page.

                    Any help on how to force all the characters to lower so that the matching alias can be found? I tried a method using the int:tolower function but I get nothing but 500 errors anytime I try to include that in my .htaccess file.

                    Here is my .htaccess file as it currently exists.

                    #Options +FollowSymlinks
                    RewriteEngine On
                    RewriteBase /
                    
                    # Rewrite www.domain.com -> domain.com -- used with SEO Strict URLs plugin
                    RewriteCond %{HTTP_HOST} .
                    RewriteCond %{HTTP_HOST} !^mydomain\.com [NC]
                    RewriteRule (.*) http://mydomain.com/$1 [R=301,L,NC]
                    
                    # The Friendly URLs part
                    RewriteCond %{REQUEST_FILENAME} !-f
                    RewriteCond %{REQUEST_FILENAME} !-d
                    RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA,NC]
                    


                    Thanks in advance!!
                      • 18367
                      • 834 Posts
                      David,

                      not particularly on this problem, but you should use hyphens instead of underscores.

                      I’ve just been researching on the net and it seems the vote is in that hyphens are more seo friendly than underscores.

                      I’m rebuilding a site that has underscores and am trying to use rewrites to convert them to hyphens. (No luck so far.)

                      See my post in the Navigation section on hypens and 301 reditrects.

                      http://modxcms.com/forums/index.php/topic,27324.0.html

                      I did find this quote that went"
                      .htaccess rewriting is voodoo, Damn cool voodoo, but voodoo nonetheless.

                      Some links that may be of help

                      http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
                      http://www.askapache.com/htaccess/rewrite-underscores-to-hyphens-for-seo-url
                      http://www.htaccesselite.com/creating-seo-friendly-url-redirector-vt53.html

                      http://www.mattcutts.com/blog/dashes-vs-underscores/

                      There’s lots of good reading in these links, which will keep you busy for awhile. You’ll probably find your answer on one of these sites. You can even repost your question on a few of them.






                        Content Creator and Copywriter

                      This discussion is closed to further replies. Keep calm and carry on.