Announcement

Collapse
No announcement yet.

Issue changing page url

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issue changing page url

    I had to change two of my pages URL to allow a better UI and help with finding information. The first one, I had not problems. However in attempting to switch the home page in the site builder by "editing" the page from /home to simply / I encountered an error An unexpected error was returned: '%1$s'

    Any ideas why? Is there a way I can change the URL pr site destination in admincp? Currently my site has no associate home page now.


  • #2
    Did you change the home tab previously? A default install has it as blank. Save it as blank instead of a /.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment


    • #3
      Yes I tried that as well and keep getting the same error message. I have editing the home page a few times trying to figure out which on would be the best for conversion. I even tried to recreate the page by making a new one but now that wont work and I cannot seem to locate the URL of the page I was editing anymore. It is supposed to be my home page but now it doesnt exist. I have tried to locate it through the sitemap but also nothing.... I really need to get this back up.

      Any ideas?

      Comment


      • #4
        The custom page you created will be listed on the Page Map if you don't have navigation to it.

        For the Home page I suggest resetting it to /home. There is a bugfix in an upcoming version that allows you to actually change the homepage easier.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment


        • #5
          I cant do that because I cannot locate the page. And when I go to the site map and click on it it goes to a different page. The page I am trying to edit is loanforum.org/home which doesnt exist apparently. There is also a loanforum.org/Home but this is not the same page. I was always under the impression that website addresses and URL's are NOT case sensitive. However there are several pages where that seems to prove untrue. I tried to change this page to the home page layout and configuration but it again would not let me change it because the page location already exists. Why is there no overwrite feature?

          Is seems the best option is deleting the pages altogether and starting fresh. How do I do that so that I can recreate the pages?

          Comment


          • #6
            Website URLS are Case Sensitive. Domains are not Case Sensitive. Everything after the / is though. Depending on the page, it make things more difficult if you delete them.

            http://www.loanforum.org/Home - Invalid Route
            http://www.loanforum.org/home - Redirects to http://www.loanforum.org/mortgagesearch

            You can try and find the /home route in your routenew table and delete it. Not sure what you're trying to put on that page since your forum table is the default home page that ships with the software.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment


            • #7
              Where can I find the routenew table?

              Comment


              • #8
                It's in your database...you can access this via a tool such as phpMyadmin.

                However to be honest if you've never played directly in a database before...then don't! You can easily break everything.
                MARK.B
                vBulletin Support

                Comment


                • #9
                  I have not and am quite disappointed it is not easier to delete a page or update/change an existing page. I do appreciate both of your help, but as a suggestion that would be an awesome update to the software.

                  Comment


                  • #10
                    Deleting a custom page is in the tracker. VBV-4627
                    MARK.B
                    vBulletin Support

                    Comment


                    • #11
                      Is there a way I can change the landing page default in admincp when someone types in my URL rather than doing it through my host? For example: when someone types loanforum.org it will load and take them to http://www.loanforum.org/homepage

                      Comment


                      • #12
                        You would need a redirect from root to /forum at this stage.

                        You can adapt the redirect info I posted in my blog here:


                        That blog actually shows how to create a custom home page and have the root redirect to it.
                        MARK.B
                        vBulletin Support

                        Comment


                        • #13
                          Thanks Mark! That was helpful. However my site htaccess file was altered already because of a php issue. I tried your instructions and used that code and it took my site down with a quickness. So I reapplied the old code and am back up. Here is what my current .htaccess file looks like;

                          # Use PHP5.3 as default
                          AddHandler application/x-httpd-php53 .php
                          <IfModule mod_rewrite.c>
                          RewriteEngine On

                          # Redirect old install path to core.
                          RewriteRule ^install/ core/install/ [NC,L]

                          # Main Redirect
                          RewriteCond %{REQUEST_FILENAME} !-f
                          RewriteCond %{REQUEST_FILENAME} !-d
                          RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]

                          # Because admincp is an actual directory.
                          RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]

                          </IfModule>

                          With your example where would I include the new code?
                          The one below is what I used that took down my site..... :/ I want to redirect to loanforum.org/homepage


                          # Use PHP5.3 as default
                          AddHandler application/x-httpd-php53 .php
                          <IfModule mod_rewrite.c>
                          RewriteEngine On

                          # Redirect old install path to core.
                          RewriteRule ^install/ core/install/ [NC,L]

                          # Main Redirect
                          RewriteCond %{HTTP_HOST} ^loanforum\.org$
                          RewriteRule (.*) http://www.loanforum.org/$1 [R=301,L]
                          RewriteRule ^$ /homepage [L]
                          # Because admincp is an actual directory.
                          RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]

                          </IfModule>

                          Comment


                          • #14
                            ^
                            |
                            |

                            Comment


                            • #15
                              Any ideas on the above Mark?

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X