1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 How to use "new post" page as home page?

Discussion in 'XenForo Questions and Support' started by rafass, Jan 10, 2015.

  1. rafass

    rafass Well-Known Member

    I would like to use "new post " page as home page. https://mysite/find-new/posts

    This is my .htaccess:
    #    Mod_security can interfere with uploading of content such as attachments. If you
    #    cannot attach files, remove the "#" from the lines below.
    #<IfModule mod_security.c>
    #    SecFilterEngine Off
    #    SecFilterScanPOST Off
    ErrorDocument 401 default
    ErrorDocument 403 default
    ErrorDocument 404 default
    ErrorDocument 500 default
    <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteCond %{SERVER_PORT} 80
        RewriteRule ^(.*)$ https://mysite.com/$1 [R,L]
        #    If you are having problems with the rewrite rules, remove the "#" from the
        #    line that begins "RewriteBase" below. You will also have to change the path
        #    of the rewrite to reflect the path to your XenForo installation.
        #RewriteBase /xenforo
        #    This line may be needed to enable WebDAV editing with PHP as a CGI.
        #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
        RewriteCond %{REQUEST_FILENAME} -f [OR]
        RewriteCond %{REQUEST_FILENAME} -l [OR]
        RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule ^.*$ - [NC,L]
        RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
        RewriteRule ^.*$ index.php [NC,L]

    I now that there in the ACP -> General -> Basic Board Information/ have some option to make it. but In my case doesn't work.

    I will really appreciate some help to do this.

    Thank you.
    Last edited: Jan 10, 2015
  2. Mike

    Mike XenForo Developer Staff Member

    You would set the index page route option to "find-new/posts".
  3. rafass

    rafass Well-Known Member

    Solved. thanks mike!
  4. rafass

    rafass Well-Known Member

    Hello @Mike, Easy question:
    There are some way to remove /find-new/xxx/posts
    Screen shot 2015-09-09 at 6.03.39 PM.png
    in the url when you configure this page as homepage?
  5. Mr Lucky

    Mr Lucky Well-Known Member

    I think it would be quite crucial for SEO.
  6. Mike

    Mike XenForo Developer Staff Member

    No, this is fundamental to how the page functions.

    Regarding SEO, the find new pages are noindex'd.
    rafass likes this.
  7. Mr Lucky

    Mr Lucky Well-Known Member

    What I mean is that if your home page was the list of new/recent posts, you would want it to be indexed and you would want the url to be



    or whatever

Share This Page