How to remove /content.php from CMS Homepage URL?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ZoDesigns.com
    Senior Member
    • Nov 2005
    • 272
    • 3.5.x

    [CMS] How to remove /content.php from CMS Homepage URL?

    How do I get my home page URL to appear without the "/content.php" in the URL as it seems to default to?
  • Rose123
    Senior Member
    • Dec 2008
    • 238
    • 3.7.x

    #2
    Even I am intrested in this. Please reply or point to post where this question is answered

    Comment

    • stwan
      New Member
      • Feb 2009
      • 22

      #3
      Please answer this question!

      My portal is available in two locations:
      mysite.com / content.php
      mysite.com / index.php

      This is bad for SEO!

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        Set up your server so that anyone coming to your site goes to content.php instead of index.php and then remove the index.php file. This is a server issue though, not a vbulletin one, so you may need to talk to your host about this.

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools <- awesome site for html/css help

        Comment

        • stwan
          New Member
          • Feb 2009
          • 22

          #5
          Lynne, this topic is about how to remove content.php, and not index.php! I want my site was at the root / and without / content.php

          mysite.com
          mysite.com/section
          mysite.com/article-title
          etc.

          How to do this?

          Comment

          • stwan
            New Member
            • Feb 2009
            • 22

            #6
            up!

            Comment

            • JacobSuth
              New Member
              • Feb 2011
              • 24
              • 4.1.x

              #7
              Just rename content.php to index.php?

              Comment

              • RS_Jelle
                Senior Member
                • Jul 2005
                • 594

                #8
                AdminCP -> Settings -> Content Management -> Point CMS default to index.php -> Yes
                Minatica.be - Belgian/Dutch computer and technology site
                DownloadsII - Add a downloads database to your vB 4

                Comment

                • stwan
                  New Member
                  • Feb 2009
                  • 22

                  #9
                  Originally posted by JacobSuth
                  Just rename content.php to index.php?
                  Then you can not view the article!

                  Originally posted by RS_Jelle
                  AdminCP -> Settings -> Content Management -> Point CMS default to index.php -> Yes
                  This is done!

                  ===

                  The structure of my site:

                  /
                  /forum
                  content.php
                  editor.php
                  index.php
                  list.php
                  vb_dir.php // Full path to the forum
                  widget.php

                  CMS: mysite.com/index.php and mysite.com/content.php
                  Forum: mysite.com/forum/index.php
                  Last edited by stwan; Sat 12 Mar '11, 11:25am.

                  Comment

                  • stwan
                    New Member
                    • Feb 2009
                    • 22

                    #10
                    UP!

                    Comment

                    • stwan
                      New Member
                      • Feb 2009
                      • 22

                      #11
                      UP!!

                      Comment

                      • Trevor Hannant
                        vBulletin Support
                        • Aug 2002
                        • 24358
                        • 5.7.X

                        #12
                        You'll need to use URL rewrites if you don't want to see a particular filename
                        Vote for:

                        - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                        - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                        Comment

                        • Rose123
                          Senior Member
                          • Dec 2008
                          • 238
                          • 3.7.x

                          #13
                          Worked for me thanks

                          Comment

                          • DrewryMedia
                            Senior Member
                            • Oct 2010
                            • 164

                            #14
                            mine is still pointing to content.php after making the directed changes. what should i do next?
                            DNN l Drewry l DNN on YouTube l DNN Web Links Library l Twitter

                            Comment

                            • benative
                              Senior Member
                              • Oct 2009
                              • 280

                              #15
                              Remove "content.php" in the Site Tab URL field @ admincp=>settings=>options=>content management...

                              Comment

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