We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32025
    • 305 Posts
    I migrated a test site from another server to Network solutions. Everything seems to be fine except SEO URLs.

    Before migrations I backed up the database and downloaded files but noticed I had SEO URL's turned on in the old installation. So shut them off, cleared cache and flushed permisssion the re-downloaded again. But when I re-installed on new server and logged in, my SEO URL's were turned on (instead of off). Don't know how this happened after I spent lots of time re-downloading but not a big deal.

    The new server is Network Solutions and my site shows just fine. Except if you click any of my SEO links that I have in my nav via wayfinder, they go to a page does not exist.

    In my template I have this:
    <base href="[[++site_url]]" >


    I think the problem is my .htaccess in that I have read in a couple of places the Network Solutions uses a different format. Here is what I had:
    # seo rewrite rules.
    
    RewriteEngine On
    RewriteBase /
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]


    But according to a post from Sottwell: http://forums.modx.com/thread/73148/friendly-urls it looks like Network Solutions might have a slightly different format. So I tried the / in front of my index:
    # seo rewrite rules.
    
    RewriteEngine On
    RewriteBase /
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ [b]/[/b]index.php?q=$1 [L,QSA]


    It still does not work. Any suggestions?

    This question has been answered by wbbuilder. See the first response.

      Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
      • 32025
      • 305 Posts
      Oh when I called Network Solutions tech support could barely speak English and after asking a supervisor told me it wasn't a good idea to use SEO friendly URLs on their servers. I knew then he didn't know what he was talking about. So they seem to be of little help.
        Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
        • 32025
        • 305 Posts
        I found this informative article about Wordpress: https://wordpress.org/support/topic/fyi-permalinks-issue-solved-at-network-solutions but don't know how to apply it to MODx to see if it will work.
          Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
          • 32025
          • 305 Posts
          Tried all these combinations:
          RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
          RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
          RewriteRule ^/(.*)$ index.php?q=$1 [L,QSA]
          RewriteRule ^/(.*)$ /index.php?q=$1 [L,QSA]


          Does anyone have mod rewrite working on Network solutions?
            Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
            • 32025
            • 305 Posts
            If anyone is using this properly on Network Solutions please post here to let us know so it will help others. As for me I just advised my client to jump ship to my server (which I wanted to begin with).

            Just my opinion, but I have had problems with Network Solutions here and there for over 10 years. Always seems to be something with them. COME ON.. no rewrite rules? They just suck. I normally don't badmouth publicly, just basing this upon my own experiences and the multiple difficulties I have had with their policies over the years.
              Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
              • 38783
              • 571 Posts
              I came across this. Network Solutions says modrewrite is enabled by default. But it does make me wonder if you should check to see if a php.ini file is required to enable it on your account, or if there is already one in place that has disabled it?

              http://forums.networksolutions.com/general-nshosting-questions-feedback-f44-unable-to-use-htaccess-for-mod-rewrite-t5055.html

              Did you clear the cache via the manager? this often does not clear it completely. It might be worth clearing the cache files manually via FTP
                If I help you out on these forums I would be very grateful if you would consider rating me on Trustpilot: https://uk.trustpilot.com/review/andytough.com

                email: [email protected] | website: https://andytough.com
                • 32025
                • 305 Posts
                Hi Andy. Yes I also read that article but the posts are from 2009. I do have an awful hard time believing they would not allow people to have SEO URLs. But when you call support and they tell you no and you read other articles that say the same thing you wonder.

                I was constantly clearing cache via the manager. A few times I manually removed it from the cache folder.

                In the end I spent all last night and early this morning today trying to figure out this solution, it's not worth it anymore to try and work this out. If NS had their stuff together and had this in documentation it wouldn't have been a problem. In the end I advised my client to move on from Network Solutions.
                  Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
                • modrewrite is an Apache web server module, it has nothing to do with PHP.

                  I did see something about uncommenting the RewriteBase / line in the .htaccess file
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 32025
                    • 305 Posts
                    Asked support when I called if their servers were running Apache and they said, "Apache is available" I asked again and got the same response. Then I did a search and found documentation from NS referring to Apache in multiple places. So it seems as if they are running Apache. But not sure if the shared server I was on was running it. Their control panel has limit info.
                      Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
                    • Create a PHP file, info.php, with this content:
                      <?PHP
                      phpinfo();
                      


                      Put that in your web root and run it from the browser. It will tell you what the server is. These are from three different sites I manage, one localhost.



                        Studying MODX in the desert - http://sottwell.com
                        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                        Join the Slack Community - http://modx.org