Skip to:
Content
Pages
Categories
Search
Top
Bottom

SEO issues

  • @dxlwebs

    Participant

    Hi there i have been trying to get my site W3C validated and needless to say there is always something thats wrong lol, while i have been fixing a lot of other plugin issues i have come across a few in bbpress and buddypress:

    Groups cause:

    Line 323, Column 55: Bad value for attribute action on element form: Must be non-empty.
    <form action=”” method=”get” id=”search-groups-form”>
    Syntax of URL:
    Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.
    Error Line 328, Column 75: Bad value for attribute action on element form: Must be non-empty.
    <form action=”” method=”post” id=”groups-directory-form” class=”dir-form”>
    Syntax of URL:
    Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.

    activities:

    Line 1339, Column 332: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.
    …mmunity.org/wp-content/plugins/wp-o-matic/cache/4e960ed179_jCDJ7WbHP0A.” /></p>

    Error Line 1380, Column 81: Bad value for attribute action on element form: Must be non-empty.
    …form action=”” name=”activity-loop-form” id=”activity-loop-form” method=”post”>
    Syntax of URL:
    Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.

    Now i know and understand that the WP-O-Matic one is

      not

    Buddypress but im having issues finding its point of origin is it from buddypress or is WP-o-matic adding it there.

    but the other issues should be attended too i know they are silly little things but SEO is extremely important and something like this wouldnt take very long to resolve for instance adding # to the forms that dont get redirected to another location.

    like i said i know its not a priority but if you had time i’d be extremely grateful.

    Kind Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • @henrywright

    Moderator

    The W3C validator is saying you can’t have an empty form action attribute. So instead of:

    <form action=""

    you will need to provide a value like this:

    <form action="some-script.php"

    You could open a ticket on Trac or alternatively you could solve the problem by providing a value yourself. Check out the BuddyPress Template Hierarchy article for details on how to override templates.

    @dxlwebs

    Participant

    i edited the source code my self and added <form action="#" which should sort the problem but by doing that everytime there is an update i will need to redo it myself

    thnx for the link ill look into it

    @henrywright

    Moderator

    i edited the source code my self and added <form action=”#” which should sort the problem but by doing that everytime there is an update i will need to redo it myself

    Yeah, that’s not recommended because, as you say, you will need to redo after each BuddyPress update.

    @dxlwebs

    Participant

    yeah exactly 😀 that’s why i put it in here as a when you have time sort of suggestion i know there are more important factors but would really like it sorted at some point 😀

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘SEO issues’ is closed to new replies.
Skip to toolbar