HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Embedded Forum Resulting In "404 Page Not Found"

2»

Comments

  • Options

    The current situation is google follows links in iframes, Bing and Yahoo don't, but you will have a sitemap anyway.

    It isn't perfect, but nothign is so you will weight up the pros an cons.

    grep is your friend.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited October 2014

    Ok , you need to fix the htaccess file because the forum is not in a subdirectory it is in a subdomain. That means it is in the root. And the htaccess should be / not /forum ...

    Here is the css to fix the size. Add this to the wordpress css file

    #content embed, #content iframe {
    width: 100%;
    min-height: 1200px;
    }
    

    You need to look at some css tutorials. Without css things can look badly . When ever you use iframe or embed you need to add the dimensions. Otherwise it uses the default size which is not the right size. This will cause scroll bars because the iframe is too small for the content.

    The width is always 100% so it is the size of the area you placed the iframe in. The height however needs to be in pixels. It can't be 100% if the space you are putting it has no size or is at 100% making whatever you add in there be small in height.

    Some themes are better than others for embedding because they are smaller versions of the theme and fit better in other places.

  • Options

    Hey guys... had to think about this for a while but in the end to fix this I changed the route of the Default404 in the dashboard to be the discussions page... not the most optimal solution but it works for now....

    Thanks again for all the help!

Sign In or Register to comment.